ROOT logo
AliRoot » PWG » EMCAL » AliEmcalTriggerPatchInfo

class AliEmcalTriggerPatchInfo: public TObject

Function Members (Methods)

public:
AliEmcalTriggerPatchInfo()
AliEmcalTriggerPatchInfo(const AliEmcalTriggerPatchInfo& p)
virtual~AliEmcalTriggerPatchInfo()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tGetADCAmp() const
Double_tGetADCAmpGeVRough() const
Int_tGetADCOfflineAmp() const
voidGetCellIndices(AliEMCALGeometry* geom, TArrayI* cells)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetEdgeCellX() const
Int_tGetEdgeCellY() const
Double_tGetEtaCM() const
Double_tGetEtaGeo() const
Double_tGetEtaMax() const
Double_tGetEtaMin() const
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetPatchE() const
Double_tGetPhiCM() const
Double_tGetPhiGeo() const
Double_tGetPhiMax() const
Double_tGetPhiMin() const
virtual const char*TObject::GetTitle() const
Int_tGetTriggerBits() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsGammaHigh() const
Bool_tIsGammaHighSimple() const
Bool_tIsGammaLow() const
Bool_tIsGammaLowSimple() const
Bool_tIsJetHigh() const
Bool_tIsJetHighSimple() const
Bool_tIsJetLow() const
Bool_tIsJetLowSimple() const
Bool_tIsLevel0() const
Bool_tIsMainTrigger() const
Bool_tIsMainTriggerSimple() const
Bool_tIsOfflineSimple() const
Bool_tTObject::IsOnHeap() const
Bool_tIsRecalcGamma() const
Bool_tIsRecalcJet() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AliEmcalTriggerPatchInfo&operator=(const AliEmcalTriggerPatchInfo& p)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetADCAmp(Int_t a)
voidSetADCOfflineAmp(Int_t a)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCenterGeo(TLorentzVector& v)
voidSetCenterGeo(TVector3& v, Double_t e)
voidSetCenterMass(TLorentzVector& v)
voidSetCenterMass(TVector3& v, Double_t e)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEdge1(TLorentzVector& v)
voidSetEdge1(TVector3& v, Double_t e)
voidSetEdge2(TLorentzVector& v)
voidSetEdge2(TVector3& v, Double_t e)
voidSetEdgeCell(Int_t x, Int_t y)
voidSetLorentzVector(TLorentzVector& lv, TVector3& v, Double_t e)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOffSet(Int_t i)
voidSetTriggerBitConfig(const AliEmcalTriggerBitConfig* ref)
voidSetTriggerBits(Int_t i)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TLorentzVector&GetLorentzVector(const Double_t* vertex = 0) const
voidTObject::MakeZombie()

Data Members

public:
enum TriggerMakerBits_t { kRecalcJetBitNum
kRecalcGammaBitNum
kMainTriggerBitNum
kSimpleOfflineBitNum
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Int_tfADCAmponline (trigger) ADC amplitude
Int_tfADCOfflineAmpoffline (FEE) ADC amplitude
TLorentzVectorfCenterGeogeometrical center
TLorentzVectorfCenterMassCM
TLorentzVectorfEdge1max eta/ min phi edge
TLorentzVectorfEdge2min eta/ max phi edge
Int_tfEdgeCell[2]cell "bottom lower" edge (min phi, max eta)
Int_tfOffSetoffset of bit (different in data and MC)
AliEmcalTriggerBitConfigfTriggerBitConfigTrigger bit configuration
Int_tfTriggerBitstrigger bit mask, see definitions in AliEmcalTriggerType and TriggerMakerBits_t (above)

Class Charts

Inheritance Chart:
TObject
AliEmcalTriggerPatchInfo

Function documentation

AliEmcalTriggerPatchInfo()
 Default constructor.
AliEmcalTriggerPatchInfo(const AliEmcalTriggerPatchInfo& p)
 Copy constructor.
~AliEmcalTriggerPatchInfo()
 Destructor.
AliEmcalTriggerPatchInfo & operator=(const AliEmcalTriggerPatchInfo& p)
 Assignment operator.
void GetCellIndices(AliEMCALGeometry* geom, TArrayI* cells)
void SetLorentzVector(TLorentzVector& lv, TVector3& v, Double_t e)
 sets the vector
Double_t GetPhiGeo() const
 The lower bits in fTriggerBits are defined in EMCAL/AliEmcalTriggerTypes.h
{ return fCenterGeo.Phi(); }
Double_t GetPhiCM() const
{ return fCenterMass.Phi(); }
Double_t GetPhiMin() const
{ return fEdge1.Phi(); }
Double_t GetPhiMax() const
{ return fEdge2.Phi(); }
Double_t GetEtaGeo() const
{ return fCenterGeo.Eta(); }
Double_t GetEtaCM() const
{ return fCenterMass.Eta(); }
Double_t GetEtaMin() const
{ return fEdge2.Eta(); }
Double_t GetEtaMax() const
{ return fEdge1.Eta(); }
Double_t GetPatchE() const
{ return fCenterGeo.E(); }
Int_t GetADCAmp() const
{ return fADCAmp; }
Int_t GetADCOfflineAmp() const
{ return fADCOfflineAmp; }
Double_t GetADCAmpGeVRough() const
{ return (Double_t)fADCAmp * kEMCL1ADCtoGeV; }
Int_t GetTriggerBits() const
{ return fTriggerBits; }
Int_t GetEdgeCellX() const
{ return fEdgeCell[0]; }
Int_t GetEdgeCellY() const
{ return fEdgeCell[1]; }
Bool_t IsLevel0() const
Bool_t IsJetLow() const
Bool_t IsJetHigh() const
Bool_t IsGammaLow() const
Bool_t IsGammaHigh() const
Bool_t IsMainTrigger() const
Bool_t IsJetLowSimple() const
Bool_t IsJetHighSimple() const
Bool_t IsGammaLowSimple() const
Bool_t IsGammaHighSimple() const
Bool_t IsMainTriggerSimple() const
Bool_t IsOfflineSimple() const
Bool_t IsRecalcJet() const
 Recalculated max patches
{ return (Bool_t) ((fTriggerBits >> kRecalcJetBitNum)&1); }
Bool_t IsRecalcGamma() const
{ return (Bool_t) ((fTriggerBits >> kRecalcGammaBitNum)&1); }
void SetCenterGeo(TVector3& v, Double_t e)
void SetCenterGeo(TLorentzVector& v)
{ fCenterGeo = v; }
void SetCenterMass(TLorentzVector& v)
{ fCenterMass = v; }
void SetCenterMass(TVector3& v, Double_t e)
void SetEdge1(TLorentzVector& v)
{ fEdge1 = v; }
void SetEdge1(TVector3& v, Double_t e)
{ SetLorentzVector( fEdge1, v, e ); }
void SetEdge2(TLorentzVector& v)
{ fEdge2 = v; }
void SetEdge2(TVector3& v, Double_t e)
{ SetLorentzVector( fEdge2, v, e ); }
void SetADCAmp(Int_t a)
{ fADCAmp = a; }
void SetADCOfflineAmp(Int_t a)
void SetEdgeCell(Int_t x, Int_t y)
{ fEdgeCell[0] = x; fEdgeCell[1] = y; }
void SetTriggerBits(Int_t i)
{ fTriggerBits = i; }
void SetOffSet(Int_t i)
{ fOffSet = i; }
void SetTriggerBitConfig(const AliEmcalTriggerBitConfig* ref)
TLorentzVector & GetLorentzVector(const Double_t* vertex = 0) const