![]() |
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 | |
| TruthInfo (const TagInfoType &x) | |
| constructor with info type | |
| TruthInfo (const TruthInfo &TruthInfo) | |
| copy destructor | |
| TruthInfo & | operator= (const TruthInfo &rhs) |
| assigenment operator | |
| virtual | ~TruthInfo () |
| default destructor | |
| virtual TruthInfo * | clone () const |
| clone method | |
| const std::string & | jetTruthLabel () const |
| return the truth label | |
| 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. | |
| void | deltaRMinTo (const std::string &key, double dR) |
| min deltaR to quarks: | |
| 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. | |
| virtual void | setTagLikelihood (std::vector< double > &&) |
| to set the tag likelihood for one tagger | |
| virtual const std::vector< double > & | tagLikelihood (void) const |
| returns the tag likelihood of one tagger | |
| virtual void | setWeight (double weight) |
| set the weight for one tagger | |
| virtual double | weight () const |
| get the weight of one tagger | |
| virtual void | makeValid () |
| sets the isValid flag to true, cannot be reversed! | |
| virtual bool | isValid () const |
| returns true if the tag was successfull | |
| virtual TagInfoType | infoType (void) const |
| returns the infoType of the info objects. | |
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 | |
| std::vector< double > | m_tagLikelihood |
| vector to hold the taglikelihood (signal plus N background) | |
| double | m_weight |
| weight for this tag | |
| TagInfoType | m_tagJetInfoType |
| string to hold the info type (specified by the tag tool) | |
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 | ( | ) |
default constructor
Default constructor.
Definition at line 13 of file TruthInfo.cxx.
| Analysis::TruthInfo::TruthInfo | ( | const TagInfoType & | x | ) |
constructor with info type
Definition at line 23 of file TruthInfo.cxx.
| Analysis::TruthInfo::TruthInfo | ( | const TruthInfo & | TruthInfo | ) |
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 |
clone method
Reimplemented from Analysis::BaseTagInfo.
Definition at line 74 of file TruthInfo.h.
| 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 81 of file BaseTagInfo.h.
|
inlinevirtualinherited |
returns true if the tag was successfull
Implements Analysis::ITagInfo.
Definition at line 73 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 77 of file BaseTagInfo.h.
assigenment operator
Definition at line 45 of file TruthInfo.cxx.
|
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 121 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 85 of file BaseTagInfo.h.
|
inlinevirtualinherited |
to set the tag likelihood for one tagger
Implements Analysis::ITagInfo.
Definition at line 89 of file BaseTagInfo.h.
|
inlineprotectedinherited |
Definition at line 117 of file BaseTagInfo.h.
|
inlinevirtualinherited |
set the weight for one tagger
Implements Analysis::ITagInfo.
Definition at line 105 of file BaseTagInfo.h.
|
inlinevirtualinherited |
returns the tag likelihood of one tagger
Implements Analysis::ITagInfo.
Definition at line 93 of file BaseTagInfo.h.
|
inlinevirtualinherited |
get the weight of one tagger
Implements Analysis::ITagInfo.
Definition at line 109 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 66 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 69 of file BaseTagInfo.h.
|
protectedinherited |
vector to hold the taglikelihood (signal plus N background)
Definition at line 67 of file BaseTagInfo.h.
|
protectedinherited |
weight for this tag
Definition at line 68 of file BaseTagInfo.h.