28 #include "Riostream.h" 44 fL0Times(new TArrayI()),
58 for (
int i = 0; i < 4; i++) {fL1Threshold[i] = fL1DCALThreshold[i] = 0;}
59 fL1V0[0] = fL1V0[1] = 0;
60 fL1DCALV0[0] = fL1DCALV0[1] = 0;
61 fMedian[0] = fMedian[1] = 0;
73 fL0Times(new TArrayI()),
141 if (
this != &src) src.
Copy(*
this);
159 for (Int_t j = 0; j < 10; j++) {
160 times[j] =
fL0Times->At(10 * i + j);
208 Bool_t
AliAODCaloTrigger::Add(Int_t col, Int_t row, Float_t amp, Float_t time, Int_t trgtimes[], Int_t ntrgtimes, Int_t trgts, Int_t trgbits)
223 AliError(
"Should not have more than 10 L0 times");
233 Bool_t
AliAODCaloTrigger::Add(Int_t col, Int_t row, Float_t amp, Float_t time, Int_t trgtimes[], Int_t ntrgtimes, Int_t trgts, Int_t subra, Int_t trgbits)
236 Add(col, row, amp, time, trgtimes, ntrgtimes, trgts, trgbits);
352 printf(
"\tPOSITION (X: %2d Y: %2d) / FITTED F-ALTRO (AMP: %4f TIME: %3f)\n",
void GetTriggerBits(Int_t &bits) const
Get the trigger bits for a given fastor position.
Int_t fNEntries
Number of entries in the trigger object (usually mapped to fastor channels)
void GetTime(Float_t &time) const
AliAODCaloTrigger & operator=(const AliAODCaloTrigger &ctrig)
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
void SetL1FrameMask(Int_t m)
Int_t fCurrent
Index of the current entry.
void GetNL0Times(Int_t &ntimes) const
Get the number of L0 times for the current patch.
void GetPosition(Int_t &col, Int_t &row) const
Access to position of the current fastor channel.
Int_t fL1DCALV0[2]
L1 threshold components.
Int_t fL1DCALThreshold[4]
L1 thresholds from raw data.
virtual Bool_t Next()
Forward to next trigger entry (fastor / L0 patch)
Container with calorimeter trigger information in the AOD event.
Bool_t Add(Int_t col, Int_t row, Float_t amp, Float_t time, Int_t trgtimes[], Int_t ntrgtimes, Int_t trgts, Int_t trgbits)
Int_t GetL1TimeSum() const
Get the L1 time sums (L1 ADC values) for the current fastor.
Int_t fL1DCALFrameMask
Validation flag for L1 data.
virtual void Print(const Option_t *opt="") const
Int_t fL1FrameMask
Validation flag for L1 data.
Virtual class to access calorimeter (EMCAL, PHOS, PMD, FMD) trigger data.
Int_t fL1Threshold[4]
L1 thresholds from raw data.
void SetL1V0(const Int_t *v)
void SetL1Threshold(Int_t i, Int_t thr)
void GetL0Times(Int_t times[]) const
Get level0 times for the current L0 patch.
Int_t GetL1SubRegion() const
void GetAmplitude(Float_t &) const
Access to L0-amplitude of the current fastor channel.
virtual ~AliAODCaloTrigger()
Int_t fL1V0[2]
L1 threshold components.
#define AliError(message)
Int_t fMedian[2]
Background median.
virtual void Copy(TObject &obj) const
void Allocate(Int_t size)
virtual void Copy(TObject &obj) const