ATLAS Offline Software
Loading...
Searching...
No Matches
AtlfInfo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6#
7namespace Analysis {
8
11 m_isBTagged(false),
12 m_isTauTagged(false),
13 m_isTau1PTagged(false),
14 m_isTau3PTagged(false),
16 m_calFactTau(1.),
18 m_calFactB(1.),
19 m_distanceToBQuark(9999.),
20 m_distanceToCQuark(9999.),
21 m_distanceToTLepton(9999.) {
22 m_tagLikelihood.clear();
23 }
24
26 AtlfInfo::AtlfInfo(const TagInfoType& tagJetInfoType)
27 : BaseTagInfo(tagJetInfoType),
28 m_isBTagged(false),
29 m_isTauTagged(false),
30 m_isTau1PTagged(false),
31 m_isTau3PTagged(false),
33 m_calFactTau(1.),
35 m_calFactB(1.),
36 m_distanceToBQuark(9999.),
37 m_distanceToCQuark(9999.),
38 m_distanceToTLepton(9999.) {
39 m_tagLikelihood.clear();
40 }
41
57
79
83
84 void AtlfInfo::deltaRMinTo(const std::string& key, float dR) {
85 if ( "B"==key || "b"==key) m_distanceToBQuark = dR;
86 if ( "C"==key || "c"==key) m_distanceToCQuark = dR;
87 if ( "T"==key || "t"==key) m_distanceToTLepton = dR;
88 }
89
90 float AtlfInfo::deltaRMinTo(const std::string& key) const {
91 float dR = 9999.;
92 if ( "B"==key || "b"==key) dR = m_distanceToBQuark;
93 if ( "C"==key || "c"==key) dR = m_distanceToCQuark;
94 if ( "T"==key || "t"==key) dR = m_distanceToTLepton;
95 return dR;
96 }
97}
float m_distanceToTLepton
Definition AtlfInfo.h:66
void deltaRMinTo(const std::string &, float)
min deltaR to b,c quarks/tau lepton:
Definition AtlfInfo.cxx:84
float m_distanceToCQuark
Definition AtlfInfo.h:65
virtual ~AtlfInfo()
default destructor
Definition AtlfInfo.cxx:81
float m_calFactTau1P3P
Definition AtlfInfo.h:62
AtlfInfo & operator=(const AtlfInfo &rhs)
assigenment operator
Definition AtlfInfo.cxx:59
float m_distanceToBQuark
Definition AtlfInfo.h:64
AtlfInfo()
default constructor
Definition AtlfInfo.cxx:10
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
Definition BaseTagInfo.h:69
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition BaseTagInfo.h:67
BaseTagInfo()
default constructor
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string TagInfoType