ATLAS Offline Software
|
Class QGPartonTruthInfo: Class to store more truth information about a JetTag (e.g. More...
#include <QGPartonTruthInfo.h>
Public Member Functions | |
QGPartonTruthInfo () | |
default constructor More... | |
QGPartonTruthInfo (const TagInfoType &x) | |
constructor with info type More... | |
QGPartonTruthInfo (const QGPartonTruthInfo &QGPartonTruthInfo) | |
copy destructor More... | |
QGPartonTruthInfo & | operator= (const QGPartonTruthInfo &rhs) |
assigenment operator More... | |
virtual | ~QGPartonTruthInfo () |
default destructor More... | |
virtual QGPartonTruthInfo * | 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 | deltaRToParton (double dR) |
min deltaR to quarks: More... | |
double | deltaRToParton () 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_distanceToParton |
Class QGPartonTruthInfo: Class to store more truth information about a JetTag (e.g.
jet truth labeling)
Definition at line 17 of file QGPartonTruthInfo.h.
Analysis::QGPartonTruthInfo::QGPartonTruthInfo | ( | ) |
Analysis::QGPartonTruthInfo::QGPartonTruthInfo | ( | const TagInfoType & | x | ) |
constructor with info type
Definition at line 20 of file QGPartonTruthInfo.cxx.
Analysis::QGPartonTruthInfo::QGPartonTruthInfo | ( | const QGPartonTruthInfo & | QGPartonTruthInfo | ) |
copy destructor
Copy constructor not really needed now, but the object might get more complicated ...
Definition at line 29 of file QGPartonTruthInfo.cxx.
|
virtual |
|
inlinevirtual |
clone method
Reimplemented from Analysis::BaseTagInfo.
Definition at line 60 of file QGPartonTruthInfo.h.
double Analysis::QGPartonTruthInfo::deltaRToParton | ( | ) | const |
Definition at line 54 of file QGPartonTruthInfo.cxx.
void Analysis::QGPartonTruthInfo::deltaRToParton | ( | double | dR | ) |
min deltaR to quarks:
Definition at line 50 of file QGPartonTruthInfo.cxx.
|
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 65 of file QGPartonTruthInfo.h.
|
inlinevirtualinherited |
sets the isValid flag to true, cannot be reversed!
Implements Analysis::ITagInfo.
Definition at line 85 of file BaseTagInfo.h.
QGPartonTruthInfo & Analysis::QGPartonTruthInfo::operator= | ( | const QGPartonTruthInfo & | rhs | ) |
|
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 70 of file QGPartonTruthInfo.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 56 of file QGPartonTruthInfo.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 55 of file QGPartonTruthInfo.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.