 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef InDetSecVtxTruthMatchTool_h
6 #define InDetSecVtxTruthMatchTool_h
76 if (matchInfo & (0
x1 <<
Matched))
return true;
80 if (matchInfo & (0
x1 <<
Merged))
return true;
84 if (matchInfo & (0
x1 <<
Split))
return true;
88 if (matchInfo & (0
x1 <<
Fake))
return true;
92 if (matchInfo & (0
x1 <<
Other))
return true;
101 if (matchInfo & (0
x1 <<
Accepted))
return true;
105 if (matchInfo & (0
x1 <<
Seeded))
return true;
118 if (type < 0 || type >
Signal) {
121 return matchInfo & (0x1 <<
type);
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 isFake(int matchInfo)
bool isReconstructable(int matchInfo)
bool isMerged(int matchInfo)
bool isMatched(int matchInfo)
bool isSplit(int matchInfo)
bool isOther(int matchInfo)
bool isReconstructed(int matchInfo)
bool isAccepted(int matchInfo)
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Class describing a truth vertex in the MC record.
bool isOriginType(int matchInfo, VertexMatchOriginType type)
bool isReconstructedSplit(int matchInfo)
std::tuple< ElementLink< xAOD::TruthVertexContainer >, float, float > VertexTruthMatchInfo
bool isSeeded(int matchInfo)