8#include "GaudiKernel/MsgStream.h"
45 if(view==
"2D")
m_trackinfo.at(i).setTrackWeight2D(w);
46 if(view==
"3D")
m_trackinfo.at(i).setTrackWeight3D(w);
48 if(view==
"JPneg")
m_trackinfo.at(i).setTrackProbJPneg(w);
55 int ntrk = info.numTrackInfo();
56 out <<
" - Tag type " << info.infoType()
57 <<
" based on " << ntrk <<
" tracks:" <<
endmsg;
58 for(
int i=0;i<ntrk;i++) {
59 out <<
" -> " << i << info.getTrackInfo(i) <<
endmsg;
65 int ntrk = info.numTrackInfo();
66 out <<
" - Tag type " << info.infoType()
67 <<
" based on " << ntrk <<
" tracks:" << std::endl;
68 for(
int i=0;i<ntrk;i++) {
69 out <<
" -> " << info.getTrackInfo(i) << std::endl;
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
BaseTagInfo()
default constructor
This class contains additional information for tags based on impact parameter, like pointers to the T...
void updateTrackWeight(const Rec::TrackParticle *trk, const std::string &view, double w)
Update the track weights for a trackparticle.
int numTrackInfo() const
Number of track info objects stored.
std::vector< IPTrackInfo > m_trackinfo
IPInfoPlus & operator=(const IPInfoPlus &rhs)
IPInfoPlus()
Default constructor.
The namespace of all packages in PhysicsAnalysis/JetTagging.
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.