![]() |
ATLAS Offline Software
|
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, ... More...
#include <IPInfoPlus.h>
Public Member Functions | |
| IPInfoPlus () | |
| Default constructor. | |
| IPInfoPlus (const TagInfoType &x) | |
| Constructors from tag type. | |
| 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 | |
| int | numTrackInfo () const |
| Number of track info objects stored. | |
| void | addTrackInfo (const IPTrackInfo &i) |
| Insert a new track info object. | |
| const IPTrackInfo & | getTrackInfo (uint i) const |
| Get a track info object. | |
| void | updateTrackWeight (const Rec::TrackParticle *trk, const std::string &view, double w) |
| Update the track weights for a trackparticle. | |
| 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 | |
| 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 |
Insert a new track info object.
Definition at line 39 of file IPInfoPlus.h.
|
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 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 |
| IPInfoPlus & Analysis::IPInfoPlus::operator= | ( | const IPInfoPlus & | rhs | ) |
Definition at line 30 of file IPInfoPlus.cxx.
|
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.
|
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.
| void Analysis::IPInfoPlus::updateTrackWeight | ( | const Rec::TrackParticle * | trk, |
| const std::string & | view, | ||
| double | w ) |
Update the track weights for a trackparticle.
Definition at line 41 of file IPInfoPlus.cxx.
|
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.
|
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 48 of file IPInfoPlus.h.
|
protectedinherited |
weight for this tag
Definition at line 68 of file BaseTagInfo.h.