ATLAS Offline Software
Typedefs | Enumerations | Functions
InDetSecVtxTruthMatchUtils Namespace Reference

Typedefs

typedef std::tuple< ElementLink< xAOD::TruthVertexContainer >, float, float > VertexTruthMatchInfo
 

Enumerations

enum  VertexMatchType {
  Matched =0, Merged, Split, Fake,
  Other
}
 
enum  TruthVertexMatchType {
  Reconstructable =0, Accepted, Seeded, Reconstructed,
  ReconstructedSplit
}
 

Functions

bool isMatched (int matchInfo)
 
bool isMerged (int matchInfo)
 
bool isSplit (int matchInfo)
 
bool isFake (int matchInfo)
 
bool isOther (int matchInfo)
 
bool isReconstructable (int matchInfo)
 
bool isAccepted (int matchInfo)
 
bool isSeeded (int matchInfo)
 
bool isReconstructed (int matchInfo)
 
bool isReconstructedSplit (int matchInfo)
 

Typedef Documentation

◆ VertexTruthMatchInfo

Definition at line 27 of file InDetSecVtxTruthMatchTool.h.

Enumeration Type Documentation

◆ TruthVertexMatchType

Enumerator
Reconstructable 
Accepted 
Seeded 
Reconstructed 
ReconstructedSplit 

Definition at line 40 of file InDetSecVtxTruthMatchTool.h.

40  {
41  Reconstructable=0, // fiducial cuts, >= 2 charged daughters
42  Accepted, // >= 2 reco tracks
43  Seeded, // tracks pass cuts
44  Reconstructed, // matched to reco vtx
45  ReconstructedSplit // matched to multiple vtx
46  };

◆ VertexMatchType

Enumerator
Matched 
Merged 
Split 
Fake 
Other 

Definition at line 30 of file InDetSecVtxTruthMatchTool.h.

30  {
31  Matched=0, // > threshold (default 50%) from one truth interaction
32  Merged, // not matched
33  Split, // highest weight truth interaction contributes to >1 vtx (vtx with highest fraction of sumpT2 remains matched/merged)
34  Fake, // highest contribution is fake (if pile-up MC info not present those tracks end up as "fakes")
35  Other
36  };

Function Documentation

◆ isAccepted()

bool InDetSecVtxTruthMatchUtils::isAccepted ( int  matchInfo)
inline

Definition at line 73 of file InDetSecVtxTruthMatchTool.h.

73  {
74  if (matchInfo & (0x1 << Accepted)) return true;
75  return false;
76  }

◆ isFake()

bool InDetSecVtxTruthMatchUtils::isFake ( int  matchInfo)
inline

Definition at line 60 of file InDetSecVtxTruthMatchTool.h.

60  {
61  if (matchInfo & (0x1 << Fake)) return true;
62  return false;
63  }

◆ isMatched()

bool InDetSecVtxTruthMatchUtils::isMatched ( int  matchInfo)
inline

Definition at line 48 of file InDetSecVtxTruthMatchTool.h.

48  {
49  if (matchInfo & (0x1 << Matched)) return true;
50  return false;
51  }

◆ isMerged()

bool InDetSecVtxTruthMatchUtils::isMerged ( int  matchInfo)
inline

Definition at line 52 of file InDetSecVtxTruthMatchTool.h.

52  {
53  if (matchInfo & (0x1 << Merged)) return true;
54  return false;
55  }

◆ isOther()

bool InDetSecVtxTruthMatchUtils::isOther ( int  matchInfo)
inline

Definition at line 64 of file InDetSecVtxTruthMatchTool.h.

64  {
65  if (matchInfo & (0x1 << Other)) return true;
66  return false;
67  }

◆ isReconstructable()

bool InDetSecVtxTruthMatchUtils::isReconstructable ( int  matchInfo)
inline

Definition at line 69 of file InDetSecVtxTruthMatchTool.h.

69  {
70  if (matchInfo & (0x1 << Reconstructable)) return true;
71  return false;
72  }

◆ isReconstructed()

bool InDetSecVtxTruthMatchUtils::isReconstructed ( int  matchInfo)
inline

Definition at line 81 of file InDetSecVtxTruthMatchTool.h.

81  {
82  if (matchInfo & (0x1 << Reconstructed)) return true;
83  return false;
84  }

◆ isReconstructedSplit()

bool InDetSecVtxTruthMatchUtils::isReconstructedSplit ( int  matchInfo)
inline

Definition at line 85 of file InDetSecVtxTruthMatchTool.h.

85  {
86  if (matchInfo & (0x1 << ReconstructedSplit)) return true;
87  return false;
88  }

◆ isSeeded()

bool InDetSecVtxTruthMatchUtils::isSeeded ( int  matchInfo)
inline

Definition at line 77 of file InDetSecVtxTruthMatchTool.h.

77  {
78  if (matchInfo & (0x1 << Seeded)) return true;
79  return false;
80  }

◆ isSplit()

bool InDetSecVtxTruthMatchUtils::isSplit ( int  matchInfo)
inline

Definition at line 56 of file InDetSecVtxTruthMatchTool.h.

56  {
57  if (matchInfo & (0x1 << Split)) return true;
58  return false;
59  }
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
InDetSecVtxTruthMatchUtils::ReconstructedSplit
@ ReconstructedSplit
Definition: InDetSecVtxTruthMatchTool.h:45
InDetDD::Other
@ Other
Definition: DetectorDesign.h:42
InDetSecVtxTruthMatchUtils::Fake
@ Fake
Definition: InDetSecVtxTruthMatchTool.h:34
InDetSecVtxTruthMatchUtils::Reconstructable
@ Reconstructable
Definition: InDetSecVtxTruthMatchTool.h:41
Split
#define Split(a, ahi, alo)
Definition: PolygonTriangulator.cxx:319
InDetSecVtxTruthMatchUtils::Reconstructed
@ Reconstructed
Definition: InDetSecVtxTruthMatchTool.h:44
InDetSecVtxTruthMatchUtils::Seeded
@ Seeded
Definition: InDetSecVtxTruthMatchTool.h:43
InDetSecVtxTruthMatchUtils::Merged
@ Merged
Definition: InDetSecVtxTruthMatchTool.h:32
InDetSecVtxTruthMatchUtils::Matched
@ Matched
Definition: InDetSecVtxTruthMatchTool.h:31
InDetSecVtxTruthMatchUtils::Accepted
@ Accepted
Definition: InDetSecVtxTruthMatchTool.h:42