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