ATLAS Offline Software
|
Class SoftLeptonTruthInfo: Class to store truth information about lepton in jet. More...
#include <SoftLeptonTruthInfo.h>
Public Member Functions | |
SoftLeptonTruthInfo () | |
default constructor More... | |
SoftLeptonTruthInfo (const TagInfoType &) | |
constructor with info type More... | |
SoftLeptonTruthInfo (const SoftLeptonTruthInfo &SoftLeptonTruthInfo) | |
copy destructor More... | |
SoftLeptonTruthInfo & | operator= (const SoftLeptonTruthInfo &rhs) |
assigenment operator More... | |
virtual | ~SoftLeptonTruthInfo () |
default destructor More... | |
virtual SoftLeptonTruthInfo * | clone () const |
clone method More... | |
int | numSLTrueInfo () const |
Number of truth lepton info objects stored. More... | |
void | addSLTrueInfo (const SLTrueInfo &i) |
Insert a new track info object. More... | |
const SLTrueInfo & | getSLTrueInfo (uint i) const |
Get a track info object. 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... | |
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::vector< SLTrueInfo > | m_sltrueinfo |
Class SoftLeptonTruthInfo: Class to store truth information about lepton in jet.
Definition at line 17 of file SoftLeptonTruthInfo.h.
Analysis::SoftLeptonTruthInfo::SoftLeptonTruthInfo | ( | ) |
Analysis::SoftLeptonTruthInfo::SoftLeptonTruthInfo | ( | const TagInfoType & | tagJetInfoType | ) |
constructor with info type
Definition at line 14 of file SoftLeptonTruthInfo.cxx.
Analysis::SoftLeptonTruthInfo::SoftLeptonTruthInfo | ( | const SoftLeptonTruthInfo & | SoftLeptonTruthInfo | ) |
copy destructor
Copy constructor not really needed now, but the object might get more complicated ...
Definition at line 23 of file SoftLeptonTruthInfo.cxx.
|
virtual |
|
inline |
|
inlinevirtual |
clone method
Reimplemented from Analysis::BaseTagInfo.
Definition at line 54 of file SoftLeptonTruthInfo.h.
|
inline |
Get a track info object.
Definition at line 44 of file SoftLeptonTruthInfo.h.
|
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.
|
inlinevirtualinherited |
sets the isValid flag to true, cannot be reversed!
Implements Analysis::ITagInfo.
Definition at line 85 of file BaseTagInfo.h.
|
inline |
SoftLeptonTruthInfo & Analysis::SoftLeptonTruthInfo::operator= | ( | const SoftLeptonTruthInfo & | rhs | ) |
assigenment operator
Definition at line 28 of file SoftLeptonTruthInfo.cxx.
|
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.
|
protectedinherited |
true if the tagger could tag the jet, default is false
Definition at line 74 of file BaseTagInfo.h.
|
private |
Definition at line 50 of file SoftLeptonTruthInfo.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.