A++ » INC » AtlBTag

class AtlBTag: public TObject


 Atlas B-tagger class

 Basically the tag weight and a validity flag is stored for each
 tagger. For some taggers some additinoal information is stored. In
 detail:

   * Impact paramter 2d/3d
       - number of tracks
       - b/u likelihoods

   * SV1 and SV2
       - b/u likelihoods

   * SVInfoPlus and SV0InfoPlus
       - invariant mass at sec. vertex
       - number of 2-track vertices
       - flag for good vertex
       - total number of tracks
       - number of good tracks at vertex
       - number of good tracks in jet
       - energy fraction sec. vtx/jet of charged tracks

   * JetFitterTag
       - b/u likelihoods
       - number of vertices with more than one track
       - number of single-track vertices
       - number of tracks at vertices (with more than one track - sum)
       - invariant mass of the tracks fitted to the vertices with at least 2 tracks
       - energy fraction sec. vtx/jet of charged tracks
       - 3-dim significance of all vertices with more than one track or -if not there-
       - delta(phi) between sum of all momenta at vertices and the fitted B-meson flight direction
       - delta(eta) between sum of all momenta at vertices and the fitted B-meson flight direction


 Author: Oliver Maria Kind <mailto: kind@physik.hu-berlin.de>
 Update: $Id: AtlBTag.cxx,v 1.28 2016/09/30 14:41:45 mergelm Exp $
 Copyright: 2009 (C) Oliver Maria Kind

Function Members (Methods)

