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