5#ifndef InDetSecVtxTruthMatchTool_h
6#define InDetSecVtxTruthMatchTool_h
77 if (matchInfo & (0x1 <<
Matched))
return true;
81 if (matchInfo & (0x1 <<
Merged))
return true;
85 if (matchInfo & (0x1 <<
Split))
return true;
89 if (matchInfo & (0x1 <<
Fake))
return true;
93 if (matchInfo & (0x1 <<
Other))
return true;
102 if (matchInfo & (0x1 <<
Accepted))
return true;
106 if (matchInfo & (0x1 <<
Seeded))
return true;
119 if (type < 0 || type >
Signal) {
122 return matchInfo & (0x1 <<
type);
139 virtual StatusCode
initialize()
override final;
142 virtual StatusCode
matchVertices( std::vector<const xAOD::Vertex*> recoVerticesToMatch, std::vector<const xAOD::TruthVertex*> truthVerticesToMatch,
const xAOD::TrackParticleContainer* trackParticles )
override;
146 Gaudi::Property<float>
m_trkMatchProb{
this,
"trackMatchProb", 0.5,
"Required MC match probability to consider track a good match" };
147 Gaudi::Property<float>
m_vxMatchWeight{
this,
"vertexMatchWeight", 0.5,
"Relative weight threshold to consider vertex matched"};
148 Gaudi::Property<float>
m_trkPtCut{
this,
"trackPtCut", 1000.,
"pt cut to apply on tracks"};
149 Gaudi::Property<std::string>
m_selectedTrackFlag{
this,
"selectedTrackFlag",
"is_selected",
"Aux decoration on tracks for seeding efficiencies"};
150 Gaudi::Property<bool>
m_doMuSA{
this,
"doMuSA",
false,
"Combination flag for special MuSA logic" };
151 Gaudi::Property<bool>
m_doSMOrigin{
this,
"doSMOrigin",
false,
"Enable decoration of SM origin types"};
153 ToolHandle<InDet::IInDetTrackTruthOriginTool>
m_trackTruthOriginTool{
this,
"TrackTruthOriginTool",
"InDet::InDetTrackTruthOriginTool/TrackTruthOriginTool"};
154 Gaudi::Property<std::string>
m_muonContainerName{
this,
"MuonContainer",
"StdWithLRTMuons",
"Primary muon container name used in MuSA mode"};
155 Gaudi::Property<std::string>
m_muonFallbackContainerName{
this,
"FallbackMuonContainer",
"Muons",
"Fallback muon container if primary is unavailable"};
161 std::vector<const xAOD::TruthParticle*>&
set,
int counter)
const;
xAOD::MuonContainer * muonContainer
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.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Muon_v1 Muon
Reference the current persistent version:
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".