• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/cosy-nov11/go4/RPC/TRpcRec.cxx (r4864/r2196)

Go to the documentation of this file.
00001 #include "TRpcRec.h"
00002 
00003 TRpcRec::TRpcRec()
00004 {
00005       // Flags
00006    bFirstEpochBlock                = kTRUE;
00007    bStoredHitUnp                   = kFALSE;
00008   
00009    uEpochStart.clear();            // Vector, 1 per buff
00010    uCycleStart.clear();            // Vector, 1 per buff
00011                                 
00012    u_messageCountLastEpoch         = 0;
00013    
00014    // Histograms
00015    fVGetTimeCorrelation.clear();        // Time Correlation between two channels
00016    fVGetTotCorrelation.clear();         // Tot  Correlation between two channels
00017    fVCheckCorrelation.clear();          // Correlation between three channels
00018    fVCheckCorrelation4.clear();         // Correlation between three channels
00019  
00020    fGet4MessValidEpochs            = 0; // Nb of Messages in valid Epochs 
00021    
00022    for(Int_t iChan = 0; iChan < NB_CHAN_GET4; iChan++)
00023    {
00024       u_nbConsLE[iChan] = 0;
00025       u_nbConsTE[iChan] = 0;
00026       
00027       hitCurrent[iChan].Clear();
00028       hitLatest[iChan].Clear();
00029 
00030       hitCurrentBlock[iChan].Clear();
00031       hitLatestBlock[iChan].Clear();
00032       
00033       dInstantRateMean[iChan] = 0.0;
00034       uInstantRateCounter[iChan] = 0;
00035                
00036       fGet4FineTimeLE[iChan]       = 0; // Finetime of Leading Edge
00037       fGet4FineTimeTE[iChan]       = 0; // Finetime of Trailing Edge
00038       fGet4LeDnl[iChan]            = 0; // DNL value for each bin
00039       fGet4LeDnlSum[iChan]         = 0; // Integral of DNL value up to each bin
00040       fGet4TeDnl[iChan]            = 0; // DNL value for each bin
00041       fGet4TeDnlSum[iChan]         = 0; // Integral of DNL value up to each bin
00042       fGet4TOT[iChan]              = 0; // Time over threshold
00043 
00044       fGet4PulseSpacingClose[iChan]= 0; // Pulse spacing between current and last hit, ns range
00045       fGet4PulseSpacingMid[iChan]  = 0; // Pulse spacing between current and last hit, us range
00046       fGet4PulseSpacingFar[iChan]  = 0; // Pulse spacing between current and last hit, s range
00047       fGet4InstantRate[iChan]      = 0; // Instantaneous rate average over 8 or 10 hits
00048      
00049       fGet4RisEdgesNbEvol[iChan]   = 0; // Nb of rising  edges depending on cycle/chan
00050       fGet4FalEdgesNbEvol[iChan]   = 0; // Nb of falling edges depending on cycle/chan
00051       fGet4HitsNbEvolution[iChan]  = 0; // Nb of matched hits depending on cycle/chan
00052       
00053       fNbConsecutiveLE[iChan]      = 0; // Nb of consecutive Leading edges (should stay at 1 or max 2 when multi hits)
00054       fNbConsecutiveTE[iChan]      = 0; // Nb of consecutive Trailing edges (should stay at 1 or max 2 when multi hits)
00055    }
00056 }

Generated on Tue Dec 10 2013 04:52:19 for ROCsoft by  doxygen 1.7.1