A++ » INC » AtlEventHeader

class AtlEventHeader: public TObject


 ATLAS event header


 Author: Oliver Maria Kind <mailto: kind@mail.desy.de>
 Update: $Id: AtlEventHeader.cxx,v 1.31 2017/10/26 08:43:06 mergelm Exp $
 Copyright: 2008 (C) Oliver Maria Kind

Function Members (Methods)

public:
virtual~AtlEventHeader()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
AtlEventHeader()
AtlEventHeader(const AtlEventHeader&)
Float_tBeamEnergy() const
virtual voidTObject::Browse(TBrowser* b)
AtlScaleFactor&BtagWeight_MV2c10_70()
AtlScaleFactor&BtagWeight_MV2c10_77()
AtlScaleFactor&BtagWeight_MV2c10_85()
AtlScaleFactor&BtagWeight_MV2c20_77()
AtlScaleFactor&BtagWeight_MV2c20_85()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* option = "")
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
ULong64_tEventNr() 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
Double_tGet_mcevt_pdf1() const
Double_tGet_mcevt_pdf2() const
Int_tGet_mcevt_pdf_id1() const
Int_tGet_mcevt_pdf_id2() const
Double_tGet_mcevt_pdf_scale() const
Double_tGet_mcevt_pdf_x1() const
Double_tGet_mcevt_pdf_x2() const
Float_tGetActualIntPerXing() const
Float_tGetAverageIntPerXing() const
UInt_tGetChannelNumber() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static AtlEvtTreeInfo*GetEvtTreeInfo()
UInt_tGetHFORType() const
virtual const char*TObject::GetIconName() const
Double_tGetMCWeight() const
Double_tGetMMWeightFake_alternate() const
Double_tGetMMWeightFake_MC_down() const
Double_tGetMMWeightFake_MC_up() const
Double_tGetMMWeightNominal() const
Double_tGetMMWeightReal_alternate() 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_tGetPileupWeight() const
ULong_tGetPreselectionFlags() const
Float_tGetPreTagEvtWeight() const
Float_tGetTagEvtWeight() const
virtual const char*TObject::GetTitle() const
Long_tGetTruthFlavor() const
Double_tGetTruthWeightCorrection() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetZVtxWeight() 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
Bool_tIsCalibration() const
Bool_tIsCosmics() const
Bool_tIsDATA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsMC() const
Bool_tTObject::IsOnHeap() const
Bool_tIsPhysics() const
Bool_tIsRun1() const
Bool_tIsRun2() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsTestBeam() const
Bool_tTObject::IsZombie() const
AtlScaleFactor&JetVertexWeight()
AtlScaleFactor&LeptonWeight()
virtual voidTObject::ls(Option_t* option = "") const
UInt_tLumiBlock() const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
AtlEventHeader&operator=(const AtlEventHeader&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
voidPrintEventType() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
UInt_tRunNr() const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidSetActualIntPerXing(Float_t intpercrossing)
voidSetAverageIntPerXing(Float_t intpercrossing)
voidSetBeamEnergy(Float_t BeamEnergy)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetChannelNumber(UInt_t channelnumber)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEventNr(ULong64_t EventNr)
voidSetEventType(AtlEventHeader::EType type)
static voidSetEvtTreeInfo(AtlEvtTreeInfo* TreeInfo)
voidSetHFORType(UInt_t hfor_type)
voidSetLumiBlock(UInt_t LumiBlock)
voidSetMC(Bool_t IsMC)
voidSetMCWeight(Double_t mc_weight)
voidSetMMWeightFakeAlternate(Double_t mm_weight)
voidSetMMWeightFakeMCdown(Double_t mm_weight)
voidSetMMWeightFakeMCup(Double_t mm_weight)
voidSetMMWeightNominal(Double_t mm_weight)
voidSetMMWeightRealAlternate(Double_t mm_weight)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPDFInfo(Double_t mcevt_pdf1, Double_t mcevt_pdf2, Int_t mcevt_pdf_id1, Int_t mcevt_pdf_id2, Double_t mcevt_pdf_scale, Double_t mcevt_pdf_x1, Double_t mcevt_pdf_x2)
voidSetPileupWeight(Double_t pileup_weight)
voidSetPreselectionFlags(ULong_t PreselectionFlags)
voidSetPreTagEvtWeight(Float_t Weight)
voidSetRunNr(UInt_t RunNr)
voidSetTagEvtWeight(Float_t Weight)
voidSetTruthFlavor(Long_t TruthFlavor)
voidSetTruthWeightCorrection(Double_t TruthWeightCorrection)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetZVtxWeight(Double_t zvtx_weight)
virtual voidShowMembers(TMemberInspector& insp) const
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
Bool_tTestPreselectionFlagsAny(ULong_t PreselectionFlags) 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
voidTObject::MakeZombie()

Data Members

public:
static AtlEventHeader::EPreselectionFlagsk2Lep
static AtlEventHeader::EPreselectionFlagsk3Lep
static TObject::(anonymous)TObject::kBitMask
static AtlEventHeader::ETypekCalibration
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static AtlEventHeader::ETypekCosmics
static AtlEventHeader::EPreselectionFlagskElEl
static AtlEventHeader::EPreselectionFlagskElElEl
static AtlEventHeader::EPreselectionFlagskElElMu
static AtlEventHeader::EPreselectionFlagskElJets
static AtlEventHeader::EPreselectionFlagskElMu
static AtlEventHeader::EPreselectionFlagskElMuMu
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static AtlEventHeader::EPreselectionFlagskLeptonic
static AtlEventHeader::EPreselectionFlagskMuJets
static AtlEventHeader::EPreselectionFlagskMuMu
static AtlEventHeader::EPreselectionFlagskMuMuMu
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static AtlEventHeader::ETypekPhysics
static TObject::(anonymous)TObject::kSingleKey
static AtlEventHeader::ETypekTestBeam
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
Float_tfActualIntPerXingActual interactions per bunch-crossing
Float_tfAverageIntPerXingAverage interactions per bunch-crossing
Float_tfBeamEnergyBeam energy (GeV)
AtlScaleFactor*fBtagWeight_MV2c10_70! weight correcting b-tagging efficiencies
AtlScaleFactor*fBtagWeight_MV2c10_77! weight correcting b-tagging efficiencies
AtlScaleFactor*fBtagWeight_MV2c10_85! weight correcting b-tagging efficiencies
AtlScaleFactor*fBtagWeight_MV2c20_77! weight correcting b-tagging efficiencies
AtlScaleFactor*fBtagWeight_MV2c20_85! weight correcting b-tagging efficiencies
UInt_tfChannelNrChannel number
ULong64_tfEventNrEvent number
AtlEventHeader::ETypefEventTypeType of event
UInt_tfHFOR_typeHFOR type number
Bool_tfIsMCIs real data or simulation ?
AtlScaleFactor*fJetVertexWeight! weight correcting jet-vertex-fraction cut efficiencies
AtlScaleFactor*fLeptonWeight! weight correcting lepton (trigger) efficiencies
UInt_tfLumiBlockLuminosity block identifier
Double_tfMCWeightMC Generator weight
Float_tfMMWeight_fake_alternateMM weight
Float_tfMMWeight_fake_mc_downMM weight
Float_tfMMWeight_fake_mc_upMM weight
Float_tfMMWeight_nominalMM weight
Float_tfMMWeight_real_alternateMM weight
Double_tfPileupWeightPile-up weight
Float_tfPreTagEvtWeightTotal event weight w/o b-tagging (see the AtlObjRecoScaleFactorTool for details)
ULong_tfPreselectionFlags
UInt_tfRunNrRun number
Float_tfTagEvtWeightTotal event weight w/ b-tagging (see the AtlObjRecoScaleFactorTool for details)
Long_tfTruthFlavor
Double_tfTruthWeightCorrectiongeneric truth reweighting (e.g. PDFs, Pt(top), ...)
Double_tfZVtxWeightZ-vertex weight
static AtlEvtTreeInfo*fgTreeInfo! Pointer to the current A++ tree info object
Double_tfmcevt_pdf1
Double_tfmcevt_pdf2
Int_tfmcevt_pdf_id1
Int_tfmcevt_pdf_id2
Double_tfmcevt_pdf_scale
Double_tfmcevt_pdf_x1
Double_tfmcevt_pdf_x2

Class Charts

Inheritance Chart:
TObject
AtlEventHeader

Function documentation

AtlEventHeader()
 Default constructor

~AtlEventHeader()
 Default destructor

void Clear(Option_t* option = "")
 Clear event header

void Print(Option_t* option = "") const
 Print object information

void PrintEventType() const
 Print event type

void SetPreselectionFlags(ULong_t PreselectionFlags)
void SetTruthFlavor(Long_t TruthFlavor)
AtlEventHeader()
Float_t BeamEnergy() const
{ return fBeamEnergy; }
UInt_t RunNr() const
{ return fRunNr; }
ULong64_t EventNr() const
{ return fEventNr; }
UInt_t LumiBlock() const
{ return fLumiBlock; }
Bool_t IsMC() const
{ return fIsMC; }
Bool_t IsDATA() const
{ return !fIsMC; }
Bool_t IsPhysics() const
{ return fEventType == kPhysics; }
Bool_t IsCosmics() const
{ return fEventType == kCosmics; }
Bool_t IsTestBeam() const
{ return fEventType == kTestBeam; }
Bool_t IsCalibration() const
{ return fEventType == kCalibration; }
Float_t GetPreTagEvtWeight() const
{ return fPreTagEvtWeight; }
Float_t GetTagEvtWeight() const
{ return fTagEvtWeight; }
Double_t GetMCWeight() const
{ return fMCWeight; }
Double_t GetPileupWeight() const
{ return fPileupWeight; }
Double_t GetZVtxWeight() const
{ return fZVtxWeight; }
Double_t GetMMWeightNominal() const
{ return fMMWeight_nominal; }
Double_t GetMMWeightFake_MC_up() const
Double_t GetMMWeightFake_MC_down() const
Double_t GetMMWeightFake_alternate() const
Double_t GetMMWeightReal_alternate() const
Double_t GetTruthWeightCorrection() const
Float_t GetActualIntPerXing() const
{ return fActualIntPerXing; }
UInt_t GetChannelNumber() const
{ return fChannelNr; }
Float_t GetAverageIntPerXing() const
{ return fAverageIntPerXing; }
UInt_t GetHFORType() const
{ return fHFOR_type; }
Long_t GetTruthFlavor() const
{ return fTruthFlavor; }
Bool_t IsRun1() const
 Is ATLAS Run-1 event ?

Bool_t IsRun2() const
 Is ATLAS Run-2 event ?

void SetRunNr(UInt_t RunNr)
{ fRunNr = RunNr; }
void SetEventNr(ULong64_t EventNr)
void SetEventType(AtlEventHeader::EType type)
{ fEventType = type; }
void SetMC(Bool_t IsMC)
{ fIsMC = IsMC; }
void SetLumiBlock(UInt_t LumiBlock)
void SetBeamEnergy(Float_t BeamEnergy)
void SetPreTagEvtWeight(Float_t Weight)
void SetTagEvtWeight(Float_t Weight)
void SetMCWeight(Double_t mc_weight)
void SetPileupWeight(Double_t pileup_weight)
void SetZVtxWeight(Double_t zvtx_weight)
void SetMMWeightNominal(Double_t mm_weight)
void SetMMWeightFakeMCup(Double_t mm_weight)
void SetMMWeightFakeMCdown(Double_t mm_weight)
void SetMMWeightFakeAlternate(Double_t mm_weight)
void SetMMWeightRealAlternate(Double_t mm_weight)
void SetTruthWeightCorrection(Double_t TruthWeightCorrection)
void SetAverageIntPerXing(Float_t intpercrossing)
void SetActualIntPerXing(Float_t intpercrossing)
void SetChannelNumber(UInt_t channelnumber)
void SetHFORType(UInt_t hfor_type)
AtlEvtTreeInfo* GetEvtTreeInfo()
{ return fgTreeInfo; }
void SetEvtTreeInfo(AtlEvtTreeInfo* TreeInfo)
{ fgTreeInfo = TreeInfo; }
void SetPDFInfo(Double_t mcevt_pdf1, Double_t mcevt_pdf2, Int_t mcevt_pdf_id1, Int_t mcevt_pdf_id2, Double_t mcevt_pdf_scale, Double_t mcevt_pdf_x1, Double_t mcevt_pdf_x2)
 PDF information
Double_t Get_mcevt_pdf1() const
{ return fmcevt_pdf1; }
Double_t Get_mcevt_pdf2() const
{ return fmcevt_pdf2; }
Int_t Get_mcevt_pdf_id1() const
{ return fmcevt_pdf_id1; }
Int_t Get_mcevt_pdf_id2() const
{ return fmcevt_pdf_id2; }
Double_t Get_mcevt_pdf_scale() const
{ return fmcevt_pdf_scale; }
Double_t Get_mcevt_pdf_x1() const
{ return fmcevt_pdf_x1; }
Double_t Get_mcevt_pdf_x2() const
{ return fmcevt_pdf_x2; }
ULong_t GetPreselectionFlags() const
{ return fPreselectionFlags; }
Bool_t TestPreselectionFlagsAny(ULong_t PreselectionFlags) const
{ return (fPreselectionFlags & PreselectionFlags); }
AtlScaleFactor & JetVertexWeight()
{ return *fJetVertexWeight; }
AtlScaleFactor & LeptonWeight()
{ return *fLeptonWeight; }
AtlScaleFactor & BtagWeight_MV2c10_70()
AtlScaleFactor & BtagWeight_MV2c10_77()
AtlScaleFactor & BtagWeight_MV2c10_85()
AtlScaleFactor & BtagWeight_MV2c20_77()
AtlScaleFactor & BtagWeight_MV2c20_85()