14 #ifndef ALIEMCALTRIGGERPATCHINFO_H
15 #define ALIEMCALTRIGGERPATCHINFO_H
21 #include <TLorentzVector.h>
26 class AliEMCALGeometry;
Int_t GetTriggerBits() const
void SetTriggerBits(Int_t i)
Bool_t IsGammaHighSimple() const
Trigger bit for recalculated jet patches.
Trigger bit indicating the main (highest energy) trigger patch of a given type per event...
Int_t fTriggerBits
trigger bit mask, see definitions in AliEmcalTriggerType and TriggerMakerBits_t (above) ...
Bool_t IsJetHighSimple() const
void SetEdge2(TLorentzVector &v)
Double_t GetADCAmpGeVRough() const
Trigger bit for recalculated gamma patches.
Double_t GetEtaGeo() const
Int_t GetEdgeCellX() const
void SetEdge1(TLorentzVector &v)
Double_t GetEtaCM() const
void SetCenterMass(TVector3 &v, Double_t e)
AliEmcalTriggerPatchInfo & operator=(const AliEmcalTriggerPatchInfo &p)
Bool_t IsGammaLow() const
Trigger bit indicating that the patch was created by the offline trigger algorithm.
Int_t GetJetLowBit() const
Int_t GetLevel0Bit() const
void SetADCOfflineAmp(Int_t a)
TLorentzVector fCenterGeo
geometrical center
void GetCellIndices(AliEMCALGeometry *geom, TArrayI *cells)
void SetEdge1(TVector3 &v, Double_t e)
TLorentzVector fCenterMass
CM.
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Double_t GetEtaMin() const
virtual ~AliEmcalTriggerPatchInfo()
Bool_t IsMainTrigger() const
Int_t GetGammaLowBit() const
Bool_t IsGammaHigh() const
Double_t GetPhiMax() const
Bool_t IsRecalcGamma() const
Int_t fOffSet
offset of bit (different in data and MC)
void SetEdgeCell(Int_t x, Int_t y)
void SetEdge2(TVector3 &v, Double_t e)
Bool_t IsMainTriggerSimple() const
Double_t GetPatchE() const
Manager for constants used in the trigger maker.
Int_t fADCAmp
online (trigger) ADC amplitude
AliEmcalTriggerBitConfig fTriggerBitConfig
Trigger bit configuration.
Definition of trigger bit configurations.
Definition of EMCAL trigger bit configurations.
AliEmcalTriggerPatchInfo()
Double_t GetEtaMax() const
void SetCenterMass(TLorentzVector &v)
Int_t GetJetHighBit() const
static const Double_t kEMCL1ADCtoGeV
Conversion from EMCAL Level1 ADC to energy.
Int_t GetADCOfflineAmp() const
void SetTriggerBitConfig(const AliEmcalTriggerBitConfig *ref)
void SetCenterGeo(TLorentzVector &v)
Double_t GetPhiGeo() const
void Initialise(const AliEmcalTriggerBitConfig &ref)
Bool_t IsGammaLowSimple() const
void SetLorentzVector(TLorentzVector &lv, TVector3 &v, Double_t e)
const AliEmcalTriggerBitConfig * GetTriggerBitConfig() const
TLorentzVector fEdge2
min eta/ max phi edge
Int_t GetEdgeCellY() const
TLorentzVector fEdge1
max eta/ min phi edge
Bool_t IsJetLowSimple() const
Double_t GetPhiCM() const
Int_t fEdgeCell[2]
cell "bottom lower" edge (min phi, max eta)
Bool_t IsRecalcJet() const
Int_t fADCOfflineAmp
offline (FEE) ADC amplitude
void SetCenterGeo(TVector3 &v, Double_t e)
Double_t GetPhiMin() const
Bool_t IsOfflineSimple() const
Int_t GetGammaHighBit() const