LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
DataStructs.cxx
Go to the documentation of this file.
2 
3 namespace tca {
4  const std::vector<std::string> AlgBitNames {
5  "MaskHits",
6  "MaskBadTPs",
7  "Michel",
8  "DeltaRay",
9  "CTKink",
10  "CTStepChk",
11  "TryNextPass",
12  "RvPrp",
13  "CHMUH",
14  "Split",
15  "Comp3DVx",
16  "Comp3DVxIG",
17  "HED",
18  "HamVx",
19  "HamVx2",
20  "JunkVx",
21  "JunkTj",
22  "Killed",
23  "Merge",
24  "TEP",
25  "CHMEH",
26  "FillGap",
27  "Ghost",
28  "MrgGhost",
29  "ChkInTraj",
30  "StopBadFits",
31  "FixBegin",
32  "FTBChg",
33  "BeginChg",
34  "FixEnd",
35  "UUH",
36  "MisdVxTj",
37  "VtxTj",
38  "ChkVxTj",
39  "Photon",
40  "NoFitToVx",
41  "VxMerge",
42  "VxNeutral",
43  "NoKinkChk",
44  "SoftKink",
45  "ChkStop",
46  "ChkStopEP",
47  "ChkChgAsym",
48  "FTBRvProp",
49  "StopAtTj",
50  "Mat3D",
51  "Mat3DMerge",
52  "Split3DKink",
53  "TjHiVx3Score",
54  "VtxHitsSwap",
55  "SplitHiChgHits",
56  "ShowerLike",
57  "KillInShowerVx",
58  "ShowerTj",
59  "ShwrParent",
60  "MergeOverlap",
61  "MergeSubShowers",
62  "MergeSubShowersTj",
63  "MergeNrShowers",
64  "MergeShChain",
65  "CompleteShower",
66  "SplitTjCVx",
67  "SetDir",
68  "Cheat"
69  };
70 
71  const std::vector<std::string> StopFlagNames {
72  "Signal",
73  "AtKink",
74  "AtVtx",
75  "Bragg",
76  "AtTj",
77  "OutFV"
78  };
79 
80  const std::vector<std::string> VtxBitNames {
81  "VtxTrjTried",
82  "Fixed",
83  "OnDeadWire",
84  "HiVx3Score",
85  "VtxTruMatch",
86  "VtxMerged"
87  } ;
88 
90  auto const cryo = (CTP / Cpad);
91  return geo::PlaneID(
92  /* Cryostat */ cryo,
93  /* TPC */ (CTP - cryo * Cpad) / Tpad,
94  /* Plane */ (CTP % 10)
95  );
96  }
97 
98 } // namespace tca
99 
const std::vector< std::string > AlgBitNames
Definition: DataStructs.cxx:4
The data type to uniquely identify a Plane.
Definition: geo_types.h:250
constexpr unsigned int Tpad
Definition: DataStructs.h:42
const std::vector< std::string > StopFlagNames
Definition: DataStructs.cxx:71
const std::vector< std::string > VtxBitNames
Definition: DataStructs.cxx:80
unsigned int CTP_t
Definition: DataStructs.h:41
geo::PlaneID DecodeCTP(CTP_t CTP)
Definition: DataStructs.cxx:89
constexpr unsigned int Cpad
Definition: DataStructs.h:43