1 #ifndef ALIESDCALOTRIGGER_H 2 #define ALIESDCALOTRIGGER_H 33 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);
34 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 subra, Int_t trgbits);
39 void SetL1V0(
const Int_t* v) {
for (
int i = 0; i < 2; i++)
fL1V0[i] = v[i];}
41 if (i) {
for (
int j = 0; j < 2; j++)
fL1DCALV0[j] = v[j];}
else {
for (
int j = 0; j < 2; j++)
fL1V0[j] = v[j];}
63 void GetTime( Float_t& time )
const;
132 virtual Bool_t
Next();
134 virtual void Copy(TObject& obj)
const;
136 virtual void Print(
const Option_t* opt)
const;
Int_t GetL1V0(Int_t i, Int_t j) const
void SetL1Threshold(Int_t i, Int_t j, Int_t thr)
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 SetL1V0(Int_t i, const Int_t *v)
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 GetMedian(Int_t i) const
Int_t fTriggerBitWord
Trigger bit word.
Int_t GetTriggerBitWord() const
Int_t fL1DCALFrameMask
Validation flag for L1 data.
Int_t GetL1Threshold(Int_t i) const
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.
void SetMedian(Int_t i, Int_t m)
Int_t fNEntries
Number of entries in the trigger object (usually mapped to fastor channels)
Int_t GetEntries() const
Get the number of entries in the trigger data.
void SetTriggerBitWord(Int_t w)
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.
void SetL1FrameMask(Int_t i, Int_t m)
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
Int_t GetL1V0(Int_t i) const
AliESDCaloTrigger & operator=(const AliESDCaloTrigger &ctrig)
Int_t GetL1SubRegion() const
void GetTriggerBitWord(Int_t &bw) const
virtual ~AliESDCaloTrigger()
void SetL1V0(const Int_t *v)
void SetL1Threshold(Int_t i, Int_t thr)
void GetTime(Float_t &time) const
Int_t GetL1Threshold(Int_t i, Int_t j) const
void GetNL0Times(Int_t &ntimes) const
Get the number of L0 times for the current patch.
Int_t GetL1FrameMask(Int_t i) const
Int_t GetL1FrameMask() const
Int_t fMedian[2]
Background median.