DataStructs.cxx
Go to the documentation of this file.
2 
3 #include <vector>
4 
5 namespace tca {
6 
9  std::vector<TjForecast> tjfs;
11  // vector of hits, tjs, etc in each slice
12  std::vector<TCSlice> slices;
13  std::vector<TrajPoint> seeds;
14 
15  const std::vector<std::string> AlgBitNames {
16  "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 
87  const std::vector<std::string> EndFlagNames {
88  "Signal",
89  "AtKink",
90  "AtVtx",
91  "Bragg",
92  "AtTj",
93  "OutFV",
94  "NoFitVx"
95  };
96 
97  const std::vector<std::string> VtxBitNames {
98  "VxTrjTried",
99  "Fixed",
100  "OnDeadWire",
101  "HiVx3Score",
102  "VxTruMatch",
103  "VxMerged",
104  "VxIndPlnNoChg",
105  "VxEnvOK"
106  };
107 
108  const std::vector<std::string> StrategyBitNames {
109  "Normal",
110  "StiffEl",
111  "StiffMu",
112  "Slowing"
113  };
114 
116  auto const cryo = (CTP / Cpad);
117  return geo::PlaneID(
118  /* Cryostat */ cryo,
119  /* TPC */ (CTP - cryo * Cpad) / Tpad,
120  /* Plane */ (CTP % 10)
121  );
122  }
123 
124 } // namespace tca
const std::vector< std::string > AlgBitNames
Definition: DataStructs.cxx:15
TCConfig tcc
Definition: DataStructs.cxx:8
The data type to uniquely identify a Plane.
Definition: geo_types.h:472
const std::vector< std::string > EndFlagNames
Definition: DataStructs.cxx:87
ShowerTreeVars stv
Definition: DataStructs.cxx:10
constexpr unsigned int Tpad
Definition: DataStructs.h:50
const std::vector< std::string > StrategyBitNames
std::vector< TCSlice > slices
Definition: DataStructs.cxx:12
std::vector< TrajPoint > seeds
Definition: DataStructs.cxx:13
const std::vector< std::string > VtxBitNames
Definition: DataStructs.cxx:97
unsigned int CTP_t
Definition: DataStructs.h:49
std::vector< TjForecast > tjfs
Definition: DataStructs.cxx:9
geo::PlaneID DecodeCTP(CTP_t CTP)
detail::Node< FrameID, bool > PlaneID
Definition: CRTID.h:125
TCEvent evt
Definition: DataStructs.cxx:7
constexpr unsigned int Cpad
Definition: DataStructs.h:51