![]() |
ATLAS Offline Software
|
#include <SoftElectronInfo.h>
Public Member Functions | |
| SoftElectronInfo () | |
| default constructor | |
| SoftElectronInfo (const TagInfoType &x) | |
| constructor with info type | |
| SoftElectronInfo (const SoftElectronInfo &SoftElectronInfo) | |
| copy destructor | |
| SoftElectronInfo & | operator= (const SoftElectronInfo &rhs) |
| assigenment operator | |
| virtual | ~SoftElectronInfo () |
| default destructor | |
| virtual SoftElectronInfo * | clone () const |
| Return and set methods for the likelihood. | |
| void | setTrackProb (const FloatVec &vec) |
| Return and set methods for the signal and background likelihood. | |
| void | setTrackProb (FloatVec &&vec) |
| void | setNTrackProb (double nTrackProb) |
| const FloatVec & | vectorTrackProb (void) const |
| double | nTrackProb (void) const |
| int | numTrackInfo () const |
| Number of muon track info objects stored. | |
| void | addTrackInfo (const SETrackInfo &i) |
| Insert a new track info object. | |
| const SETrackInfo & | getTrackInfo (uint i) const |
| Get a track info object. | |
| 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 | |
| FloatVec | m_vectorOfTrackProb |
| double | m_nTrackProb |
| std::vector< SETrackInfo > | m_trackinfo |
Definition at line 32 of file SoftElectronInfo.h.
| Analysis::SoftElectronInfo::SoftElectronInfo | ( | ) |
default constructor
Default constructor.
Definition at line 27 of file SoftElectronInfo.cxx.
| Analysis::SoftElectronInfo::SoftElectronInfo | ( | const TagInfoType & | x | ) |
constructor with info type
Definition at line 36 of file SoftElectronInfo.cxx.
| Analysis::SoftElectronInfo::SoftElectronInfo | ( | const SoftElectronInfo & | SoftElectronInfo | ) |
copy destructor
Copy constructor not really needed now, but the object might get more complicated ...
Definition at line 48 of file SoftElectronInfo.cxx.
|
virtual |
|
inline |
Insert a new track info object.
Definition at line 65 of file SoftElectronInfo.h.
|
inlinevirtual |
Return and set methods for the likelihood.
Reimplemented from Analysis::BaseTagInfo.
Definition at line 100 of file SoftElectronInfo.h.
|
inline |
Get a track info object.
Definition at line 67 of file SoftElectronInfo.h.
|
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.
|
inlinevirtualinherited |
sets the isValid flag to true, cannot be reversed!
Implements Analysis::ITagInfo.
Definition at line 77 of file BaseTagInfo.h.
|
inline |
Definition at line 96 of file SoftElectronInfo.h.
|
inline |
| SoftElectronInfo & Analysis::SoftElectronInfo::operator= | ( | const SoftElectronInfo & | rhs | ) |
assigenment operator
Definition at line 55 of file SoftElectronInfo.cxx.
|
inline |
Definition at line 88 of file SoftElectronInfo.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.
|
inline |
Return and set methods for the signal and background likelihood.
Both numbers are needed in order to make normalisation possible when calculating the combined likelihood in the algorithm.
Definition at line 80 of file SoftElectronInfo.h.
|
inline |
Definition at line 84 of file SoftElectronInfo.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.
|
inline |
Definition at line 92 of file SoftElectronInfo.h.
|
inlinevirtualinherited |
get the weight of one tagger
Implements Analysis::ITagInfo.
Definition at line 109 of file BaseTagInfo.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 73 of file SoftElectronInfo.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.
|
private |
Definition at line 74 of file SoftElectronInfo.h.
|
private |
Definition at line 72 of file SoftElectronInfo.h.
|
protectedinherited |
weight for this tag
Definition at line 68 of file BaseTagInfo.h.