ATLAS Offline Software
|
Class BasetagInfo: Implements methods defined in ITagInfo. More...
#include <BaseTagInfo.h>
Inherits JetTagInfoBase.
Inherited by Analysis::AtlfInfo, Analysis::GbbNNTagInfo, Analysis::HadFlavorTagInfo, Analysis::IJetFitterTagInfo [virtual]
, Analysis::IPInfoBase, Analysis::IPInfoPlus, Analysis::JetProbInfoBase, Analysis::LifetimeInfo, Analysis::MultiSVInfoPlus, Analysis::QGPartonTruthInfo, Analysis::SecVtxInfo, Analysis::SoftElectronInfo, Analysis::SoftLeptonTruthInfo, Analysis::SoftMuonInfo, Analysis::SVInfoBase, Analysis::SVInfoPlus, Analysis::SvxSummary, Analysis::TrackCountingInfo, and Analysis::TruthInfo.
Public Member Functions | |
BaseTagInfo () | |
default constructor More... | |
BaseTagInfo (const TagInfoType &x) | |
constructor with info type More... | |
BaseTagInfo (const BaseTagInfo &BaseTagInfo) | |
copy destructor More... | |
BaseTagInfo & | operator= (const BaseTagInfo &rhs) |
assigenment operator More... | |
virtual | ~BaseTagInfo () |
default destructor More... | |
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... | |
virtual BaseTagInfo * | clone () const |
a clone method for the proper workings of the copy constructor 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... | |
Friends | |
class | Analysis::BaseTagInfoCnv_p1 |
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition at line 39 of file BaseTagInfo.h.
Analysis::BaseTagInfo::BaseTagInfo | ( | ) |
Analysis::BaseTagInfo::BaseTagInfo | ( | const TagInfoType & | x | ) |
Analysis::BaseTagInfo::BaseTagInfo | ( | const BaseTagInfo & | BaseTagInfo | ) |
copy destructor
Copy constructor not really needed now, but the object might get more complicated ...
Definition at line 51 of file BaseTagInfo.cxx.
|
virtual |
|
inlinevirtual |
a clone method for the proper workings of the copy constructor
Implements JetTagInfoBase.
Reimplemented in Analysis::IJetFitterTagInfo, Analysis::JetFitterTagInfo, Analysis::SecVtxInfo, Analysis::JetFitterGenericTagInfo, Analysis::SoftElectronInfo, Analysis::LifetimeInfo, Analysis::GbbNNTagInfo, Analysis::HadFlavorTagInfo, Analysis::SoftMuonInfo, Analysis::TrackCountingInfo, Analysis::IPInfoBase, Analysis::JetProbInfoBase, Analysis::TruthInfo, Analysis::QGPartonTruthInfo, Analysis::SoftLeptonTruthInfo, Analysis::SVInfoBase, Analysis::IPInfoPlus, Analysis::SvxSummary, Analysis::MultiSVInfoPlus, Analysis::SVInfoPlus, and Analysis::AtlfInfo.
Definition at line 121 of file BaseTagInfo.h.
|
inlinevirtual |
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.
|
inlinevirtual |
returns true if the tag was successfull
Implements Analysis::ITagInfo.
Definition at line 81 of file BaseTagInfo.h.
|
inlinevirtual |
sets the isValid flag to true, cannot be reversed!
Implements Analysis::ITagInfo.
Definition at line 85 of file BaseTagInfo.h.
BaseTagInfo & Analysis::BaseTagInfo::operator= | ( | const BaseTagInfo & | rhs | ) |
|
inlineprotected |
Definition at line 129 of file BaseTagInfo.h.
|
inlinevirtual |
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.
|
inlinevirtual |
to set the tag likelihood for one tagger
Implements Analysis::ITagInfo.
Definition at line 97 of file BaseTagInfo.h.
|
inlineprotected |
Definition at line 125 of file BaseTagInfo.h.
|
inlinevirtual |
set the weight for one tagger
Implements Analysis::ITagInfo.
Definition at line 113 of file BaseTagInfo.h.
|
inlinevirtual |
returns the tag likelihood of one tagger
Implements Analysis::ITagInfo.
Definition at line 101 of file BaseTagInfo.h.
|
inlinevirtual |
get the weight of one tagger
Implements Analysis::ITagInfo.
Definition at line 117 of file BaseTagInfo.h.
|
friend |
Definition at line 70 of file BaseTagInfo.h.
|
protected |
true if the tagger could tag the jet, default is false
Definition at line 74 of file BaseTagInfo.h.
|
protected |
string to hold the info type (specified by the tag tool)
Definition at line 77 of file BaseTagInfo.h.
|
protected |
vector to hold the taglikelihood (signal plus N background)
Definition at line 75 of file BaseTagInfo.h.
|
protected |
weight for this tag
Definition at line 76 of file BaseTagInfo.h.