1 #ifndef ALITPCCALIBRAW_H
2 #define ALITPCCALIBRAW_H
10 #include <TObjArray.h>
11 #include <THnSparse.h>
32 virtual Int_t
Update(
const Int_t isector,
const Int_t iRow,
const Int_t iPad,
33 const Int_t iTimeBin,
const Float_t signal);
74 virtual Long64_t
Merge(TCollection *
const list);
119 Bool_t
IsEdgePad(Int_t sector, Int_t row, Int_t pad)
const;
137 arr=
new TVectorF(100);
147 arr=
new TVectorF(100);
158 if ( pad == edge1 )
return kTRUE;
160 if ( pad == edge2 )
return kTRUE;
Int_t fLastSector
! current sector processed
TH2C * MakeHistL1RCUEvents(Int_t type=0)
UInt_t fNFailL1Phase
Number of failures in L1 phase.
TVectorF fArrCurrentPhaseDist
! Phase distribution of the current event
UInt_t GetNPads(UInt_t sector, UInt_t row) const
Int_t fPeakTimeBin
! time bin with local maximum
Int_t fCurrentPad
! current pad processed
Bool_t IsEdgePad(Int_t sector, Int_t row, Int_t pad) const
UInt_t fFirstTimeStamp
First event time stamp.
Int_t fPeakDetPlus
Consecutive timebins on falling edge to be regarded as a signal.
const TVectorF * GetALTROL1PhaseFailEventsRCU(Int_t rcu) const
virtual void ResetEvent()
void Merge(AliTPCCalibRaw *const sig)
TObjArray fArrALTROL1PhaseEvent
L1 phase for each RCU and event.
TVectorF fArrCurrentPhase
! Current phase of all RCUs
TGraph * MakeGraphOccupancy(const Int_t type=0, const Int_t xType=0)
Int_t fLastTimeBinProc
! last time bin processed
TVectorF fVSignalSumEvent
occupancy per event (sum of all adc values)
Int_t fCurrentRow
! current row processed
UInt_t GetNFailL1Phase() const
Base class for the calibration algorithms using raw data as input.
Int_t GetPeakDetectionPlus() const
Int_t fLastSignal
! last signal processed
const TVectorF * GetFiredPadsSensitive() const
Int_t fNanoSec
! current nano seconds stamp
TH2C * MakeHistL1RCUEventsIROC(Int_t type=0)
const TVectorF * GetALTROL1PhaseEventsRCU(Int_t rcu) const
UInt_t fNSecTime
Number of seconds per bin in time.
const TVectorF * GetALTROL1PhaseEvents() const
const THnSparseI * GetHnDrift() const
const TVectorF * GetOccupancyEvent() const
AliTPCROC * fROC
! ROC information
Int_t fCurrentSector
! current sector processed
const TVectorF * GetEventTimeStamps() const
TH1F * MakeHistL1PhaseDist()
AliTPCCalibRaw & operator=(const AliTPCCalibRaw &source)
UInt_t fNBinsTime
Number of bin in time.
UInt_t fNFailL1PhaseEvent
Number of events with L1 phase failures.
const TVectorF * GetSignalSumEventSensitive() const
const TVectorF * GetOccupancyEventSensitive() const
void SetRangePeakDetection(Int_t minus, Int_t plus)
UInt_t GetNFailL1PhaseEvents() const
Int_t fNOkPlus
! number of processed time bins fullfilling peak criteria
TVectorF * MakeArrL1PhaseRCU(Int_t rcu, Bool_t force=kFALSE)
TVectorF fVSignalSumSenEvent
occupancy per event (sum of all adc values) in sensitive regions
Int_t fCurrentChannel
! current channel processed
TVectorF * MakeVectL1PhaseDist()
TVectorF * MakeArrL1PhaseFailRCU(Int_t rcu, Bool_t force=kFALSE)
THnSparseI * fHnDrift
Histogram last time bin vs. ROC, Time.
virtual ~AliTPCCalibRaw()
UInt_t GetFirstTimeStamp() const
TVectorF fVTimeStampEvent
timestamp for all events
TH2C * MakeHistL1RCUEventsOROC(Int_t type=0)
Bool_t fPadProcessed
! if last pead has already been filled for the current pad
TVectorF fArrFailEventNumber
event numbers of failed events;
TObjArray fArrALTROL1PhaseFailEvent
L1 failure for each RCU and event.
Int_t fPeakDetMinus
Consecutive timebins on rising edge to be regarded as a signal.
TVectorF fVNfiredPadsSenEvent
number of pads with a signal above threshold in sensitive regions
Int_t fNOkMinus
! number of processed time bins fullfilling peak criteria
virtual Int_t Update(const Int_t isector, const Int_t iRow, const Int_t iPad, const Int_t iTimeBin, const Float_t signal)
Int_t GetPeakDetectionMinus() const
TVectorF fVOccupancyEvent
occupancy per event (number of samples above threshold)
TCanvas * MakeCanvasOccupancy(const Int_t xType=1, Bool_t sen=kFALSE)
TVectorF fArrALTROL1Phase
Array of L1 phases on an event bases;.
Implementation of the TPC Raw drift velocity and Altro L1 Phase calibration.
const TVectorF * GetSignalSumEvent() const
TVectorF fVOccupancySenEvent
occupancy per event (number of samples abouve threshold) in sensitive regions