5#ifndef InDetSecVtxTruthMatchTool_h
6#define InDetSecVtxTruthMatchTool_h
76 if (matchInfo & (0x1 <<
Matched))
return true;
80 if (matchInfo & (0x1 <<
Merged))
return true;
84 if (matchInfo & (0x1 <<
Split))
return true;
88 if (matchInfo & (0x1 <<
Fake))
return true;
92 if (matchInfo & (0x1 <<
Other))
return true;
101 if (matchInfo & (0x1 <<
Accepted))
return true;
105 if (matchInfo & (0x1 <<
Seeded))
return true;
118 if (type < 0 || type >
Signal) {
121 return matchInfo & (0x1 <<
type);
138 virtual StatusCode
initialize()
override final;
141 virtual StatusCode
matchVertices( std::vector<const xAOD::Vertex*> recoVerticesToMatch, std::vector<const xAOD::TruthVertex*> truthVerticesToMatch,
const xAOD::TrackParticleContainer* trackParticles )
override;
145 Gaudi::Property<float>
m_trkMatchProb{
this,
"trackMatchProb", 0.5,
"Required MC match probability to consider track a good match" };
146 Gaudi::Property<float>
m_vxMatchWeight{
this,
"vertexMatchWeight", 0.5,
"Relative weight threshold to consider vertex matched"};
147 Gaudi::Property<float>
m_trkPtCut{
this,
"trackPtCut", 1000.,
"pt cut to apply on tracks"};
148 Gaudi::Property<std::string>
m_selectedTrackFlag{
this,
"selectedTrackFlag",
"is_selected",
"Aux decoration on tracks for seeding efficiencies"};
149 Gaudi::Property<bool>
m_doMuSA{
this,
"doMuSA",
false,
"Combination flag for special MuSA logic" };
150 Gaudi::Property<bool>
m_doSMOrigin{
this,
"doSMOrigin",
false,
"Enable decoration of SM origin types"};
152 ToolHandle<InDet::IInDetTrackTruthOriginTool>
m_trackTruthOriginTool{
this,
"TrackTruthOriginTool",
"InDet::InDetTrackTruthOriginTool/TrackTruthOriginTool"};
158 std::vector<const xAOD::TruthParticle*>&
set,
int counter)
const;
bool isSeeded(int matchInfo)
bool isSplit(int matchInfo)
bool isFake(int matchInfo)
std::tuple< ElementLink< xAOD::TruthVertexContainer >, float, float > VertexTruthMatchInfo
bool isReconstructedSplit(int matchInfo)
bool isOriginType(int matchInfo, VertexMatchOriginType type)
bool isReconstructable(int matchInfo)
bool isReconstructed(int matchInfo)
bool isMatched(int matchInfo)
bool isAccepted(int matchInfo)
bool isMerged(int matchInfo)
bool isOther(int matchInfo)
TruthVertex_v1 TruthVertex
Typedef to implementation.
TruthParticle_v1 TruthParticle
Typedef to implementation.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".