ATLAS Offline Software
|
The SecVtxInfo class: This class contains information of the secondary vertex fit within the jet. More...
#include <SecVtxInfo.h>
Public Types | |
enum | FitType { TearDown =0, BuildUp =1, NoFit =2 } |
Public Member Functions | |
SecVtxInfo () | |
default constructor More... | |
SecVtxInfo (const TagInfoType &x) | |
constructor with infotype More... | |
SecVtxInfo (const SecVtxInfo &rhs) | |
copy destructor More... | |
SecVtxInfo & | operator= (const SecVtxInfo &rhs) |
assigenment operator More... | |
virtual | ~SecVtxInfo () |
default destructor More... | |
virtual SecVtxInfo * | clone () const |
a clone method for the proper workings of the copy constructor More... | |
int | numSelTracksForFit () const |
The number of tracks available for the sec.vtx. More... | |
double | distance () const |
The distance between the primary and the secondary vertex. More... | |
double | rphidistance () const |
double | probability () const |
The fit probability of the fit. More... | |
double | mass () const |
The invariant mass of the tracks fitted to the vertex. More... | |
double | energyFraction () const |
The energy fraction: Evtx/Ejet of charges tracks. More... | |
int | mult () const |
The number of tracks fitted in the vertex. More... | |
FitType | fitType () const |
Returns an enum to indicate the type of fit. More... | |
const Trk::RecVertex & | secVertexPos () const |
Returns the reconstructed secondary vertex. More... | |
int | NumberOfG2TrackVertices () const |
Returns number of 2 track vertices. More... | |
void | setFitType (FitType type) |
Set-methods for the private data members of the class. More... | |
void | setSecVtx (const Trk::RecVertex &secVtx, double fitProb, const TrackVec &fittedTrks) |
void | setNumSelTracksForFit (int numSelTracksForFit) |
void | setMult (int mult) |
void | setMass (double mass) |
void | setEnergyFraction (double energyFraction) |
void | setDist (double dist) |
void | setRPhiDist (double dist) |
void | setNumberOfG2TrackVertices (int NSVPair) |
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 | |
int | m_numSelTracksForFit |
The number of tracks available for the sec.vtx. More... | |
double | m_dist |
double | m_rphidist |
double | m_prob |
double | m_mass |
double | m_energyFraction |
TrackVec | m_fittedTrks |
int | m_mult |
FitType | m_fitType |
Trk::RecVertex | m_secVtxPos |
int | m_NGood2TrackVertices |
The SecVtxInfo class: This class contains information of the secondary vertex fit within the jet.
It is not supposed to be an overly intelligent class with much overhead. The class inherits from IBInfo and can therefor be put into the BJet as additional info to the B-Jet.
Currently available methods to retrieve information:
Methods to fill the class with information:
Definition at line 59 of file SecVtxInfo.h.
Enumerator | |
---|---|
TearDown | |
BuildUp | |
NoFit |
Definition at line 62 of file SecVtxInfo.h.
Analysis::SecVtxInfo::SecVtxInfo | ( | ) |
Analysis::SecVtxInfo::SecVtxInfo | ( | const TagInfoType & | x | ) |
Analysis::SecVtxInfo::SecVtxInfo | ( | const SecVtxInfo & | rhs | ) |
|
virtual |
|
inlinevirtual |
a clone method for the proper workings of the copy constructor
Reimplemented from Analysis::BaseTagInfo.
Definition at line 218 of file SecVtxInfo.h.
|
inline |
The distance between the primary and the secondary vertex.
Not implemented yet. Maybe needs two- and three dim distances.
Definition at line 142 of file SecVtxInfo.h.
|
inline |
The energy fraction: Evtx/Ejet of charges tracks.
Definition at line 158 of file SecVtxInfo.h.
|
inline |
Returns an enum to indicate the type of fit.
Definition at line 166 of file SecVtxInfo.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 |
The invariant mass of the tracks fitted to the vertex.
Definition at line 154 of file SecVtxInfo.h.
|
inline |
The number of tracks fitted in the vertex.
Definition at line 162 of file SecVtxInfo.h.
|
inline |
Returns number of 2 track vertices.
Definition at line 214 of file SecVtxInfo.h.
|
inline |
The number of tracks available for the sec.vtx.
fit after track sel. cuts.
Definition at line 138 of file SecVtxInfo.h.
SecVtxInfo & Analysis::SecVtxInfo::operator= | ( | const SecVtxInfo & | rhs | ) |
|
inline |
The fit probability of the fit.
It is set to -1 it the fit did not work.
Definition at line 150 of file SecVtxInfo.h.
|
inline |
Definition at line 146 of file SecVtxInfo.h.
|
inline |
Returns the reconstructed secondary vertex.
Definition at line 170 of file SecVtxInfo.h.
|
inline |
Definition at line 202 of file SecVtxInfo.h.
|
inline |
Definition at line 194 of file SecVtxInfo.h.
|
inline |
Set-methods for the private data members of the class.
Definition at line 198 of file SecVtxInfo.h.
|
inline |
Definition at line 190 of file SecVtxInfo.h.
|
inline |
Definition at line 186 of file SecVtxInfo.h.
|
inline |
Definition at line 210 of file SecVtxInfo.h.
|
inline |
Definition at line 182 of file SecVtxInfo.h.
|
inline |
Definition at line 206 of file SecVtxInfo.h.
|
inline |
Definition at line 174 of file SecVtxInfo.h.
|
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.
|
private |
Definition at line 126 of file SecVtxInfo.h.
|
private |
Definition at line 130 of file SecVtxInfo.h.
|
private |
Definition at line 131 of file SecVtxInfo.h.
|
private |
Definition at line 133 of file SecVtxInfo.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 129 of file SecVtxInfo.h.
|
private |
Definition at line 132 of file SecVtxInfo.h.
|
private |
Definition at line 135 of file SecVtxInfo.h.
|
private |
The number of tracks available for the sec.vtx.
fit after track sel. cuts
Definition at line 125 of file SecVtxInfo.h.
|
private |
Definition at line 128 of file SecVtxInfo.h.
|
private |
Definition at line 127 of file SecVtxInfo.h.
|
private |
Definition at line 134 of file SecVtxInfo.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.