All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 {
17  "FillGaps3D",
18  "Kink3D",
19  "TEP3D",
20  "Junk3D",
21  "RTPs3D",
22  "Mat3D",
23  "MaskHits",
24  "MaskBadTPs",
25  "Michel",
26  "DeltaRay",
27  "CTStepChk",
28  "RvPrp",
29  "CHMUH",
30  "Split",
31  "Comp3DVx",
32  "Comp3DVxIG",
33  "HamBragg",
34  "HamVx",
35  "HamVx2",
36  "JunkVx",
37  "JunkTj",
38  "Killed",
39  "Merge",
40  "LastEndMerge",
41  "TEP",
42  "THCEP", // TrimHiChgEndPoints
43  "EndKink", // CheckEndKink
44  "CHMEH",
45  "FillGaps",
46  "UseGhostHits",
47  "MrgGhost",
48  "ChkInTraj",
49  "StopBadFits",
50  "FixBegin",
51  "FTBChg",
52  "BeginChg",
53  "FixEnd",
54  "BraggSplit",
55  "UUH",
56  "VtxTj",
57  "ChkVxTj",
58  "Photon",
59  "HaloTj",
60  "NoFitToVx",
61  "VxMerge",
62  "VxNeutral",
63  "NoKinkChk",
64  "ChkStop",
65  "ChkStopEP",
66  "ChkChgAsym",
67  "FTBRvProp",
68  "TjHiVx3Score",
69  "VtxHitsSwap",
70  "SplitHiChgHits",
71  "ShowerLike",
72  "KillInShowerVx",
73  "ShowerTj",
74  "ShwrParent",
75  "MergeOverlap",
76  "MergeSubShowers",
77  "MergeSubShowersTj",
78  "MergeNrShowers",
79  "MergeShChain",
80  "CompleteShower",
81  "SplitTjCVx",
82  "MakePFPTjs",
83  "StopShort",
84  "Reconcile2Vs",
85  "FTBMod"
86  };
87 
88  const std::vector<std::string> EndFlagNames {
89  "Signal",
90  "AtKink",
91  "AtVtx",
92  "Bragg",
93  "AtTj",
94  "OutFV",
95  "NoFitVx"
96  };
97 
98  const std::vector<std::string> VtxBitNames {
99  "VxTrjTried",
100  "Fixed",
101  "OnDeadWire",
102  "HiVx3Score",
103  "VxTruMatch",
104  "VxMerged",
105  "VxIndPlnNoChg",
106  "VxEnvOK"
107  };
108 
109  const std::vector<std::string> StrategyBitNames {
110  "Normal",
111  "StiffEl",
112  "StiffMu",
113  "Slowing"
114  };
115 
117  auto const cryo = (CTP / Cpad);
118  return geo::PlaneID(
119  /* Cryostat */ cryo,
120  /* TPC */ (CTP - cryo * Cpad) / Tpad,
121  /* Plane */ (CTP % 10)
122  );
123  }
124 
125 } // 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:472
const std::vector< std::string > EndFlagNames
Definition: DataStructs.cxx:88
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
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:98
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