ATLAS Offline Software
|
#include <IPInfoPlus.h>
Public Member Functions | |
IPInfoPlus () | |
Default constructor. More... | |
IPInfoPlus (const TagInfoType &x) | |
Constructors from tag type. More... | |
IPInfoPlus (const IPInfoPlus &IPInfoPlus) | |
IPInfoPlus & | operator= (const IPInfoPlus &rhs) |
virtual | ~IPInfoPlus () |
virtual IPInfoPlus * | clone () const |
a clone method for the proper workings of the copy constructor More... | |
int | numTrackInfo () const |
Number of track info objects stored. More... | |
void | addTrackInfo (const IPTrackInfo &i) |
Insert a new track info object. More... | |
const IPTrackInfo & | getTrackInfo (uint i) const |
Get a track info object. More... | |
void | updateTrackWeight (const Rec::TrackParticle *trk, const std::string &view, double w) |
Update the track weights for a trackparticle. 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< IPTrackInfo > | m_trackinfo |
This class contains additional information for tags based on impact parameter, like pointers to the TrackParticles used in the tag, impact parameter at the primary vertex, ...
Definition at line 25 of file IPInfoPlus.h.
Analysis::IPInfoPlus::IPInfoPlus | ( | ) |
Default constructor.
Definition at line 14 of file IPInfoPlus.cxx.
Analysis::IPInfoPlus::IPInfoPlus | ( | const TagInfoType & | x | ) |
Constructors from tag type.
Definition at line 20 of file IPInfoPlus.cxx.
Analysis::IPInfoPlus::IPInfoPlus | ( | const IPInfoPlus & | IPInfoPlus | ) |
Definition at line 26 of file IPInfoPlus.cxx.
|
virtual |
Definition at line 38 of file IPInfoPlus.cxx.
|
inline |
|
inlinevirtual |
a clone method for the proper workings of the copy constructor
Reimplemented from Analysis::BaseTagInfo.
Definition at line 56 of file IPInfoPlus.h.
|
inline |
Get a track info object.
Definition at line 41 of file IPInfoPlus.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 |
IPInfoPlus & Analysis::IPInfoPlus::operator= | ( | const IPInfoPlus & | rhs | ) |
Definition at line 30 of file IPInfoPlus.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.
void Analysis::IPInfoPlus::updateTrackWeight | ( | const Rec::TrackParticle * | trk, |
const std::string & | view, | ||
double | w | ||
) |
|
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.
|
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.
|
private |
Definition at line 48 of file IPInfoPlus.h.
|
protectedinherited |
weight for this tag
Definition at line 76 of file BaseTagInfo.h.