public:
virtual~AtlBTag()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
AtlBTag()
AtlBTag(const AtlBTag&)
AtlBTag(AtlBTag::ETagger tagger, Double_t weight, Bool_t Valid)
virtual voidTObject::Browse(TBrowser* b)
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
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_tGetDeltaEta() const
Double_tGetDeltaPhi() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Double_tGetEFrac() const
virtual const char*TObject::GetIconName() const
Int_tGetN1TrkSecVtx() const
Int_tGetN2TrkSecVtx() const
virtual const char*GetName() const
Int_tGetNGoodJetTrk() const
Int_tGetNGoodVtxTrk() const
Int_tGetNManyTrkSecVtx() const
Int_tGetNTrk() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetPb() const
Double_tGetPu() const
Double_tGetSecVtxMass() const
Double_tGetSignificance3d() const
AtlBTag::ETaggerGetTagger() const
static AtlBTag::ETaggerGetTaggerByName(const char* name)
static const char*GetTaggerName(AtlBTag::ETagger tagger)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetWeight() 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_tIsGoodSecVtx() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsValid() 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
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)
AtlBTag&operator=(const AtlBTag&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
static voidPrintFooter()
static voidPrintHeader()
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(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetDeltaPhiEta(Double_t DeltaPhi, Double_t DeltaEta)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEFrac(Double_t EFrac)
voidSetGoodSecVtx(Bool_t GoodSecVtx)
voidSetN1TrkSecVtx(Int_t N1TrkSecVtx)
voidSetN2TrkSecVtx(Int_t N2TrkSecVtx)
voidSetNGoodJetTrk(Int_t NGoodJetTrk)
voidSetNGoodVtxTrk(Int_t NGoodVtxTrk)
voidSetNManyTrkSecVtx(Int_t NManyTrkSecVtx)
voidSetNTrk(Int_t NTrk)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPbPu(Double_t Pb, Double_t Pu)
voidSetSecVtxMass(Double_t SecVtxMass)
voidSetSignificance3d(Double_t Significance3d)
virtual voidTObject::SetUniqueID(UInt_t uid)
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
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 AtlBTag::ETaggerkBaseline
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static AtlBTag::ETaggerkIP2d
static AtlBTag::ETaggerkIP3d
static TObject::EStatusBitsTObject::kInvalidObject
static AtlBTag::ETaggerkInvalidTagger
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static AtlBTag::ETaggerkJetFitterCOMBNN
static AtlBTag::ETaggerkJetFitterTagNN
static AtlBTag::ETaggerkJetProb
static AtlBTag::ETaggerkMV1
static AtlBTag::ETaggerkMV1c
static AtlBTag::ETaggerkMV2c10_70
static AtlBTag::ETaggerkMV2c10_77
static AtlBTag::ETaggerkMV2c10_85
static AtlBTag::ETaggerkMV2c20
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static AtlBTag::ETaggerkNumTaggers
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static AtlBTag::ETaggerkSV0
static AtlBTag::ETaggerkSV0InfoPlus
static AtlBTag::ETaggerkSV1
static AtlBTag::ETaggerkSV2
static AtlBTag::ETaggerkSVInfoPlus
static TObject::(anonymous)TObject::kSingleKey
static AtlBTag::ETaggerkSoftMuonTag
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
Double_tfDeltaEtadelta(eta) between sum of all momenta at vertices and the fitted B-meson flight direction (JetFitterTag only)
Double_tfDeltaPhidelta(phi) between sum of all momenta at vertices and the fitted B-meson flight direction (JetFitterTag only)
Double_tfEFracEnergy fraction sec. vtx/jet (SVInfoPlus, SV0InfoPlus, JetFitterTag only)
Bool_tfGoodSecVtxFlag for good vertices (SVInfoPlus, SV0InfoPlus only)
Int_tfN1TrkSecVtxNumber of single-track vertices (JetFitterTag only)
Int_tfN2TrkSecVtxNumber of two-track vertices (SVInfoPlus, SV0InfoPlus only)
Int_tfNGoodJetTrkNumber of good tracks in jet (SVInfoPlus, SV0InfoPlus only)
Int_tfNGoodVtxTrkNumber of good tracks in vertex (SVInfoPlus, SV0InfoPlus only)
Int_tfNManyTrkSecVtxNumber of >1 track vertices (JetFitterTag only)
Int_tfNTrkNumber of tracks used for tagging in the jet (IP2d, IP3d), total number of vertex tracks (SVInfoPlus, SV0InfoPlus) , total number of tracks at vertices with more than one track (JetFitterTag)
Double_tfPbb likelihood (IP2d, IP3d, SV1, SV2, JetFitterTag only)
Double_tfPuu likelihood (IP2d, IP3d, SV1, SV2, JetFitterTag only)
Double_tfSecVtxMassMass of secondary vertex (SVInfoPlus, SV0InfoPlus, JetFitterTag only)
Double_tfSignificance3d3d significance (JetFitterTag only)
AtlBTag::ETaggerfTaggerType of the used B-tag algorithm
Bool_tfValidValid Tagger ?
Double_tfWeightB-tag weight

Class Charts

Inheritance Chart:
TObject
AtlBTag

Function documentation

AtlBTag()
 Default constructor

AtlBTag(AtlBTag::ETagger tagger, Double_t weight, Bool_t Valid)
 Normal constructor

~AtlBTag()
 Default destructor

void Clear(Option_t* option = "")
 Clear this object

const char* GetTaggerName(AtlBTag::ETagger tagger)
 Get human-readable name of tagger

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

void PrintHeader()
 Print information header

void PrintFooter()
 Print footer

AtlBTag()
ETagger GetTaggerByName(const char* name)
ETagger GetTagger() const
{ return fTagger; }
Double_t GetWeight() const
Bool_t IsValid() const
{ return fValid; }
const char* GetName() const
 Get name of current tagger
Int_t GetNTrk() const
 Number of tracks used for tagging
Double_t GetPb() const
 b likelihood
Double_t GetPu() const
 u likelihood
Double_t GetSecVtxMass() const
 SV0, mass of secondary vertex
Int_t GetN1TrkSecVtx() const
 SV0, number of single-track vertices
Int_t GetNManyTrkSecVtx() const
 SV0, number of many-track vertices
Int_t GetN2TrkSecVtx() const
 SV0, number of two-track vertices
Bool_t IsGoodSecVtx() const
 SV0, flag for good vertices
Int_t GetNGoodVtxTrk() const
 SV0, number of good tracks in vertex
Int_t GetNGoodJetTrk() const
 SV0, number of good tracks in jet
Double_t GetEFrac() const
 SV0, energy fraction sec. vtx/jet
Double_t GetSignificance3d() const
 3d significance (JetFitterTag only)
Double_t GetDeltaPhi() const
 delta(phi) between sum of all momenta at vertices and the
 fitted B-meson flight direction (JetFitter only)
Double_t GetDeltaEta() const
 delta(eta) between sum of all momenta at vertices and the
 fitted B-meson flight direction (JetFitter only)
void SetNTrk(Int_t NTrk)
{ fNTrk = NTrk; }
void SetPbPu(Double_t Pb, Double_t Pu)
{ fPb = Pb; fPu = Pu; }
void SetSecVtxMass(Double_t SecVtxMass)
{ fSecVtxMass = SecVtxMass; }
void SetN1TrkSecVtx(Int_t N1TrkSecVtx)
{ fN1TrkSecVtx = N1TrkSecVtx; }
void SetN2TrkSecVtx(Int_t N2TrkSecVtx)
{ fN2TrkSecVtx = N2TrkSecVtx; }
void SetNManyTrkSecVtx(Int_t NManyTrkSecVtx)
{ fNManyTrkSecVtx = NManyTrkSecVtx; }
void SetGoodSecVtx(Bool_t GoodSecVtx)
{ fGoodSecVtx = GoodSecVtx; }
void SetNGoodVtxTrk(Int_t NGoodVtxTrk)
{ fNGoodVtxTrk = NGoodVtxTrk; }
void SetNGoodJetTrk(Int_t NGoodJetTrk)
{ fNGoodJetTrk = NGoodJetTrk; }
void SetEFrac(Double_t EFrac)
{ fEFrac = EFrac; }
void SetSignificance3d(Double_t Significance3d)
{ fSignificance3d = Significance3d; }
void SetDeltaPhiEta(Double_t DeltaPhi, Double_t DeltaEta)