Skip to content

Commit a8353e2

Browse files
committed
If we're going to do comments lets get them right
1 parent 2771a92 commit a8353e2

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

sbndcode/CRT/CRTAna/CRTAnalysis_module.cc

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
122122
int _crt_timing_reference_type;
123123
int _crt_timing_reference_channel;
124124

125-
//mc truth
125+
// True Particles (from G4)
126126
std::vector<int16_t> _mc_trackid;
127127
std::vector<int16_t> _mc_pdg;
128128
std::vector<int16_t> _mc_status;
@@ -145,7 +145,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
145145
std::vector<double> _mc_endpz;
146146
std::vector<double> _mc_ende;
147147

148-
//G4 detector id
148+
// True Energy Depositions
149149
std::vector<int16_t> _ide_trackid;
150150
std::vector<float> _ide_e;
151151
std::vector<float> _ide_entryx;
@@ -157,7 +157,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
157157
std::vector<float> _ide_exitz;
158158
std::vector<float> _ide_exitt;
159159

160-
//front end mother board
160+
// Raw Readouts (FEBDatas)
161161
std::vector<uint16_t> _feb_mac5;
162162
std::vector<int16_t> _feb_tagger;
163163
std::vector<uint16_t> _feb_flags;
@@ -167,7 +167,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
167167
std::vector<std::vector<uint16_t>> _feb_adc;
168168
std::vector<uint32_t> _feb_coinc;
169169

170-
//strip hit to select the strip which has ADC above threshold
170+
// Strip Hits
171171
std::vector<uint32_t> _sh_channel;
172172
std::vector<int16_t> _sh_tagger;
173173
std::vector<double> _sh_ts0;
@@ -186,7 +186,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
186186
std::vector<double> _sh_truth_energy;
187187
std::vector<double> _sh_truth_time;
188188

189-
//cluster from x-y coincidence for CRTSpacePoint , this is what we normally call a CRT hit
189+
// Clusters and their corresponding SpacePoints
190190
std::vector<double> _cl_ts0;
191191
std::vector<double> _cl_ts1;
192192
std::vector<uint32_t> _cl_unixs;
@@ -232,7 +232,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
232232
std::vector<double> _cl_sp_dts1;
233233
std::vector<bool> _cl_sp_complete;
234234

235-
//backtrack truth information from reco level
235+
// True Deposits per particle per tagger
236236
std::vector<int> _td_tag_trackid;
237237
std::vector<int> _td_tag_pdg;
238238
std::vector<int16_t> _td_tag_tagger;
@@ -243,6 +243,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
243243
std::vector<double> _td_tag_z;
244244
std::vector<bool> _td_tag_reco_status;
245245

246+
// True Deposits per particle
246247
std::vector<int> _td_trackid;
247248
std::vector<int> _td_pdg;
248249
std::vector<double> _td_energy;
@@ -251,7 +252,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
251252
std::vector<bool> _td_reco_status;
252253
std::vector<bool> _td_reco_triple;
253254

254-
//track level information
255+
// Tracks
255256
std::vector<double> _tr_start_x;
256257
std::vector<double> _tr_start_y;
257258
std::vector<double> _tr_start_z;
@@ -297,7 +298,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
297298
std::vector<double> _tr_truth_theta;
298299
std::vector<double> _tr_truth_phi;
299300

300-
// crt blob information
301+
// Blobs
301302
std::vector<double> _bl_ts0;
302303
std::vector<double> _bl_ets0;
303304
std::vector<double> _bl_ts1;
@@ -306,7 +307,7 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
306307
std::vector<int> _bl_nsps;
307308
std::vector<std::vector<int>> _bl_nsps_per_tagger;
308309

309-
// tpc track information (including crt matching)
310+
// TPC Tracks and their CRT matches
310311
std::vector<double> _tpc_start_x;
311312
std::vector<double> _tpc_start_y;
312313
std::vector<double> _tpc_start_z;
@@ -354,14 +355,15 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
354355
std::vector<double> _tpc_tr_end_z;
355356
std::vector<double> _tpc_tr_score;
356357

357-
// ptb information (trigger board)
358+
// Penn Trigger Board HLTs
358359
std::vector<uint64_t> _ptb_hlt_trigger;
359360
std::vector<uint64_t> _ptb_hlt_timestamp;
360361

362+
// Penn Trigger Board LLTs
361363
std::vector<uint64_t> _ptb_llt_trigger;
362364
std::vector<uint64_t> _ptb_llt_timestamp;
363365

364-
// spec tdc information (timing board)
366+
// SPEC TDC Timestamps
365367
std::vector<uint32_t> _tdc_channel;
366368
std::vector<uint64_t> _tdc_timestamp;
367369
std::vector<uint64_t> _tdc_offset;

0 commit comments

Comments
 (0)