24 #ifndef ALIEMCALTRIGGERMAKER_H
25 #define ALIEMCALTRIGGERMAKER_H
31 class AliAODCaloTrigger;
35 #include <TSortedList.h>
136 inline virtual Bool_t
IsEqual(
const TObject *ref);
137 inline virtual Int_t
Compare(
const TObject *ref);
218 Bool_t
CheckForL0(
const AliVCaloTrigger &trg)
const;
270 if(!refpos)
return false;
282 if(!refpos)
return 1;
283 if(fCol == refpos->
fCol){
284 if(fRow == refpos->
fRow)
return 0;
285 else if(fRow < refpos->fRow)
return -1;
288 else if(fCol < refpos->fCol)
return -1;
Bool_t fRejectOffAcceptancePatches
void SetCaloTriggerSetupOutName(const char *name)
TString fCaloTriggersOutName
name of output track array
AliEmcalTriggerChannelContainer()
void AddChannel(int col, int row)
Old configuration, no distinction between high and low threshold.
Int_t fRow
Row of the trigger channel.
Bool_t IsLevel0(Int_t tBits) const
void SetTriggerThresholdJetHigh(Int_t a, Int_t b, Int_t c)
TriggerMakerBitConfig_t fUseTriggerBitConfig
type of trigger config
TriggerMakerTriggerType_t
Definition of different trigger patch types.
Bool_t fDoQA
Fill QA histograms.
const AliEmcalTriggerBitConfig * fTriggerBitConfig
void SetTriggerThresholdGammaHigh(Int_t a, Int_t b, Int_t c)
Int_t fITrigger
trigger counter
AliEmcalTriggerMaker & operator=(const AliEmcalTriggerMaker &)
void UserCreateOutputObjects()
Float_t fPatchAmplitudes[kPatchCols][kPatchRows]
TRU Amplitudes (for L0)
Int_t fCol
Column of the trigger channel.
AliEmcalTriggerChannelContainer fBadChannels
Container of bad channels.
void SetCaloTriggersOutName(const char *name)
virtual ~AliEmcalTriggerChannelContainer()
Int_t GetJetLowBit() const
virtual ~AliEmcalTriggerChannelPosition()
Int_t GetLevel0Bit() const
New configuration, distiction between high and low threshold.
static const TString fgkTriggerTypeNames[5]
Histogram name tags.
2D position of a trigger channel on the EMCAL surface
Bool_t IsEGA(Int_t tBits) const
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Int_t fPatchADC[kPatchCols][kPatchRows]
ADC values map.
bool HasChannel(int col, int row)
virtual Int_t Compare(const TObject *ref)
Int_t GetGammaLowBit() const
Int_t fThresholdConstants[4][3]
simple offline trigger thresholds constants
Bool_t IsEJE(Int_t tBits) const
void SetUseTriggerBitConfig(TriggerMakerBitConfig_t bitConfig)
TString fV0InName
name of output track array
EMCAL Jet patches, recalculated.
void SetTriggerBitConfig(const AliEmcalTriggerBitConfig *conf)
void SetRejectOffAcceptancePatches(Bool_t doReject=kTRUE)
AliEmcalTriggerSetupInfo * fCaloTriggerSetupOut
trigger setup
Int_t GetTriggerTypesEnd() const
Double_t fPatchADCSimple[kPatchCols][kPatchRows]
patch map for simple offline trigger
AliVVZERO * fV0
V0 object.
virtual Bool_t IsEqual(const TObject *ref)
AliAODCaloTrigger * fSimpleOfflineTriggers
simple offline trigger
Definition of trigger bit configurations.
Definition of EMCAL trigger bit configurations.
void SetTriggerThresholdGammaLow(Int_t a, Int_t b, Int_t c)
EMCAL trigger patch maker.
void SetV0InName(const char *name)
TClonesArray * fCaloTriggersOut
trigger array out
void SetRunTriggerType(TriggerMakerTriggerType_t type, Bool_t doTrigger=kTRUE)
THistManager * fQAHistos
Histograms for QA.
Int_t GetJetHighBit() const
EMCAL Gamma patches, recalculated.
Char_t fLevel0TimeMap[kPatchCols][kPatchRows]
Map needed to store the level0 times.
Bool_t fRunTriggerType[5]
Run patch maker for a given trigger type.
void RunSimpleOfflineTrigger()
AliEmcalTriggerChannelPosition(int col, int row)
TString fCaloTriggerSetupOutName
name of output track array
void SetRunQA(Bool_t doQA=kTRUE)
void SetTriggerThresholdJetLow(Int_t a, Int_t b, Int_t c)
Settings manager for the trigger patch algorithm.
AliEmcalTriggerChannelPosition()
AliEmcalTriggerPatchInfo * ProcessPatch(TriggerMakerTriggerType_t type, Bool_t isOfflineSimple)
Structure for position of trigger channels.
Bool_t NextTrigger(Bool_t &isOfflineSimple)
virtual ~AliEmcalTriggerMaker()
TSortedList fChannels
Container for listed channels.
void AddHotFastor(int col, int row)
Bool_t CheckForL0(const AliVCaloTrigger &trg) const
Int_t GetGammaHighBit() const