ATLAS Offline Software
|
Class TruthInfo: Class to store more truth information about a JetTag (e.g. More...
#include <TruthInfo.h>
Public Member Functions | |
TruthInfo () | |
default constructor More... | |
TruthInfo (const TagInfoType &x) | |
constructor with info type More... | |
TruthInfo (const TruthInfo &TruthInfo) | |
copy destructor More... | |
TruthInfo & | operator= (const TruthInfo &rhs) |
assigenment operator More... | |
virtual | ~TruthInfo () |
default destructor More... | |
virtual TruthInfo * | clone () const |
clone method More... | |
const std::string & | jetTruthLabel () const |
return the truth label More... | |
void | setJetTruthLabel (const std::string &jetTruthLabel) |
set the truth label The string with which to set the truth label is stored in the JetTruthMatch algtool itself. More... | |
void | deltaRMinTo (const std::string &key, double dR) |
min deltaR to quarks: More... | |
double | deltaRMinTo (const std::string &key) const |
void | BDecayVertex (const Eigen::Vector3d &) |
const Eigen::Vector3d & | BDecayVertex () const |
void | BHadronPdg (const int) |
int | BHadronPdg () const |
virtual void | setTagLikelihood (const std::vector< double > &) |
Return and set methods for the likelihood. More... | |
virtual void | setTagLikelihood (std::vector< double > &&) |
to set the tag likelihood for one tagger More... | |
virtual const std::vector< double > & | tagLikelihood (void) const |
returns the tag likelihood of one tagger More... | |
virtual void | setWeight (double weight) |
set the weight for one tagger More... | |
virtual double | weight () const |
get the weight of one tagger More... | |
virtual void | makeValid () |
sets the isValid flag to true, cannot be reversed! More... | |
virtual bool | isValid () const |
returns true if the tag was successfull More... | |
virtual TagInfoType | infoType (void) const |
returns the infoType of the info objects. More... | |
Protected Member Functions | |
void | setValid (bool valid) |
void | setTagJetInfoType (const TagInfoType &type) |
Protected Attributes | |
bool | m_isValid |
true if the tagger could tag the jet, default is false More... | |
std::vector< double > | m_tagLikelihood |
vector to hold the taglikelihood (signal plus N background) More... | |
double | m_weight |
weight for this tag More... | |
TagInfoType | m_tagJetInfoType |
string to hold the info type (specified by the tag tool) More... | |
Private Attributes | |
std::string | m_jetTruthLabel |
double | m_distanceToBQuark |
double | m_distanceToCQuark |
double | m_distanceToTLepton |
Eigen::Vector3d | m_BHadronDecayVertex |
int | m_BHadronPdg |
Class TruthInfo: Class to store more truth information about a JetTag (e.g.
jet truth labeling)
Definition at line 18 of file TruthInfo.h.
Analysis::TruthInfo::TruthInfo | ( | ) |
Analysis::TruthInfo::TruthInfo | ( | const TagInfoType & | x | ) |
copy destructor
Copy constructor not really needed now, but the object might get more complicated ...
Definition at line 35 of file TruthInfo.cxx.
|
virtual |
|
inline |
Definition at line 70 of file TruthInfo.h.
|
inline |
Definition at line 69 of file TruthInfo.h.
|
inline |
Definition at line 72 of file TruthInfo.h.
|
inline |
Definition at line 71 of file TruthInfo.h.
|
inlinevirtual |
double Analysis::TruthInfo::deltaRMinTo | ( | const std::string & | key | ) | const |
Definition at line 69 of file TruthInfo.cxx.
void Analysis::TruthInfo::deltaRMinTo | ( | const std::string & | key, |
double | dR | ||
) |
|
inlinevirtualinherited |
returns the infoType of the info objects.
This has to be set by the tagger.
Implements Analysis::ITagInfo.
Definition at line 89 of file BaseTagInfo.h.
|
inlinevirtualinherited |
returns true if the tag was successfull
Implements Analysis::ITagInfo.
Definition at line 81 of file BaseTagInfo.h.
|
inline |
return the truth label
Definition at line 79 of file TruthInfo.h.
|
inlinevirtualinherited |
sets the isValid flag to true, cannot be reversed!
Implements Analysis::ITagInfo.
Definition at line 85 of file BaseTagInfo.h.
|
inline |
set the truth label The string with which to set the truth label is stored in the JetTruthMatch algtool itself.
It is passed into the info object by the BTagTool after a successful truth match (otherwise it stays at the default value of "N/A"). The truth label string itself has to be passed into the JetTruthMatch algtool via jobOptions. For the JetTruthMatch algtool instance used by the BTagTool this is set to "b" (and the pdg reference list is set to all b particles).
Definition at line 84 of file TruthInfo.h.
|
inlineprotectedinherited |
Definition at line 129 of file BaseTagInfo.h.
|
inlinevirtualinherited |
Return and set methods for the likelihood.
to set the tag likelihood for one tagger
Implements Analysis::ITagInfo.
Definition at line 93 of file BaseTagInfo.h.
|
inlinevirtualinherited |
to set the tag likelihood for one tagger
Implements Analysis::ITagInfo.
Definition at line 97 of file BaseTagInfo.h.
|
inlineprotectedinherited |
Definition at line 125 of file BaseTagInfo.h.
|
inlinevirtualinherited |
set the weight for one tagger
Implements Analysis::ITagInfo.
Definition at line 113 of file BaseTagInfo.h.
|
inlinevirtualinherited |
returns the tag likelihood of one tagger
Implements Analysis::ITagInfo.
Definition at line 101 of file BaseTagInfo.h.
|
inlinevirtualinherited |
get the weight of one tagger
Implements Analysis::ITagInfo.
Definition at line 117 of file BaseTagInfo.h.
|
private |
Definition at line 65 of file TruthInfo.h.
|
private |
Definition at line 66 of file TruthInfo.h.
|
private |
Definition at line 62 of file TruthInfo.h.
|
private |
Definition at line 63 of file TruthInfo.h.
|
private |
Definition at line 64 of file TruthInfo.h.
|
protectedinherited |
true if the tagger could tag the jet, default is false
Definition at line 74 of file BaseTagInfo.h.
|
private |
Definition at line 61 of file TruthInfo.h.
|
protectedinherited |
string to hold the info type (specified by the tag tool)
Definition at line 77 of file BaseTagInfo.h.
|
protectedinherited |
vector to hold the taglikelihood (signal plus N background)
Definition at line 75 of file BaseTagInfo.h.
|
protectedinherited |
weight for this tag
Definition at line 76 of file BaseTagInfo.h.