1 #ifndef ALIEMCALTRIGGERPATCHINFO_H 2 #define ALIEMCALTRIGGERPATCHINFO_H 8 #include <TLorentzVector.h> 87 void Initialize(UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, Double_t patchE, UInt_t bitmask,
const TVector3& vertex,
const AliEMCALGeometry*
geom);
301 Bool_t
IsBkg()
const {
return false; }
610 Double_t
GetET(Double_t energy)
const;
Bool_t IsJetLowSimple() const
UChar_t fPatchSize
Trigger patch size.
void Initialise(const AliEMCALTriggerBitConfig &ref)
Int_t GetRowStart() const
const TLorentzVector & GetLorentzVectorEdge2() const
Int_t GetJetLowBit() const
static AliEMCALTriggerPatchInfo * CreateAndInitialize(UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, Double_t patchE, UInt_t bitmask, const TVector3 &vertex, const AliEMCALGeometry *geom)
Bool_t TestTriggerBit(UInt_t bitnumber) const
Int_t fOffSet
offset of bit (different in data and MC)
void SetEdgeCell(Int_t x, Int_t y)
Int_t fADCOfflineAmp
offline (FEE) ADC amplitude
void GetCellIndices(AliEMCALGeometry *geom, TArrayI *cells)
const TLorentzVector & GetLorentzVectorCM() const
TLorentzVector fCenterGeo
geometrical center
Int_t GetJetHighBit() const
AliEMCALTriggerBitConfig fTriggerBitConfig
Trigger bit configuration.
const Double_t kEMCL1ADCtoGeV
Conversion from EMCAL Level1 ADC to energy.
void SetEdge2(const TVector3 &v, Double_t e)
Bool_t IsGammaLowRecalc() const
void SetEdge1(const TLorentzVector &v)
Double_t GetPatchET() const
Bool_t IsMainTrigger() const
CaloDetectorType_t GetDetectorType() const
Double_t GetEtaMin() const
Bool_t IsMainTriggerSimple() const
Int_t GetEdgeCellY() const
Bool_t IsRecalcGamma() const
Double_t GetPhiMin() const
Bool_t IsJetLowRecalc() const
Int_t GetGammaHighBit() const
TLorentzVector fEdge2
min eta/ max phi edge
void SetCenterGeo(const TVector3 &v, Double_t e)
const AliEMCALTriggerBitConfig * GetTriggerBitConfig() const
Double_t GetSmearedEnergy() const
TLorentzVector fCenterMass
CM.
UChar_t GetPatchSize() const
TLorentzVector fEdge1
max eta/ min phi edge
const TLorentzVector & GetLorentzVectorCenterGeo() const
Int_t GetADCOfflineAmp() const
Bool_t IsGammaHighSimple() const
Bool_t IsRecalcJet() const
CaloDetectorType_t fDetectorType
Detector type (EMCal or DCal/PHOS)
Bool_t IsGammaLowSimple() const
Bool_t IsGammaLow() const
virtual ~AliEMCALTriggerPatchInfo()
void SetSmearedEnergy(Double_t e)
void SetEdge2(const TLorentzVector &v)
AliEMCALTriggerPatchInfo & operator=(const AliEMCALTriggerPatchInfo &p)
Bool_t IsGammaHigh() const
Int_t GetLevel0Bit() const
void SetRowStart(int row0)
void Initialize(UChar_t col0, UChar_t row0, UChar_t size, UInt_t adc, UInt_t offlineAdc, Double_t patchE, UInt_t bitmask, const TVector3 &vertex, const AliEMCALGeometry *geom)
Int_t GetTriggerBits() const
Bool_t IsOfflineSimple() const
Double_t GetEtaGeo() const
Bool_t IsLevel0Simple() const
void SetCenterMass(const TVector3 &v, Double_t e)
void RecalculateKinematics(Double_t patchE, const TVector3 &vertex, const AliEMCALGeometry *geom)
Double_t GetEtaMax() const
Int_t GetColStart() const
Int_t GetEdgeCellX() const
Double_t GetET(Double_t energy) const
Int_t fADCAmp
online (trigger) ADC amplitude
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Definition of trigger bit configurations.
Double_t GetPatchE() const
void SetLorentzVector(TLorentzVector &lv, const TVector3 &v, Double_t e)
Double_t GetPatchETfromADCAmp() const
Bool_t IsDCalPHOS() const
void SetEdge1(const TVector3 &v, Double_t e)
AliEMCALTriggerPatchInfo()
Double_t fEnergySmeared
Smeared patch energy.
Double_t GetPhiMax() const
Int_t fTriggerBits
trigger bit mask, see definitions in AliEMCALTriggerType and TriggerMakerBits_t (above) ...
void SetTriggerBitConfig(const AliEMCALTriggerBitConfig *ref)
void SetDetectorType(CaloDetectorType_t t)
Bool_t IsBkgSimple() const
void SetTriggerBits(Int_t i)
Double_t GetADCAmpGeVRough() const
Double_t GetPhiTransform(Double_t phiin) const
Int_t fEdgeCell[2]
cell "bottom lower" edge (min phi, max eta)
void SetCenterGeo(const TLorentzVector &v)
Bool_t IsJetHighSimple() const
const TLorentzVector & GetLorentzVectorEdge1() const
Double_t GetPhiGeo() const
Bool_t IsJetHighRecalc() const
Double_t GetPhiCM() const
void SetADCOfflineAmp(Int_t a)
Int_t GetGammaLowBit() const
EMCal geometry, singleton.
void SetCenterMass(const TLorentzVector &v)
Definition of EMCAL trigger bit configurations.
Bool_t IsLevel0Recalc() const
Bool_t IsGammaHighRecalc() const
Bool_t IsBkgRecalc() const
Double_t GetEtaCM() const