![]() |
AliRoot Core
edcc906 (edcc906)
|
Container with calorimeter trigger information in the ESD event. More...
#include <AliESDCaloTrigger.h>
Public Member Functions | |
AliESDCaloTrigger () | |
AliESDCaloTrigger (const AliESDCaloTrigger &ctrig) | |
virtual | ~AliESDCaloTrigger () |
AliESDCaloTrigger & | operator= (const AliESDCaloTrigger &ctrig) |
Bool_t | IsEmpty () |
virtual void | Reset () |
void | Allocate (Int_t size) |
void | DeAllocate () |
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) |
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) |
void | SetL1Threshold (Int_t i, Int_t thr) |
void | SetL1Threshold (Int_t i, Int_t j, Int_t thr) |
void | SetL1V0 (const Int_t *v) |
void | SetL1V0 (Int_t i, const Int_t *v) |
void | SetL1FrameMask (Int_t m) |
void | SetL1FrameMask (Int_t i, Int_t m) |
void | SetTriggerBitWord (Int_t w) |
void | SetMedian (Int_t i, Int_t m) |
void | GetPosition (Int_t &col, Int_t &row) const |
Access to position of the current fastor channel. More... | |
void | GetAmplitude (Float_t &) const |
Access to L0-amplitude of the current fastor channel. More... | |
void | GetTime (Float_t &time) const |
void | GetTriggerBits (Int_t &bits) const |
Get the trigger bits for a given fastor position. More... | |
void | GetNL0Times (Int_t &ntimes) const |
Get the number of L0 times for the current patch. More... | |
void | GetL0Times (Int_t times[]) const |
Get level0 times for the current L0 patch. More... | |
Int_t | GetEntries () const |
Get the number of entries in the trigger data. More... | |
void | GetL1TimeSum (Int_t ×um) const |
Get the L1 time sums (L1 ADC values) for the current fastor. More... | |
Int_t | GetL1TimeSum () const |
Get the L1 time sums (L1 ADC values) for the current fastor. More... | |
void | GetL1SubRegion (Int_t &subreg) const |
Int_t | GetL1SubRegion () const |
Int_t | GetL1Threshold (Int_t i) const |
Int_t | GetL1Threshold (Int_t i, Int_t j) const |
Int_t | GetL1V0 (Int_t i) const |
Int_t | GetL1V0 (Int_t i, Int_t j) const |
Int_t | GetL1FrameMask () const |
Int_t | GetL1FrameMask (Int_t i) const |
Int_t | GetMedian (Int_t i) const |
Int_t | GetTriggerBitWord () const |
void | GetTriggerBitWord (Int_t &bw) const |
virtual Bool_t | Next () |
Forward to next trigger entry (fastor / L0 patch) More... | |
virtual void | Copy (TObject &obj) const |
virtual void | Print (const Option_t *opt) const |
![]() | |
AliVCaloTrigger () | |
AliVCaloTrigger (const char *name, const char *title) | |
AliVCaloTrigger (const AliVCaloTrigger &ctrig) | |
virtual | ~AliVCaloTrigger () |
AliVCaloTrigger & | operator= (const AliVCaloTrigger &ctrig) |
virtual Bool_t | Add (Int_t, Int_t, Float_t, Float_t, Int_t *, Int_t, Int_t, Int_t)=0 |
virtual Bool_t | Add (Int_t, Int_t, Float_t, Float_t, Int_t *, Int_t, Int_t, Int_t, Int_t)=0 |
virtual void | GetL0Times (Int_t *) const =0 |
Get level0 times for the current L0 patch. More... | |
Private Attributes | |
Int_t | fNEntries |
Number of entries in the trigger object (usually mapped to fastor channels) More... | |
Int_t | fCurrent |
Index of the current entry. More... | |
Int_t * | fColumn |
Int_t * | fRow |
Float_t * | fAmplitude |
Float_t * | fTime |
Int_t * | fNL0Times |
TArrayI * | fL0Times |
Int_t * | fL1TimeSum |
Int_t * | fTriggerBits |
Int_t | fL1Threshold [4] |
L1 thresholds from raw data. More... | |
Int_t | fL1V0 [2] |
L1 threshold components. More... | |
Int_t | fL1FrameMask |
Validation flag for L1 data. More... | |
Int_t | fL1DCALThreshold [4] |
L1 thresholds from raw data. More... | |
Int_t * | fL1SubRegion |
Int_t | fL1DCALFrameMask |
Validation flag for L1 data. More... | |
Int_t | fMedian [2] |
Background median. More... | |
Int_t | fTriggerBitWord |
Trigger bit word. More... | |
Int_t | fL1DCALV0 [2] |
L1 threshold components. More... | |
Container with calorimeter trigger information in the ESD event.
Definition at line 17 of file AliESDCaloTrigger.h.
AliESDCaloTrigger::AliESDCaloTrigger | ( | ) |
Definition at line 34 of file AliESDCaloTrigger.cxx.
AliESDCaloTrigger::AliESDCaloTrigger | ( | const AliESDCaloTrigger & | ctrig | ) |
Definition at line 63 of file AliESDCaloTrigger.cxx.
|
virtual |
Definition at line 88 of file AliESDCaloTrigger.cxx.
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 | ||
) |
Definition at line 186 of file AliESDCaloTrigger.cxx.
Referenced by Add(), Copy(), AliEMCALReconstructor::FillESD(), and Reset().
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 | ||
) |
Definition at line 211 of file AliESDCaloTrigger.cxx.
|
virtual |
Implements AliVCaloTrigger.
Definition at line 154 of file AliESDCaloTrigger.cxx.
Referenced by Copy(), AliEMCALReconstructor::FillESD(), and Reset().
|
virtual |
Reimplemented from AliVCaloTrigger.
Definition at line 125 of file AliESDCaloTrigger.cxx.
Referenced by AliESDCaloTrigger(), GetTriggerBitWord(), and operator=().
|
virtual |
Implements AliVCaloTrigger.
Definition at line 97 of file AliESDCaloTrigger.cxx.
Referenced by Copy(), Reset(), AliESDEvent::ResetStdContent(), and ~AliESDCaloTrigger().
|
virtual |
Access to L0-amplitude of the current fastor channel.
[out] | amp | L0-amplitude for the given fastor channel |
Implements AliVCaloTrigger.
Definition at line 242 of file AliESDCaloTrigger.cxx.
Referenced by SetMedian().
|
inlinevirtual |
Get the number of entries in the trigger data.
Implements AliVCaloTrigger.
Definition at line 97 of file AliESDCaloTrigger.h.
void AliESDCaloTrigger::GetL0Times | ( | Int_t | times[] | ) | const |
Get level0 times for the current L0 patch.
times | L0 times for the current L0 patch |
Definition at line 314 of file AliESDCaloTrigger.cxx.
Referenced by SetMedian().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 120 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 121 of file AliESDCaloTrigger.h.
|
virtual |
Implements AliVCaloTrigger.
Definition at line 278 of file AliESDCaloTrigger.cxx.
|
virtual |
Implements AliVCaloTrigger.
Definition at line 287 of file AliESDCaloTrigger.cxx.
Referenced by GetEntries().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 114 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 115 of file AliESDCaloTrigger.h.
|
virtual |
Get the L1 time sums (L1 ADC values) for the current fastor.
[out] | timesum | L1 timesums for the current fastor |
Implements AliVCaloTrigger.
Definition at line 260 of file AliESDCaloTrigger.cxx.
Referenced by TestESD().
|
virtual |
Get the L1 time sums (L1 ADC values) for the current fastor.
Implements AliVCaloTrigger.
Definition at line 269 of file AliESDCaloTrigger.cxx.
Referenced by GetEntries().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 117 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 118 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 123 of file AliESDCaloTrigger.h.
|
virtual |
Get the number of L0 times for the current patch.
Level0 times are handled per L0 patch. Indexing is different with respect to the fastor indexing.
[out] | ntimes | Number of level0 |
Implements AliVCaloTrigger.
Definition at line 296 of file AliESDCaloTrigger.cxx.
Referenced by SetMedian().
|
virtual |
Access to position of the current fastor channel.
[out] | col | Column of the current fastor in the detector plane |
[out] | row | Row of the current fastor in the detector plane |
Implements AliVCaloTrigger.
Definition at line 232 of file AliESDCaloTrigger.cxx.
Referenced by SetMedian(), and TestESD().
|
virtual |
Implements AliVCaloTrigger.
Definition at line 251 of file AliESDCaloTrigger.cxx.
Referenced by SetMedian().
|
virtual |
Get the trigger bits for a given fastor position.
Trigger bits define the starting position of online patches. They are defined in AliEMCALTriggerTypes.h. Note that for reconstructed patches an offset (MC offset) has to be taken into account
[out] | bits | Trigger bits connected to a given position |
Implements AliVCaloTrigger.
Definition at line 305 of file AliESDCaloTrigger.cxx.
Referenced by SetMedian(), and TestESD().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 125 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 126 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 26 of file AliESDCaloTrigger.h.
|
virtual |
Forward to next trigger entry (fastor / L0 patch)
Implements AliVCaloTrigger.
Definition at line 221 of file AliESDCaloTrigger.cxx.
Referenced by GetTriggerBitWord(), and TestESD().
AliESDCaloTrigger & AliESDCaloTrigger::operator= | ( | const AliESDCaloTrigger & | ctrig | ) |
Definition at line 116 of file AliESDCaloTrigger.cxx.
|
virtual |
Implements AliVCaloTrigger.
Definition at line 325 of file AliESDCaloTrigger.cxx.
Referenced by GetTriggerBitWord().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 28 of file AliESDCaloTrigger.h.
Referenced by TestESD().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 44 of file AliESDCaloTrigger.h.
Referenced by Copy(), and AliEMCALReconstructor::FillESD().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 45 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 36 of file AliESDCaloTrigger.h.
Referenced by Copy(), and AliEMCALReconstructor::FillESD().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 37 of file AliESDCaloTrigger.h.
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 39 of file AliESDCaloTrigger.h.
Referenced by Copy(), and AliEMCALReconstructor::FillESD().
|
inlinevirtual |
Implements AliVCaloTrigger.
Definition at line 40 of file AliESDCaloTrigger.h.
|
inline |
Definition at line 48 of file AliESDCaloTrigger.h.
Referenced by AliEMCALReconstructor::FillESD().
|
inline |
Definition at line 47 of file AliESDCaloTrigger.h.
Referenced by AliEMCALReconstructor::FillESD().
|
private |
Array with L0 amplitudes for a trigger entry, one entry corresponds to a certain fastor channel
Definition at line 150 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetAmplitude(), and Print().
|
private |
Array of col positions for a trigger entry, one entry corresponds to a certain fastor channel
Definition at line 144 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetPosition(), and Print().
|
private |
Index of the current entry.
Definition at line 141 of file AliESDCaloTrigger.h.
Referenced by Add(), DeAllocate(), GetAmplitude(), GetL0Times(), GetL1SubRegion(), GetL1TimeSum(), GetNL0Times(), GetPosition(), GetTime(), GetTriggerBits(), Next(), Print(), and Reset().
|
private |
Array of Level0 times, one entry corresponds to a certain L0 patch
Definition at line 159 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetL0Times(), Print(), and ~AliESDCaloTrigger().
|
private |
Validation flag for L1 data.
Definition at line 177 of file AliESDCaloTrigger.h.
Referenced by Copy(), GetL1FrameMask(), and SetL1FrameMask().
|
private |
L1 thresholds from raw data.
Definition at line 175 of file AliESDCaloTrigger.h.
Referenced by Copy(), GetL1Threshold(), and SetL1Threshold().
|
private |
L1 threshold components.
Definition at line 180 of file AliESDCaloTrigger.h.
|
private |
Validation flag for L1 data.
Definition at line 173 of file AliESDCaloTrigger.h.
Referenced by Copy(), GetL1FrameMask(), and SetL1FrameMask().
|
private |
Definition at line 176 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), and GetL1SubRegion().
|
private |
L1 thresholds from raw data.
Definition at line 171 of file AliESDCaloTrigger.h.
Referenced by Copy(), GetL1Threshold(), Print(), and SetL1Threshold().
|
private |
Array of the L1 time sums (L1 ADC values), one entry corresponds to a certain fastor channel
Definition at line 162 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetL1TimeSum(), and Print().
|
private |
L1 threshold components.
Definition at line 172 of file AliESDCaloTrigger.h.
|
private |
Background median.
Definition at line 178 of file AliESDCaloTrigger.h.
Referenced by GetMedian(), and SetMedian().
|
private |
Number of entries in the trigger object (usually mapped to fastor channels)
Definition at line 140 of file AliESDCaloTrigger.h.
Referenced by Allocate(), Copy(), DeAllocate(), GetEntries(), IsEmpty(), Next(), and ~AliESDCaloTrigger().
|
private |
Array of the number of Level0 times, one entry corresponds to a certain L0 patch
Definition at line 156 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetL0Times(), GetNL0Times(), and Print().
|
private |
Array of row positions for a trigger entry, one entry corresponds to a certain fastor channel
Definition at line 147 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetPosition(), and Print().
|
private |
Array of trigger times, one entry corresponds to a certain fastor channel
Definition at line 153 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetTime(), and Print().
|
private |
Array of trigger bits: Each bit position corresponds to a certain trigger (L0/L1) fired. Note that there is a MC offset to be taken into account. Reconsturcted triggers start from the position of the MC offset. Trigger bits are defined in AliEMCALTriggerTypes.h. One entry correspons to a certain fastor position.
Definition at line 169 of file AliESDCaloTrigger.h.
Referenced by Add(), Allocate(), Copy(), DeAllocate(), GetTriggerBits(), and Print().
|
private |
Trigger bit word.
Definition at line 179 of file AliESDCaloTrigger.h.
Referenced by GetTriggerBitWord(), and SetTriggerBitWord().