LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
DataStructs.cxx
Go to the documentation of this file.
2 
3 #include <string>
4 #include <vector>
5 
6 namespace tca {
7 
10  std::vector<TjForecast> tjfs;
12  // vector of hits, tjs, etc in each slice
13  std::vector<TCSlice> slices;
14  std::vector<TrajPoint> seeds;
15 
16  const std::vector<std::string> AlgBitNames{"FillGaps3D",
17  "Kink3D",
18  "TEP3D",
19  "Junk3D",
20  "RTPs3D",
21  "Mat3D",
22  "MaskHits",
23  "MaskBadTPs",
24  "Michel",
25  "DeltaRay",
26  "CTStepChk",
27  "RvPrp",
28  "CHMUH",
29  "Split",
30  "Comp3DVx",
31  "Comp3DVxIG",
32  "HamBragg",
33  "HamVx",
34  "HamVx2",
35  "JunkVx",
36  "JunkTj",
37  "Killed",
38  "Merge",
39  "LastEndMerge",
40  "TEP",
41  "THCEP", // TrimHiChgEndPoints
42  "EndKink", // CheckEndKink
43  "CHMEH",
44  "FillGaps",
45  "UseGhostHits",
46  "MrgGhost",
47  "ChkInTraj",
48  "StopBadFits",
49  "FixBegin",
50  "FTBChg",
51  "BeginChg",
52  "FixEnd",
53  "BraggSplit",
54  "UUH",
55  "VtxTj",
56  "ChkVxTj",
57  "Photon",
58  "HaloTj",
59  "NoFitToVx",
60  "VxMerge",
61  "VxNeutral",
62  "NoKinkChk",
63  "ChkStop",
64  "ChkStopEP",
65  "ChkChgAsym",
66  "FTBRvProp",
67  "TjHiVx3Score",
68  "VtxHitsSwap",
69  "SplitHiChgHits",
70  "ShowerLike",
71  "KillInShowerVx",
72  "ShowerTj",
73  "ShwrParent",
74  "MergeOverlap",
75  "MergeSubShowers",
76  "MergeSubShowersTj",
77  "MergeNrShowers",
78  "MergeShChain",
79  "CompleteShower",
80  "SplitTjCVx",
81  "MakePFPTjs",
82  "StopShort",
83  "Reconcile2Vs",
84  "FTBMod"};
85 
86  const std::vector<std::string>
87  EndFlagNames{"Signal", "AtKink", "AtVtx", "Bragg", "AtTj", "OutFV", "NoFitVx"};
88 
89  const std::vector<std::string> VtxBitNames{"VxTrjTried",
90  "Fixed",
91  "OnDeadWire",
92  "HiVx3Score",
93  "VxTruMatch",
94  "VxMerged",
95  "VxIndPlnNoChg",
96  "VxEnvOK"};
97 
98  const std::vector<std::string> StrategyBitNames{"Normal", "StiffEl", "StiffMu", "Slowing"};
99 
101  {
102  auto const cryo = (CTP / Cpad);
103  return geo::PlaneID(
104  /* Cryostat */ cryo,
105  /* TPC */ (CTP - cryo * Cpad) / Tpad,
106  /* Plane */ (CTP % 10));
107  }
108 
109 } // namespace tca
const std::vector< std::string > AlgBitNames
Definition: DataStructs.cxx:16
TCConfig tcc
Definition: DataStructs.cxx:9
The data type to uniquely identify a Plane.
Definition: geo_types.h:463
const std::vector< std::string > EndFlagNames
Definition: DataStructs.cxx:87
IDparameter< geo::PlaneID > PlaneID
Member type of validated geo::PlaneID parameter.
ShowerTreeVars stv
Definition: DataStructs.cxx:11
constexpr unsigned int Tpad
Definition: DataStructs.h:48
const std::vector< std::string > StrategyBitNames
Definition: DataStructs.cxx:98
std::vector< TCSlice > slices
Definition: DataStructs.cxx:13
std::vector< TrajPoint > seeds
Definition: DataStructs.cxx:14
const std::vector< std::string > VtxBitNames
Definition: DataStructs.cxx:89
unsigned int CTP_t
Definition: DataStructs.h:47
std::vector< TjForecast > tjfs
Definition: DataStructs.cxx:10
geo::PlaneID DecodeCTP(CTP_t CTP)
TCEvent evt
Definition: DataStructs.cxx:8
constexpr unsigned int Cpad
Definition: DataStructs.h:49