All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
variables.h
Go to the documentation of this file.
1 #ifndef SBNCODE_SINGLEPHOTONANALYSIS_VARIABLES_H
2 #define SBNCODE_SINGLEPHOTONANALYSIS_VARIABLES_H
3 
4 #include "art/Framework/Principal/Handle.h"
5 
9 
20 
21 #include "nusimdata/SimulationBase/MCParticle.h"
22 #include "nusimdata/SimulationBase/MCTruth.h"
23 #include "nusimdata/SimulationBase/simb.h"
24 #include "nusimdata/SimulationBase/MCFlux.h"
25 #include "nusimdata/SimulationBase/GTruth.h"
26 
27 #include "TTree.h"
28 #include "TRandom3.h"
29 
30 #include <vector>
31 #include <iostream>
32 #include <string>
33 #include <map>
34 
35 
36 //DEFINE GLOBAL VARIABLES, do it only once
37 namespace single_photon
38 {
39  // name alias from pandora
40  typedef art::ValidHandle< std::vector<recob::PFParticle> > PFParticleHandle;
41  typedef std::vector< art::Ptr<recob::PFParticle> > PFParticleVector;
42  typedef std::vector< art::Ptr<recob::Track> > TrackVector;
43  typedef std::vector< art::Ptr<recob::Shower> > ShowerVector;
44  typedef std::map< size_t, art::Ptr<recob::PFParticle>> PFParticleIdMap;
45 
46  extern bool g_is_verbose;
47 
48  struct para_all{
49  std::vector<std::vector<geo::BoxBoundedGeo>> fTPCVolumes;
50  std::vector<geo::BoxBoundedGeo> fActiveVolumes;
51  double _time2cm;//value modeled from David's shower code
52 
57  bool s_is_data; // value provided by pset
61  bool s_has_CRT;
63  bool s_run_pi0_filter; //value provided by pset
66 
69 
70  bool s_runSelectedEvent; //if it should run only selected events
74 
75  //SEAviwer bits
76  double s_SEAviewPlotDistance; //parameters related to shower-like object finding
84 
85  double s_SEAviewStubHitThreshold; //parameters related to track-like object finding
92 
93 
94  std::string s_selected_event_list; //full path for the file containing run/subrun/event number of selected events
95  std::string s_shower3dLabel;
96  std::string s_showerKalmanLabel;
98  std::string s_pandoraLabel; ///< The label for the pandora producer
99  std::string s_trackLabel; ///< The label for the track producer from PFParticles
100  std::string s_showerLabel; ///< The label for the shower producer from PFParticles
101  std::string s_caloLabel; ///< The label for calorimetry associations producer
102  std::string s_flashLabel;
103  std::string s_geantModuleLabel;
104  // std::string m_backtrackerLabel;
105  std::string s_hitfinderLabel;
107  std::string s_potLabel;
108  std::string s_generatorLabel;
109 
110  std::string s_pidLabel; ///< For PID stuff
111  std::string s_CRTVetoLabel;
112  std::string s_CRTTzeroLabel;
113  std::string s_CRTHitProducer;
115 
116  std::string s_Spline_CV_label; //"eventweight4to4aFix"
118 
123 
124  TRandom3 *rangen;
125 
126  double s_work_function; //value provided by pset
127  double s_recombination_factor; // value provided by pset
128 
129  std::vector<double> s_gain_mc; // value provided by pset
130  std::vector<double> s_gain_data;
132 
133  // int m_Cryostat;
134  // int m_TPC;
135 
136  bool s_runCRT;
137  double s_DTOffset;
138  double s_Resolution;
139  std::string s_DAQHeaderProducer;//"daq"
140  // std::ofstream out_stream;
141 
150 
151  double s_width_dqdx_box; // value provided by pset
153 
158 
159 
162 
163 
164  };
165 
166 
167  struct var_all{
169 // std::map<std::string, std::vector<double>> fmcweight;
170 
171  //Geant4
172  std::vector<int> m_geant4_pdg;
173  std::vector<int> m_geant4_trackid;
174  std::vector<int> m_geant4_mother;
175  std::vector<int> m_geant4_statuscode;
176  std::vector<double> m_geant4_E;
177  std::vector<double> m_geant4_mass;
178  std::vector<double> m_geant4_px;
179  std::vector<double> m_geant4_py;
180  std::vector<double> m_geant4_pz;
181  std::vector<double> m_geant4_vx;
182  std::vector<double> m_geant4_vy;
183  std::vector<double> m_geant4_vz;
184  std::vector<double> m_geant4_dx;
185  std::vector<double> m_geant4_dy;
186  std::vector<double> m_geant4_dz;
187  std::vector<std::string> m_geant4_process;
188  std::vector<std::string> m_geant4_end_process;
189 
190  std::vector<double> m_geant4_costheta;
191 
192  //------- Second shower related variables ----
193  int m_sss_num_unassociated_hits; /* number of hits in the slice that're associated with neither shower nor tracks */
194  int m_sss_num_unassociated_hits_below_threshold; /*number of unassociated hits that also didn't pass hit threshold,in the slice*/
195  int m_sss_num_associated_hits; /* total number of hits from showers and tracks in the slice */
196 
197 
198  //currently commenting this out for speed as its not used
199  //ReadBDT * sssVetov1;
200 
201  int m_sss_num_candidates; /* number of unasso hit clusters which are not close enough to reco showers */
202  std::vector<int> m_sss_candidate_in_nu_slice;
203  std::vector<int> m_sss_candidate_num_hits;
204  std::vector<int> m_sss_candidate_num_wires; //number of wires spanned by the candidate cluster
205  std::vector<int> m_sss_candidate_num_ticks;
206  std::vector<int> m_sss_candidate_plane; /* on which plan the unasso cluster is */
207  std::vector<double> m_sss_candidate_PCA;
208  std::vector<double> m_sss_candidate_mean_ADC;
209  std::vector<double> m_sss_candidate_ADC_RMS;
210  std::vector<double> m_sss_candidate_impact_parameter;
211  std::vector<double> m_sss_candidate_fit_slope; //slope of the cluster direction
212  std::vector<double> m_sss_candidate_veto_score;
213  std::vector<double> m_sss_candidate_fit_constant; //intercept of the cluster direction
214  std::vector<double> m_sss_candidate_mean_tick;
215  std::vector<double> m_sss_candidate_max_tick;
216  std::vector<double> m_sss_candidate_min_tick;
217  std::vector<double> m_sss_candidate_min_wire;
218  std::vector<double> m_sss_candidate_max_wire;
219  std::vector<double> m_sss_candidate_mean_wire;
220  std::vector<double> m_sss_candidate_min_dist; // min distance from unasso cluter to the vertex */
221  std::vector<double> m_sss_candidate_wire_tick_based_length; //length of the cluster, calculated based on the wire & tick span of the cluster
222  std::vector<double> m_sss_candidate_energy;
223  std::vector<double> m_sss_candidate_angle_to_shower;
225  std::vector<int> m_sss_candidate_remerge; // index of the recob::shower candidate cluster is close to (expect it to be -1)
226  std::vector<int> m_sss_candidate_matched; /* has matched this unasso cluter to a primary MCParticle: 0-No, 1-Yes */
227  std::vector<double> m_sss_candidate_matched_energy_fraction_best_plane; /* matched energy fraction of the best-matched MCParticle on best-plane */
228  std::vector<int> m_sss_candidate_pdg; /* pdg of the matched MCParticle */
229  std::vector<int> m_sss_candidate_parent_pdg;
230  std::vector<int> m_sss_candidate_trackid; /* track ID of the matched MCParticle */
231  std::vector<double> m_sss_candidate_true_energy;
232  std::vector<double> m_sss_candidate_overlay_fraction; /* fraction of overlay in the unasso cluster hits */
233 
234 
235  //------------ sss3d_showers variables are for reco::showers which are in the events, but not in the slice ----
236 
237  int m_sss3d_num_showers; /* number of showers in the event but not in the slice */
238  std::vector<double> m_sss3d_shower_start_x; /* shower start in X axis, for all showers in the event but not in the slice*/
239  std::vector<double> m_sss3d_shower_start_y;
240  std::vector<double> m_sss3d_shower_start_z;
241  std::vector<double> m_sss3d_shower_dir_x; /* shower direction projection on X axis */
242  std::vector<double> m_sss3d_shower_dir_y;
243  std::vector<double> m_sss3d_shower_dir_z;
244  std::vector<double> m_sss3d_shower_length;
245  std::vector<double> m_sss3d_shower_conversion_dist; /* dist between shower start and vertex*/
246 
247  std::vector<double> m_sss3d_shower_invariant_mass; /* invariant mass of primary recob::shower, and each shower in the event,
248  * calculated assuming vertex is where their mother particle decays */
249 
250  std::vector<double> m_sss3d_shower_implied_invariant_mass; /* similar to invariance mass, except this invariant mass
251  * is calced direclty using shower direction of two showers */
252 
253  std::vector<double> m_sss3d_shower_impact_parameter; /* dist between vertex and shower direction line */
254  std::vector<double> m_sss3d_shower_ioc_ratio; /* ratio of impact parameter over conversion dist
255  * 0 if the conversion distance is 0*/
256  std::vector<double> m_sss3d_shower_energy_max; /* max energy of all planes (E summed from hits) */
257  std::vector<double> m_sss3d_shower_score;
258  std::vector<int> m_sss3d_slice_nu;
259  std::vector<int> m_sss3d_slice_clear_cosmic;
260 
268  int m_sss3d_ioc_ranked_id; //index of the sss3d_shower that has the smallest ioc.
269 
270  //same parameters, of the sss3d shower whose implied invariant mass together with primary recob::shower is closest to pi0 mass --
279 
280 
281 
282  //--------------- sss2d showers are essentially group of cluters on 3 planes, that have the potential to be a shower -------
283  //--------------- they are not recob::showers --------------------------
284 
285  // sss2d_ioc_ranked variables are the varaibles (mean shower energy, conv. dist, ioc, etc) of the sss2d shower that has the smallest ioc
286  // sss2d_conv_ranked variables are the varaibles (energy, conv. dist, ioc, etc) of the sss2d shower that has the smallest conv. distance
287  // sss2d_invar_ranked variables are the varaibles of the sss2d shower whose invariant mass together with primary shower is closest to pi0.
295 
303 
311 
312 
313 
314  std::set<std::vector<int>> m_selected_set; //set of selected events
315 
316 
317  //SSS parameters
319  TTree* pot_tree;
320  TTree* vertex_tree;
323 
324  TTree* geant4_tree;
325 
327 
328  //------------ POT related variables --------------
331  double m_pot_count;
333 
334  int m_run;
335  int m_subrun;
336  double m_subrun_pot;
338 
339  //------------ Event Related Variables -------------
345 
348 
349 
350  //------- Potential Unreconstructed Track Stub related variables ----
351  int m_trackstub_num_unassociated_hits; /* number of hits in the slice that're associated with neither shower nor tracks */
352  int m_trackstub_unassociated_hits_below_threshold; /*number of unassociated hits that also didn't pass hit threshold,in the slice*/
353  int m_trackstub_associated_hits; /* total number of hits from showers and tracks in the slice */
354 
355 
356  int m_trackstub_num_candidates; /* number of unasso hit clusters which are not close enough to reco showers */
357  std::vector<int> m_trackstub_candidate_in_nu_slice; /* check if candidate is in neutrino slice: 1->YES, 0->Parts in neutrino slice, -1->Not at all */
359  std::vector<int> m_trackstub_candidate_num_wires; //number of wires spanned by the candidate cluster
361  std::vector<int> m_trackstub_candidate_plane; /* on which plan the unasso cluster is */
362  std::vector<double> m_trackstub_candidate_PCA;
363  std::vector<double> m_trackstub_candidate_mean_ADC;
364  std::vector<double> m_trackstub_candidate_ADC_RMS;
365  std::vector<double> m_trackstub_candidate_veto_score;
366  std::vector<double> m_trackstub_candidate_mean_tick;
367  std::vector<double> m_trackstub_candidate_max_tick;
368  std::vector<double> m_trackstub_candidate_min_tick;
369  std::vector<double> m_trackstub_candidate_min_wire;
370  std::vector<double> m_trackstub_candidate_max_wire;
371  std::vector<double> m_trackstub_candidate_mean_wire;
372  std::vector<double> m_trackstub_candidate_min_dist; // min distance from unasso cluter to the vertex */
373  std::vector<double> m_trackstub_candidate_min_impact_parameter_to_shower; //min impact parameter of all hits in cluster to the recob::shower direction line (on 2D plane)
374  std::vector<double> m_trackstub_candidate_min_conversion_dist_to_shower_start; //min distance between hits and recob::shower start (on 2D plane)
375  std::vector<double> m_trackstub_candidate_min_ioc_to_shower_start; //min ratio of impact_parameter_to_shower/conversion_dist_to_shower_start of all hits in the cluster
376  std::vector<double> m_trackstub_candidate_ioc_based_length; //length of the cluster, calculated based on the IOC of hit
377  std::vector<double> m_trackstub_candidate_wire_tick_based_length; //length of the cluster, calculated based on the wire & tick span of the cluster
378  std::vector<double> m_trackstub_candidate_mean_ADC_first_half; // mean ADC per hit for the first half of cluster (cluster divided into halves based on hit IOC)
380  std::vector<double> m_trackstub_candidate_mean_ADC_first_to_second_ratio; // ratio of the mean ADC per hit, first half of cluster over second half.
381  std::vector<double> m_trackstub_candidate_track_angle_wrt_shower_direction; //treat cluster as a track, angle between track direction and the shower direction
382  std::vector<double> m_trackstub_candidate_linear_fit_chi2; // chi2 from linear fit of the {wire, tick} distribution of the cluster
383  std::vector<double> m_trackstub_candidate_energy;
384  std::vector<int> m_trackstub_candidate_remerge; // index of the recob::shower candidate cluster is close to (expect it to be -1)
385  std::vector<int> m_trackstub_candidate_matched; /* has matched this unasso cluter to a primary MCParticle: 0-No, 1-Yes */
386  std::vector<double> m_trackstub_candidate_matched_energy_fraction_best_plane; /* matched energy fraction of the best-matched MCParticle on best-plane */
387  std::vector<int> m_trackstub_candidate_pdg; /* pdg of the matched MCParticle */
389  std::vector<int> m_trackstub_candidate_trackid; /* track ID of the matched MCParticle */
390  std::vector<double> m_trackstub_candidate_true_energy; /* true energy of the matched MCParticle */
391  std::vector<double> m_trackstub_candidate_overlay_fraction; /* fraction of overlay in the unasso cluster hits */
392 
393  //------- grouped stub clusters --------------
394  int m_trackstub_num_candidate_groups; /* number of groups */
395  std::vector<std::vector<double>> m_grouped_trackstub_candidate_indices; /* indices of stub clusters that are matched as a group */
396  std::vector<double> m_trackstub_candidate_group_timeoverlap_fraction; /* minimum fraction of the time overlap of grouped stub clusters */
397 
398 
399  //-------------- Flash related variables -------------
400  std::vector<double> m_reco_flash_total_pe;
401  std::vector<double> m_reco_flash_time;
402  std::vector<double> m_reco_flash_time_width;
403  std::vector<double> m_reco_flash_abs_time;
404  std::vector<int> m_reco_flash_frame;
405  std::vector<double> m_reco_flash_ycenter;
406  std::vector<double> m_reco_flash_ywidth;
407  std::vector<double> m_reco_flash_zcenter;
408  std::vector<double> m_reco_flash_zwidth;
410  std::vector<double> m_reco_flash_time_in_beamgate;
411  std::vector<double> m_reco_flash_ycenter_in_beamgate;
412  std::vector<double> m_reco_flash_zcenter_in_beamgate;
413 
416  //------------ Vertex Related variables -------------
421  double m_vertex_pos_tick; /* time tick of vertex pos */
425  int m_reco_vertex_in_SCB; /* is vertex in SCB: 0- No, 1- Yes */
426  double m_reco_vertex_dist_to_SCB; /* dist between vertex to SCB */
427  double m_reco_vertex_dist_to_active_TPC; /* dist from vertex to closest active TPC wall, -999 if not in active TPC */
429 
430 
432 
433  // double m_reco_vertex_to_nearest_dead_wire_plane0;
434  // double m_reco_vertex_to_nearest_dead_wire_plane1;
435  // double m_reco_vertex_to_nearest_dead_wire_plane2;
436 
437  //added eventweight
438  //-------------- EventWeight related variables -------------
439 
443 
456  double m_mcflux_tpx;
457  double m_mcflux_tpy;
458  double m_mcflux_tpz;
459  double m_mcflux_vx;
460  double m_mcflux_vy;
461  double m_mcflux_vz;
468  int m_mctruth_particles_num_daughters[100]; //other similar variables
522  double m_gtruth_gx;
523  double m_gtruth_gy;
524  double m_gtruth_gt;
525  double m_gtruth_gw;
526  double m_gtruth_gQ2;
527  double m_gtruth_gq2;
542 
543 
544  //----------- CRT related variables -----------------
545  //for crt hits from the CRT veto product
546  int m_CRT_veto_nhits; /* number of CRT veto hits */
547  std::vector<double> m_CRT_veto_hit_PE;
548 
549  //fields storing information about the CRT hit closest to the flash
555 
556  //Fields storing information about all CRT hits in event
557  std::vector<double> m_CRT_hits_time;
558  std::vector<double> m_CRT_hits_PE;
559  std::vector<double> m_CRT_hits_x;
560  std::vector<double> m_CRT_hits_y;
561  std::vector<double> m_CRT_hits_z;
562  double m_CRT_dt; //time between flash and nearest CRT hit
563 
566 
569 
570  //------------ Track related Variables -------------
571 
572  int m_reco_asso_tracks; /* number of track. (temp: will figure out what associate means later) */
573  std::vector<int> m_reco_track_num_daughters;
574  std::vector<double> m_reco_track_daughter_trackscore; /* track score of this reco track's first daughter */
575  std::vector<double> m_reco_track_length; /* whole length of the reco track */
576  std::vector<double> m_reco_track_dirx; /* need to understand what the pair track->Direction() returns means*/
577  std::vector<double> m_reco_track_diry;
578  std::vector<double> m_reco_track_dirz;
579  std::vector<double> m_reco_track_startx; /* start pos of the track in cartesian X */
580  std::vector<double> m_reco_track_starty;
581  std::vector<double> m_reco_track_startz;
582  std::vector<double> m_reco_track_endx; /* end of the track in cartesian X */
583  std::vector<double> m_reco_track_endy;
584  std::vector<double> m_reco_track_endz;
585  std::vector<double> m_reco_track_end_dist_to_active_TPC; /* min distance from track end to TPC active volume boundaries */
586  std::vector<double> m_reco_track_start_dist_to_active_TPC; /* min dist from trk start to TPC active boundaries */
587  std::vector<double> m_reco_track_end_dist_to_CPA;
588  std::vector<double> m_reco_track_start_dist_to_CPA;
589  std::vector<double> m_reco_track_end_dist_to_SCB; /* min dist from track end to SCB */
590  std::vector<double> m_reco_track_start_dist_to_SCB;
591  std::vector<int> m_reco_track_end_in_SCB; /* if track end is in SCB boundary, 1- yes, 0- no */
592  std::vector<int> m_reco_track_start_in_SCB;
593  std::vector<double> m_reco_track_calo_energy_plane0; /* energy sum of hits on plane 0 that correspond to the reco track */
594  std::vector<double> m_reco_track_calo_energy_plane1;
595  std::vector<double> m_reco_track_calo_energy_plane2;
596  std::vector<double> m_reco_track_calo_energy_max; /* max energy of 3 plane for the reco track */
597 
598  std::vector<double> m_reco_track_theta_yz; /* theta, phi of the track */
599  std::vector<double> m_reco_track_phi_yx;
600 
601  std::vector<int> m_reco_track_num_trajpoints; /* number of valid points in the track */
602  std::vector<int> m_reco_track_num_spacepoints; /* number of recob::spacepoints coresponding to the reco track */
603  std::vector<double> m_reco_track_proton_kinetic_energy; /* energy of the track, under the asssumption it's a proton track
604  * set to -9999 if m_run_pi0_filter is set to true */
605 
606  std::vector<size_t> m_reco_track_ordered_energy_index; /* index of m_reco_track_proton_kinetic_energy such that element values are in descending order */
607  std::vector<size_t> m_reco_track_ordered_displacement_index; /* index of m_reco_track_length so that track length are in descending order */
608  std::vector<double> m_reco_track_spacepoint_principal0; /* PCA of reco track (in 3D spacepoint) */
611 
612  std::vector<double> m_reco_track_spacepoint_chi; /* essentially sum of square of distances between spacepoint and the track line*/
613  std::vector<double> m_reco_track_spacepoint_max_dist; /* max distance between a track and its coresponding spacepoints */
614 
615 
616  //corresponding variables on the best plane of reco track, which is defined as such------
617  //plane 2 have good hits, then plane 2 is the best-plane
618  // which plane of plane 0 and 1 has more good hits will be best plane
619  //one of 3 planes has good hits, then best-plane is set to -1
620  std::vector<std::vector<double>> m_reco_track_trunc_dEdx_best_plane;
621  std::vector<std::vector<double>> m_reco_track_resrange_best_plane;
622  std::vector<std::vector<double>> m_reco_track_dEdx_best_plane;
623  std::vector<std::vector<double>> m_reco_track_trunc_dEdx_p0;
624  std::vector<std::vector<double>> m_reco_track_resrange_p0; /* vec of residual range of good hits per reco track */
625  std::vector<std::vector<double>> m_reco_track_dEdx_p0; /* vec of dEdx of good hits per reco track */
626  std::vector<std::vector<double>> m_reco_track_trunc_dEdx_p1;
627  std::vector<std::vector<double>> m_reco_track_resrange_p1;
628  std::vector<std::vector<double>> m_reco_track_dEdx_p1;
629  std::vector<std::vector<double>> m_reco_track_trunc_dEdx_p2;
630 
631 
641 
642 
643  std::vector<double> m_reco_track_mean_dEdx_p0; /* mean dEdx of hits on plane 0 of the reco track */
644  std::vector<double> m_reco_track_mean_dEdx_start_half_p0; /* mean dEdx of first half of the track */
646  std::vector<int> m_reco_track_good_calo_p0; /* number of good dEdx hits on plane 0 of track calorimetry */
647  std::vector<double> m_reco_track_mean_trunc_dEdx_p0; /* mean of truncated dEdx's of good hits */
648  std::vector<double> m_reco_track_mean_trunc_dEdx_start_half_p0; /*mean of first half of trucated dEdx's of good hits */
650  std::vector<double> m_reco_track_trunc_PIDA_p0; /* mean of constant A in residual range formula, calc'd from good hits */
651 
652  std::vector<double> m_reco_track_mean_dEdx_p1;
655  std::vector<int> m_reco_track_good_calo_p1;
656  std::vector<double> m_reco_track_mean_trunc_dEdx_p1;
659  std::vector<double> m_reco_track_trunc_PIDA_p1;
660 
661  std::vector<double> m_reco_track_mean_dEdx_p2;
664  std::vector<int> m_reco_track_good_calo_p2;
665  std::vector<double> m_reco_track_mean_trunc_dEdx_p2;
668  std::vector<double> m_reco_track_trunc_PIDA_p2;
669  std::vector<std::vector<double>> m_reco_track_resrange_p2;
670  std::vector<std::vector<double>> m_reco_track_dEdx_p2;
671 
672  std::vector<int> m_reco_track_num_calo_hits_p0; /* number of hits in calorimetry on plane 0 of each reco track */
675 
676  // vector<double> m_reco_track_end_to_nearest_dead_wire_plane0; /* distance between track end and the nearest dead wire on plane*/
677  // vector<double> m_reco_track_end_to_nearest_dead_wire_plane1;
678  // vector<double> m_reco_track_end_to_nearest_dead_wire_plane2;
679 
680  std::vector<int> m_reco_track_sliceId; //the slice id for the slice continaing the reco track
681  std::vector<double> m_reco_track_nuscore; //the neutrino score of the slice containing the reco track
682  std::vector<bool> m_reco_track_isclearcosmic;//true if reco track is in a clear cosmic slice
683  std::vector<double> m_reco_track_trackscore; /* track score of reco track, -999 if track is not found in PFPToTrackScoreMap */
684  std::vector<int> m_reco_track_pfparticle_pdg; /* PDG of track's corresponding PFParticle, -999 if track is not found in PFPToTrackScoreMap*/
685  std::vector<bool> m_reco_track_is_nuslice; /* if reco track is in a neutrino slice */
686 
687 
688 
689 
690  std::vector<int> m_sim_track_matched; /* if reco track has been matched to a MCParticle, 1-YES, 0-NO */
691 
692  //--- energy, mass, pdg ..etc.. of the matched MCParticle of reco track -----
693  std::vector<double> m_sim_track_overlay_fraction;
694  std::vector<double> m_sim_track_energy;
695  std::vector<double> m_sim_track_mass;
696  std::vector<double> m_sim_track_kinetic_energy;
697  std::vector<int> m_sim_track_pdg;
698  std::vector<int> m_sim_track_parent_pdg;
699 
700  std::vector<std::string> m_sim_track_process;
701  std::vector<int> m_sim_track_origin; /* truth origin of the matched MCParticle */
702  std::vector<double> m_sim_track_startx; /* space-charge corrected start point of the match MCParticle */
703  std::vector<double> m_sim_track_starty;
704  std::vector<double> m_sim_track_startz;
705  std::vector<double> m_sim_track_px;
706  std::vector<double> m_sim_track_py;
707  std::vector<double> m_sim_track_pz;
708  std::vector<double> m_sim_track_endx; /* space-charge corrected end-point of the matched MCParticle */
709  std::vector<double> m_sim_track_endy;
710  std::vector<double> m_sim_track_endz;
711  std::vector<double> m_sim_track_length; /* track length calculated based on the SC-corrected start and end point of the matched MCParticle */
712 
713  std::vector<int> m_sim_track_trackID;
714  //--- energy, mass, pdg ..etc.. of the matched MCParticle of reco track -----
715 
716 
717 
718  std::vector<int> m_sim_track_sliceId; //the slice id for the slice continaing the sim track, based on corresponding recob:PFP
719  std::vector<double> m_sim_track_nuscore; //the neutrino score of the slice containing the sim track
720  std::vector<bool> m_sim_track_isclearcosmic;//true if sim track is in a clear cosmic slice
721 
722  std::vector<double> m_isolation_min_dist_trk_shr; /* minimum distance betwee shower hits and track hits on each plane
723  ere is no shower hits, set to 999
724  ere is shower hits but no track hits, set to -999
725  */
726 
727  std::vector<double> m_isolation_nearest_shr_hit_to_trk_wire; /* the wire number of shower hit closest to track hits */
728  std::vector<double> m_isolation_nearest_shr_hit_to_trk_time; /* the time tick of shower hit closest to track hits in the slice */
729 
730 
731  std::vector<double> m_isolation_num_shr_hits_win_1cm_trk; /* number of shower hits whose min distance to track hits <= 1cm
732  ch plane (this is a 3 element vector) */
736 
737 
738  std::vector<double> m_isolation_min_dist_trk_unassoc; /* of all unassociated hits, min distance to closest track hits
739  o -999 if there is no unassociated hits or track hits on plane
740  */
741 
742  std::vector<double> m_isolation_nearest_unassoc_hit_to_trk_wire;/* wire number of the unassociated hit that of all is nearest to track hits in the slice */
743  std::vector<double> m_isolation_nearest_unassoc_hit_to_trk_time; /* time tick of the unasso hit that is nearest to track hits in the slice */
744  std::vector<double> m_isolation_num_unassoc_hits_win_1cm_trk; /* number of unasso hits whose min distance to track hits <= 1cm
745  ch plane (this vector has 3 elements) */
749  std::vector<int> m_reco_shower_num_daughters;
751 
752  std::vector<int> m_reco_shower3d_exists;
753  std::vector<double> m_reco_shower3d_startx;
754  std::vector<double> m_reco_shower3d_starty;
755  std::vector<double> m_reco_shower3d_startz;
756  std::vector<double> m_reco_shower3d_dirx;
757  std::vector<double> m_reco_shower3d_diry;
758  std::vector<double> m_reco_shower3d_dirz;
759  std::vector<double> m_reco_shower3d_theta_yz; /* theta, phi of the 3D shower (direction) */
760  std::vector<double> m_reco_shower3d_phi_yx;
761 
762  std::vector<double> m_reco_shower3d_openingangle;
763  std::vector<double> m_reco_shower3d_length;
765 
766  std::vector<double> m_reco_shower3d_impact_parameter; /* distance between vertex and 3D shower direction */
767  std::vector<double> m_reco_shower3d_implied_dirx; /* X component of the unit vector point from vertex to 3D shower start */
768  std::vector<double> m_reco_shower3d_implied_diry;
769  std::vector<double> m_reco_shower3d_implied_dirz;
770 
771  std::vector<double> m_reco_shower3d_energy_plane0;
772  std::vector<double> m_reco_shower3d_energy_plane1;
773  std::vector<double> m_reco_shower3d_energy_plane2;
774 
775  std::vector<double> m_reco_shower3d_dEdx_plane0;
776  std::vector<double> m_reco_shower3d_dEdx_plane1;
777  std::vector<double> m_reco_shower3d_dEdx_plane2;
778 
779 
780 
781  std::vector<double> m_reco_shower_startx;
782  std::vector<double> m_reco_shower_starty;
783  std::vector<double> m_reco_shower_startz;
784  std::vector<double> m_reco_shower_start_dist_to_active_TPC; /* distance from shower start to closest TPC wall */
785  std::vector<double> m_reco_shower_start_dist_to_CPA; /* distance from shower start to closest TPC wall */
786  std::vector<double> m_reco_shower_start_dist_to_SCB;
787  std::vector<int> m_reco_shower_start_in_SCB;
789  std::vector<double> m_reco_shower_end_dist_to_SCB;
790 
791  std::vector<double> m_reco_shower_dirx; /* X component of shower direction */
792  std::vector<double> m_reco_shower_diry;
793  std::vector<double> m_reco_shower_dirz;
794  std::vector<double> m_reco_shower_theta_yz; /* theta, phi of the shower direction */
795  std::vector<double> m_reco_shower_phi_yx;
796 
797  std::vector<double> m_reco_shower_openingangle;
798  std::vector<double> m_reco_shower_length;
799  std::vector<double> m_reco_shower_conversion_distance; /* distance between shower start and vertex */
800 
801  std::vector<double> m_reco_shower_impact_parameter; /* distance from vertex to the shower direction */
802  std::vector<double> m_reco_shower_implied_dirx; /* the X component of the unit vector pointing from vertex to shower start */
803  std::vector<double> m_reco_shower_implied_diry;
804  std::vector<double> m_reco_shower_implied_dirz;
805 
806  std::vector<int> m_reco_shower_delaunay_num_triangles_plane0; /* num of delaunay triangles found on plane 0 for each shower */
809 
810  // vector<double> m_reco_shower_start_to_nearest_dead_wire_plane0;/* dist from shower start to nearest dead wire on plane 0 */
811  // vector<double> m_reco_shower_start_to_nearest_dead_wire_plane1;
812  // vector<double> m_reco_shower_start_to_nearest_dead_wire_plane2;
813 
814 
815 
819 
823 
828 
829  std::vector<int> m_reco_shower_num_hits_plane0; /* number of hits on plane 0 for each shower */
832  std::vector<double> m_reco_shower_delaunay_area_plane0; /* total area of delaunay triangles found on plane 0 for each shower */
835  std::vector<int> m_reco_shower_sliceId; //the slice id for the slice continaing the reco shower
836  std::vector<double> m_reco_shower_nuscore; //the neutrino score of the slice containing the reco shower
837  std::vector<bool> m_reco_shower_isclearcosmic;//true if reco shower is in a clear cosmic slice
838  std::vector<bool> m_reco_shower_is_nuslice;//true if reco shower is in a clear cosmic slice
839  std::vector<double> m_reco_shower_trackscore;
840  std::vector<double> m_reco_shower_pfparticle_pdg;
841  std::vector<double> m_reco_shower_kalman_exists; /* if there is a kalman track and reco::Calo related to this shower - 0, 1 */
849 
850 
851 
852 
853  std::vector<int> m_sim_shower_matched; /* whether shower has been matched to a MCParticle, 0 - False, 1 - True */
854 
855  std::vector<double> m_sim_shower_energy;
856  std::vector<double> m_sim_shower_kinetic_energy;
857  std::vector<double> m_sim_shower_mass;
858  std::vector<int> m_sim_shower_pdg;
859  std::vector<int> m_sim_shower_trackID;
860  std::vector<int> m_sim_shower_parent_pdg;
861  std::vector<int> m_sim_shower_parent_trackID;
862  std::vector<int> m_sim_shower_origin;
863  std::vector<std::string> m_sim_shower_process;
864  std::vector<std::string> m_sim_shower_end_process;
865 
866 
867  std::vector<double> m_sim_shower_start_x; /* space charge corrected shower starting point */
868  std::vector<double> m_sim_shower_start_y;
869  std::vector<double> m_sim_shower_start_z;
870  std::vector<double> m_sim_shower_vertex_x; /* spacecharge corrected shower vertex */
871  std::vector<double> m_sim_shower_vertex_y;
872  std::vector<double> m_sim_shower_vertex_z;
873 
874  std::vector<double> m_sim_shower_px;
875  std::vector<double> m_sim_shower_py;
876  std::vector<double> m_sim_shower_pz;
877  std::vector<int> m_sim_shower_is_true_shower;
879  std::vector<double> m_sim_shower_matched_energy_fraction_plane0; /* fraction of energy of the best-matched mother for shower on
880  0 over all energy deposited on plane 0 by the shower */
883  std::vector<double> m_sim_shower_overlay_fraction; /* fraction of hits from overlay over all hits in the shower */
884  std::vector<int> m_sim_shower_sliceId; //the slice id for the slice continaing the sim shower matched to reco
885  std::vector<double> m_sim_shower_nuscore; //the neutrino score of the slice containing the sim shower matched to reco
886  std::vector<bool> m_sim_shower_isclearcosmic;//true if sim shower matched to reco is in a clear cosmic slice
887  std::vector<bool> m_sim_shower_is_nuslice;//true if sim shower matched to reco is in a clear cosmic slice
888 
889 
890 
906  std::vector<int> m_mctruth_daughters_pdg;
907  std::vector<double> m_mctruth_daughters_E;
909  std::vector<int> m_mctruth_daughters_trackID;
911  std::vector<double> m_mctruth_daughters_px;
912  std::vector<double> m_mctruth_daughters_py;
913  std::vector<double> m_mctruth_daughters_pz;
914  std::vector<double> m_mctruth_daughters_startx;
915  std::vector<double> m_mctruth_daughters_starty;
916  std::vector<double> m_mctruth_daughters_startz;
917  std::vector<double> m_mctruth_daughters_time;
918  std::vector<double> m_mctruth_daughters_endx;
919  std::vector<double> m_mctruth_daughters_endy;
920  std::vector<double> m_mctruth_daughters_endz;
921  std::vector<double> m_mctruth_daughters_endtime;
922  std::vector<std::string> m_mctruth_daughters_process;
923  std::vector<std::string> m_mctruth_daughters_end_process;
939 
943  std::vector<double> m_mctruth_exiting_photon_energy;
944  std::vector<double> m_mctruth_exiting_photon_px;
945  std::vector<double> m_mctruth_exiting_photon_py;
946  std::vector<double> m_mctruth_exiting_photon_pz;
947 
951  std::vector<double> m_mctruth_exiting_proton_energy;
952  std::vector<double> m_mctruth_exiting_proton_px;
953  std::vector<double> m_mctruth_exiting_proton_py;
954  std::vector<double> m_mctruth_exiting_proton_pz;
955 
959  std::vector<double> m_mctruth_exiting_neutron_energy;
960  std::vector<double> m_mctruth_exiting_neutron_px;
961  std::vector<double> m_mctruth_exiting_neutron_py;
962  std::vector<double> m_mctruth_exiting_neutron_pz;
966 
967  std::vector<double> m_mctruth_exiting_pi0_E;
968  std::vector<double> m_mctruth_exiting_pi0_mom;
969  std::vector<double> m_mctruth_exiting_pi0_px;
970  std::vector<double> m_mctruth_exiting_pi0_py;
971  std::vector<double> m_mctruth_exiting_pi0_pz;
972 
981  std::vector<double> m_mctruth_pi0_leading_photon_end;
983  std::vector<double> m_mctruth_pi0_leading_photon_mom;
985 
986 
987  //the calo calculated quantities
988  std::vector<double> m_reco_shower_energy_max; //for each hit in a shower, converts Q->E, and sums. The max energy of all planes
989  std::vector<double> m_reco_shower_energy_plane0; /* shower energy (summed hit energy) on plan 0 */
990  std::vector<double> m_reco_shower_energy_plane1;
991  std::vector<double> m_reco_shower_energy_plane2;
993  std::vector<double> m_reco_shower_reclustered_energy_plane0; /* total energy of the reco shower, and unassociated hit clusters
994  enough to it */
997  std::vector<double> m_reco_shower_plane0;
998  std::vector<double> m_reco_shower_plane1;
999  std::vector<double> m_reco_shower_plane2;
1000  std::vector<double> m_reco_shower_plane0_nhits; /* num of shower hits on plane 0 */
1001  std::vector<double> m_reco_shower_plane1_nhits;
1002  std::vector<double> m_reco_shower_plane2_nhits;
1003  std::vector<double> m_reco_shower_plane0_meanRMS; /* the mean of RMS of the shower hit shape (in tick unit) on plane 0 */
1004  std::vector<double> m_reco_shower_plane1_meanRMS;
1005  std::vector<double> m_reco_shower_plane2_meanRMS;
1006  std::vector<int> m_reco_shower_hit_wire;
1007  std::vector<int> m_reco_shower_hit_plane;
1008  std::vector<double> m_reco_shower_hit_tick;
1009  std::vector<double> m_reco_shower_spacepoint_x;
1010  std::vector<double> m_reco_shower_spacepoint_z;
1011  std::vector<double> m_reco_shower_spacepoint_y;
1012  std::vector<size_t> m_reco_shower_ordered_energy_index; /* indices of 'm_reco_shower_energy_max' such that energy max is in descending order */
1013  std::vector<std::vector<double>> m_reco_shower_dQdx_plane0; //for each shower, looks at the hits for all clusters in the plane, stores the dQ/dx for each hit
1014  std::vector<std::vector<double>> m_reco_shower_dQdx_plane1;
1015  std::vector<std::vector<double>> m_reco_shower_dQdx_plane2;
1016  std::vector<std::vector<double>> m_reco_shower_dEdx_plane0; //dE/dx from the calculated dQ/dx for each hit of all clusters in shower on plane
1017  std::vector<std::vector<double>> m_reco_shower_dEdx_plane1;
1018  std::vector<std::vector<double>> m_reco_shower_dEdx_plane2;
1019  std::vector<double> m_reco_shower_dEdx_plane0_mean; /* mean of dE/dx of each hit in shower */
1020  std::vector<double> m_reco_shower_dEdx_plane1_mean;
1021  std::vector<double> m_reco_shower_dEdx_plane2_mean;
1022  std::vector<double> m_reco_shower_dEdx_plane0_max;
1023  std::vector<double> m_reco_shower_dEdx_plane1_max;
1024  std::vector<double> m_reco_shower_dEdx_plane2_max;
1025  std::vector<double> m_reco_shower_dEdx_plane0_min;
1026  std::vector<double> m_reco_shower_dEdx_plane1_min;
1027  std::vector<double> m_reco_shower_dEdx_plane2_min;
1028  std::vector<double> m_reco_shower_dEdx_plane0_median;/* median of dE/dx of each hit in shower (median of vector element of m_reco_shower_dEdx_plane0) */
1031  std::vector<double> m_reco_shower_angle_wrt_wires_plane0; /* angle between shower direction and wire dir on plane, in radian*/
1034  std::vector<double> m_reco_shower_dEdx_amalgamated;
1036  std::vector<double> m_reco_shower_dQdx_plane0_median;/* median of dQ/dx of each hit in shower (median of m_reco_shower_dQdx_plane0) */
1039  std::vector<double> m_reco_shower_dEdx_plane0_nhits; /* number of hits of all clusters of the shower on plane 0 */
1040  std::vector<double> m_reco_shower_dEdx_plane1_nhits;
1041  std::vector<double> m_reco_shower_dEdx_plane2_nhits;
1042 
1043  // related variables
1053  std::vector<double> m_reco_track_pid_pida_plane0;
1054  std::vector<double> m_reco_track_pid_pida_plane1;
1055  std::vector<double> m_reco_track_pid_pida_plane2;
1056  std::vector<double> m_reco_track_pid_chi2_mu_plane0;
1057  std::vector<double> m_reco_track_pid_chi2_mu_plane1;
1058  std::vector<double> m_reco_track_pid_chi2_mu_plane2;
1059  std::vector<double> m_reco_track_pid_chi2_p_plane0;
1060  std::vector<double> m_reco_track_pid_chi2_p_plane1;
1061  std::vector<double> m_reco_track_pid_chi2_p_plane2;
1063 
1064 
1065  //matching variables
1066  int m_reco_slice_num; //total number of slices in the event
1067  std::vector<double> m_reco_slice_nuscore; //vector of the neutrino score for each slice in an event
1068  int m_reco_slice_shower_num_matched_signal; //the number of sim showers matched an MCP in the signal def
1069  int m_reco_slice_track_num_matched_signal; //the number of sim showers matched an MCP in the signal def
1070  int m_matched_signal_shower_num = 0; /* number of match showers (that has unique best-matched primary photon ?) */
1071  std::vector<int> m_reco_slice_shower_matched_sliceId; //the slice id for each matched shower
1072  std::vector<int> m_reco_slice_track_matched_sliceId; //the slice id for each matched track
1073 
1074  std::vector<int> m_reco_slice_num_pfps; //the total number of PFP's per slice
1075  std::vector<int> m_reco_slice_num_showers; //the subset of PFP's that are showers, ie number of showers per slice
1076  std::vector<int> m_reco_slice_num_tracks; //the subset of PFP's that are tracks
1077 
1078  std::vector<double> m_reco_slice_shower_matched_energy; //the energy for each matched shower
1079  std::vector<double> m_reco_slice_track_matched_energy; //the energy for each matched track
1080  std::vector<double> m_reco_slice_shower_matched_conversion; //the conversion distance for each matched shower
1081  std::vector<double> m_reco_slice_shower_matched_overlay_frac; //fraction of overlay hits for each matched shower
1082  //std::map<art::Ptr<recob::PFParticle>, double > & pfParticleToNuScoreMap;//is filled during analyze slices
1083 
1084 
1085  //------- matched shower: reco shower that matches to a primary photon + max energy of 3 plane > 20 + definition being ncdelta-----
1087  //std::vector<double> m_matched_signal_shower_conversion_length;
1088  std::vector<double> m_matched_signal_shower_true_E; /* energy of the best-matched MCparticle for the shower */
1089  std::vector<double> m_matched_signal_shower_nuscore; /* the neutrino score of the slice containing the reco shower */
1090  std::vector<int> m_matched_signal_shower_sliceId; /* reco shower slice ID */
1093  std::vector<int> m_matched_signal_shower_tracks_in_slice; /* number of showers in the same slice as of this reco shower */
1094  std::vector<int> m_matched_signal_shower_showers_in_slice; /* number of tracks in the same slice as of this reco shower */
1095 
1096 
1097  //-------- for reco tracks that match to a primary proton ---------
1098  std::vector<double> m_matched_signal_track_true_E; /* the true energy of matched MCparticle (proton) */
1099  std::vector<double> m_matched_signal_track_nuscore; /* nu score of the slice containing the reco track */
1101  std::vector<bool> m_matched_signal_track_is_clearcosmic; /* if reco track is in clear cosmic slice */
1102  // std::vector<bool> m_matched_signal_track_is_nuslice;
1104  std::vector<int> m_matched_signal_track_tracks_in_slice; /* num of PFP that are tracks in the slice this reco track is in */
1106 
1107  int m_matched_signal_track_num = 0; /* num of reco tracks matched to primary proton */
1108 
1109  //int m_matched_signal_total_num_slices;
1110 
1111  //---------for reco tracks that match to a primary proton ---------
1112 
1122  bool m_multiple_matched_showers; //if there is more than 1 eligible shower (match to primary photon, pass energy threshold)
1123  bool m_multiple_matched_tracks; /* if there is more than 1 eligible track (match to primary proton) */
1124  };
1125 
1126 
1127 }
1128 #endif // SBNCODE_SINGLEPHOTONANALYSIS_VARIABLES_H
std::vector< double > m_sim_shower_vertex_x
Definition: variables.h:870
std::vector< double > m_reco_shower_dEdx_plane1_max
Definition: variables.h:1023
std::vector< double > m_sss_candidate_PCA
Definition: variables.h:207
std::vector< double > m_sss_candidate_overlay_fraction
Definition: variables.h:232
std::vector< double > m_sss3d_shower_start_z
Definition: variables.h:240
std::vector< bool > m_matched_signal_track_is_clearcosmic
Definition: variables.h:1101
std::vector< double > m_sss3d_shower_invariant_mass
Definition: variables.h:247
std::vector< double > m_reco_shower_dEdx_plane2_min
Definition: variables.h:1027
std::vector< geo::BoxBoundedGeo > fActiveVolumes
Definition: variables.h:50
TTree * ncdelta_slice_tree
Definition: variables.h:322
std::vector< double > m_trackstub_candidate_PCA
Definition: variables.h:362
std::vector< int > m_reco_shower_flash_shortest_index_yz
Definition: variables.h:822
std::vector< double > m_reco_flash_zcenter
Definition: variables.h:407
double m_gtruth_fs_had_syst_p4_z
Definition: variables.h:540
std::vector< double > m_reco_track_spacepoint_chi
Definition: variables.h:612
std::vector< double > m_reco_shower_kalman_median_dEdx_plane2
Definition: variables.h:844
std::string s_hitMCParticleAssnsLabel
Definition: variables.h:106
std::vector< int > m_reco_shower_hit_plane
Definition: variables.h:1007
std::vector< double > m_sim_track_startx
Definition: variables.h:702
std::vector< double > m_reco_slice_shower_matched_overlay_frac
Definition: variables.h:1081
std::vector< double > m_trackstub_candidate_mean_ADC_first_to_second_ratio
Definition: variables.h:380
std::vector< double > m_mctruth_daughters_time
Definition: variables.h:917
std::vector< double > m_mctruth_exiting_photon_pz
Definition: variables.h:946
std::vector< double > m_mctruth_exiting_pi0_py
Definition: variables.h:970
std::vector< int > m_mctruth_daughters_status_code
Definition: variables.h:908
std::vector< double > m_trackstub_candidate_max_wire
Definition: variables.h:370
std::vector< int > m_mctruth_daughters_pdg
Definition: variables.h:906
std::vector< double > m_reco_track_spacepoint_principal2
Definition: variables.h:610
std::vector< int > m_reco_track_pfparticle_pdg
Definition: variables.h:684
double m_mctruth_particles_polx[100]
Definition: variables.h:479
double m_mctruth_particles_e0[100]
Definition: variables.h:477
std::vector< double > m_sss_candidate_wire_tick_based_length
Definition: variables.h:221
double s_SEAviewPlotDistance
Definition: variables.h:76
std::vector< double > m_reco_track_mean_dEdx_best_plane
Definition: variables.h:633
std::vector< double > m_reco_track_spacepoint_principal0
Definition: variables.h:608
std::vector< int > m_reco_slice_num_showers
Definition: variables.h:1075
std::vector< double > m_reco_shower_plane1
Definition: variables.h:998
std::vector< double > m_reco_shower_nuscore
Definition: variables.h:836
std::string s_showerLabel
The label for the shower producer from PFParticles.
Definition: variables.h:100
std::vector< double > m_reco_track_pid_bragg_likelihood_mu_plane0
Definition: variables.h:1044
std::vector< double > m_trackstub_candidate_linear_fit_chi2
Definition: variables.h:382
std::vector< double > m_sss_candidate_closest_neighbour
Definition: variables.h:224
std::vector< int > m_trackstub_candidate_in_nu_slice
Definition: variables.h:357
std::vector< double > m_reco_track_mean_trunc_dEdx_start_half_p1
Definition: variables.h:657
std::vector< double > m_reco_shower_theta_yz
Definition: variables.h:794
std::vector< double > m_isolation_num_shr_hits_win_10cm_trk
Definition: variables.h:735
std::vector< std::vector< double > > m_reco_track_trunc_dEdx_p0
Definition: variables.h:623
std::vector< double > m_mctruth_pi0_leading_photon_mom
Definition: variables.h:983
std::vector< double > m_sim_shower_py
Definition: variables.h:875
std::vector< int > m_mctruth_exiting_photon_from_delta_decay
Definition: variables.h:942
int m_mctruth_delta_radiative_1g1p_or_1g1n
Definition: variables.h:934
std::vector< double > m_sss_candidate_ADC_RMS
Definition: variables.h:209
std::vector< double > m_isolation_min_dist_trk_shr
Definition: variables.h:722
std::vector< double > m_isolation_nearest_shr_hit_to_trk_wire
Definition: variables.h:727
std::vector< int > m_reco_shower_num_hits_plane2
Definition: variables.h:831
std::vector< bool > m_reco_shower_isclearcosmic
Definition: variables.h:837
std::vector< double > m_sss3d_shower_dir_x
Definition: variables.h:241
std::vector< int > m_reco_slice_shower_matched_sliceId
Definition: variables.h:1071
std::set< std::vector< int > > m_selected_set
Definition: variables.h:314
std::vector< int > m_sim_track_origin
Definition: variables.h:701
std::vector< double > m_reco_track_pid_chi2_mu_plane0
Definition: variables.h:1056
double m_gtruth_hit_nuc_p4_z
Definition: variables.h:535
std::vector< double > m_reco_shower_plane0_nhits
Definition: variables.h:1000
std::vector< double > m_geant4_px
Definition: variables.h:178
std::vector< int > m_reco_shower_delaunay_num_triangles_plane0
Definition: variables.h:806
std::vector< double > m_trackstub_candidate_track_angle_wrt_shower_direction
Definition: variables.h:381
std::vector< double > m_sss_candidate_fit_constant
Definition: variables.h:213
double m_mctruth_particles_py0[100]
Definition: variables.h:475
std::vector< double > m_reco_track_calo_energy_max
Definition: variables.h:596
std::vector< int > m_mctruth_exiting_proton_trackID
Definition: variables.h:948
double m_sss2d_conv_ranked_angle_to_shower
Definition: variables.h:301
double m_gtruth_hit_nuc_p4_E
Definition: variables.h:536
std::vector< double > m_reco_shower_startz
Definition: variables.h:783
std::vector< double > m_reco_flash_total_pe_in_beamgate
Definition: variables.h:409
std::vector< double > m_mctruth_daughters_endz
Definition: variables.h:920
std::vector< int > m_sss_candidate_remerge
Definition: variables.h:225
std::vector< double > m_trackstub_candidate_mean_tick
Definition: variables.h:366
std::vector< double > m_geant4_dz
Definition: variables.h:186
std::vector< int > m_sss_candidate_plane
Definition: variables.h:206
std::vector< double > m_trackstub_candidate_mean_ADC_first_half
Definition: variables.h:378
int m_mctruth_particles_status_code[100]
Definition: variables.h:467
std::vector< double > m_reco_track_pid_bragg_likelihood_mu_plane2
Definition: variables.h:1046
std::vector< int > m_geant4_statuscode
Definition: variables.h:175
std::vector< double > m_reco_track_mean_trunc_dEdx_best_plane
Definition: variables.h:637
std::vector< double > m_sss3d_shower_implied_invariant_mass
Definition: variables.h:250
double m_mctruth_leading_exiting_proton_energy
Definition: variables.h:932
std::vector< double > m_reco_track_pid_chi2_p_plane2
Definition: variables.h:1061
std::vector< double > m_matched_signal_shower_overlay_fraction
Definition: variables.h:1086
std::vector< double > m_sss_candidate_impact_parameter
Definition: variables.h:210
std::vector< double > m_mctruth_pi0_subleading_photon_end
Definition: variables.h:979
std::vector< double > m_reco_shower_plane1_nhits
Definition: variables.h:1001
double m_sss3d_ioc_ranked_invar
Definition: variables.h:263
std::vector< double > m_reco_track_end_dist_to_SCB
Definition: variables.h:589
std::vector< int > m_sss_candidate_num_wires
Definition: variables.h:204
std::vector< bool > m_sim_shower_is_nuslice
Definition: variables.h:887
std::vector< double > m_reco_shower_dEdx_plane2_nhits
Definition: variables.h:1041
std::vector< double > m_reco_shower3d_implied_dirz
Definition: variables.h:769
std::vector< std::vector< double > > m_reco_track_dEdx_p1
Definition: variables.h:628
std::vector< double > m_reco_shower_impact_parameter
Definition: variables.h:801
std::vector< double > m_reco_shower_dEdx_plane1_min
Definition: variables.h:1026
std::vector< double > m_sss3d_shower_start_x
Definition: variables.h:238
double m_sss3d_invar_ranked_en
Definition: variables.h:271
std::vector< double > m_reco_shower_end_dist_to_SCB
Definition: variables.h:789
std::vector< double > m_reco_track_trunc_PIDA_p0
Definition: variables.h:650
std::vector< double > m_trackstub_candidate_group_timeoverlap_fraction
Definition: variables.h:396
std::vector< int > m_trackstub_candidate_remerge
Definition: variables.h:384
std::vector< double > m_reco_track_pid_bragg_likelihood_p_plane2
Definition: variables.h:1049
std::vector< double > m_sss_candidate_veto_score
Definition: variables.h:212
std::vector< double > m_sss3d_shower_energy_max
Definition: variables.h:256
std::vector< int > m_trackstub_candidate_plane
Definition: variables.h:361
double m_mctruth_particles_pz0[100]
Definition: variables.h:476
spacecharge::SpaceCharge const * s_SCE
Definition: variables.h:142
std::vector< double > m_reco_track_daughter_trackscore
Definition: variables.h:574
std::string s_caloLabel
The label for calorimetry associations producer.
Definition: variables.h:101
std::vector< double > m_reco_shower_dEdx_plane1_nhits
Definition: variables.h:1040
double m_mctruth_nu_vertex_y
Definition: variables.h:895
std::vector< double > m_reco_track_mean_trunc_dEdx_end_half_p0
Definition: variables.h:649
std::vector< double > m_sim_shower_pz
Definition: variables.h:876
std::vector< int > m_reco_track_good_calo_p0
Definition: variables.h:646
int m_mctruth_pi0_subleading_photon_exiting_TPC
Definition: variables.h:978
Declaration of signal hit object.
bool m_reco_1g1p_is_multiple_slices
Definition: variables.h:1114
double m_genie_CV_tune_weight
Definition: variables.h:565
double m_gtruth_fs_had_syst_p4_y
Definition: variables.h:539
std::vector< double > m_mctruth_exiting_photon_energy
Definition: variables.h:943
int m_trackstub_num_unassociated_hits
Definition: variables.h:351
std::vector< double > m_sss_candidate_angle_to_shower
Definition: variables.h:223
std::vector< double > m_reco_track_startx
Definition: variables.h:579
std::vector< double > m_geant4_dy
Definition: variables.h:185
std::vector< double > m_reco_shower_dEdx_plane0_nhits
Definition: variables.h:1039
std::vector< std::vector< double > > m_reco_shower_dEdx_plane0
Definition: variables.h:1016
double m_mctruth_reco_vertex_dist
Definition: variables.h:897
std::vector< int > m_reco_shower_delaunay_num_triangles_plane2
Definition: variables.h:808
std::vector< double > m_mctruth_exiting_pi0_pz
Definition: variables.h:971
double m_mctruth_particles_poly[100]
Definition: variables.h:480
std::vector< double > m_isolation_num_unassoc_hits_win_10cm_trk
Definition: variables.h:748
std::vector< double > m_mctruth_exiting_proton_pz
Definition: variables.h:954
std::vector< int > m_reco_track_good_calo_p1
Definition: variables.h:655
std::vector< int > m_reco_shower_flash_shortest_index_y
Definition: variables.h:821
std::vector< double > m_reco_shower_dQdx_plane0_median
Definition: variables.h:1036
double m_sss2d_conv_ranked_conv
Definition: variables.h:297
std::vector< double > m_reco_shower3d_energy_plane1
Definition: variables.h:772
std::vector< double > m_sim_shower_vertex_z
Definition: variables.h:872
std::vector< int > m_mctruth_daughters_mother_trackID
Definition: variables.h:910
std::vector< double > m_reco_shower_implied_dirx
Definition: variables.h:802
std::vector< double > m_reco_shower_flash_shortest_disty
Definition: variables.h:817
std::vector< int > m_trackstub_candidate_pdg
Definition: variables.h:387
std::vector< double > m_reco_track_pid_chi2_p_plane1
Definition: variables.h:1060
double m_mctruth_particles_Gvt[100]
Definition: variables.h:473
int m_mctruth_neutrino_interaction_type
Definition: variables.h:484
std::vector< int > m_reco_shower_num_daughters
Definition: variables.h:749
std::vector< int > m_matched_signal_track_showers_in_slice
Definition: variables.h:1105
std::vector< double > m_mctruth_exiting_neutron_py
Definition: variables.h:961
double s_SEAviewStubDbscanEps
Definition: variables.h:88
double m_sss2d_ioc_ranked_invar
Definition: variables.h:292
std::vector< double > m_reco_track_theta_yz
Definition: variables.h:598
double s_track_calo_trunc_fraction
Definition: variables.h:157
std::vector< double > m_sim_track_energy
Definition: variables.h:694
std::vector< int > m_sss_candidate_trackid
Definition: variables.h:230
std::vector< double > m_CRT_hits_y
Definition: variables.h:560
std::vector< double > m_mctruth_exiting_pi0_mom
Definition: variables.h:968
std::vector< int > m_sss_candidate_num_hits
Definition: variables.h:203
std::vector< double > m_reco_track_mean_trunc_dEdx_end_half_best_plane
Definition: variables.h:639
std::vector< int > m_sim_track_parent_pdg
Definition: variables.h:698
std::vector< int > m_trackstub_candidate_parent_pdg
Definition: variables.h:388
double m_sss2d_invar_ranked_en
Definition: variables.h:304
std::vector< std::vector< double > > m_reco_shower_dQdx_plane1
Definition: variables.h:1014
std::vector< double > m_reco_track_end_dist_to_active_TPC
Definition: variables.h:585
std::vector< double > m_isolation_nearest_unassoc_hit_to_trk_time
Definition: variables.h:743
std::vector< std::string > m_sim_track_process
Definition: variables.h:700
std::string s_pandoraLabel
The label for the pandora producer.
Definition: variables.h:98
std::vector< double > m_isolation_num_unassoc_hits_win_1cm_trk
Definition: variables.h:744
std::vector< double > m_mctruth_exiting_proton_energy
Definition: variables.h:951
std::vector< int > m_reco_track_best_calo_plane
Definition: variables.h:632
double m_mctruth_particles_px0[100]
Definition: variables.h:474
std::vector< double > m_reco_track_phi_yx
Definition: variables.h:599
std::vector< int > m_reco_track_num_calo_hits_p2
Definition: variables.h:674
std::vector< double > m_reco_track_pid_chi2_mu_plane2
Definition: variables.h:1058
std::vector< double > m_isolation_nearest_unassoc_hit_to_trk_wire
Definition: variables.h:742
std::vector< double > m_reco_shower_dEdx_plane2_median
Definition: variables.h:1030
std::vector< art::Ptr< recob::Track > > TrackVector
Definition: variables.h:42
double m_mctruth_delta_photon_energy
Definition: variables.h:935
std::vector< std::vector< double > > m_reco_track_dEdx_p2
Definition: variables.h:670
std::vector< int > m_reco_track_num_daughters
Definition: variables.h:573
std::vector< double > m_reco_shower3d_startz
Definition: variables.h:755
std::vector< double > m_reco_track_trunc_PIDA_best_plane
Definition: variables.h:640
std::vector< double > m_reco_slice_shower_matched_conversion
Definition: variables.h:1080
std::vector< double > m_reco_shower3d_dEdx_plane2
Definition: variables.h:777
std::vector< int > m_reco_shower_delaunay_num_triangles_plane1
Definition: variables.h:807
std::vector< std::vector< double > > m_reco_track_dEdx_best_plane
Definition: variables.h:622
std::vector< double > m_reco_shower_dQdx_plane2_median
Definition: variables.h:1038
int m_trackstub_num_candidate_groups
Definition: variables.h:394
std::vector< double > m_reco_track_mean_dEdx_p0
Definition: variables.h:643
std::vector< double > m_reco_track_diry
Definition: variables.h:577
std::vector< std::vector< double > > m_reco_track_resrange_p1
Definition: variables.h:627
std::vector< double > m_reco_shower3d_phi_yx
Definition: variables.h:760
std::vector< int > m_sim_track_trackID
Definition: variables.h:713
std::vector< double > m_reco_shower3d_energy_plane0
Definition: variables.h:771
std::vector< double > m_reco_flash_time
Definition: variables.h:401
std::vector< double > m_mctruth_daughters_startz
Definition: variables.h:916
double m_reco_vertex_dist_to_SCB
Definition: variables.h:426
std::vector< int > m_sim_track_sliceId
Definition: variables.h:718
std::vector< int > m_mctruth_exiting_neutron_trackID
Definition: variables.h:956
std::vector< std::vector< double > > m_reco_track_resrange_p0
Definition: variables.h:624
std::vector< bool > m_reco_shower_is_nuslice
Definition: variables.h:838
std::vector< double > m_reco_track_pid_bragg_likelihood_mip_plane0
Definition: variables.h:1050
std::vector< double > m_reco_track_mean_dEdx_start_half_p0
Definition: variables.h:644
std::vector< double > m_mctruth_pi0_subleading_photon_mom
Definition: variables.h:984
std::vector< double > m_sim_track_py
Definition: variables.h:706
double m_sss3d_invar_ranked_implied_opang
Definition: variables.h:277
std::vector< double > m_reco_track_pid_chi2_p_plane0
Definition: variables.h:1059
std::vector< double > m_reco_track_mean_dEdx_end_half_p1
Definition: variables.h:654
std::string s_hitfinderLabel
Definition: variables.h:105
std::string s_potLabel
Definition: variables.h:107
std::vector< double > m_reco_track_dirz
Definition: variables.h:578
int m_trackstub_unassociated_hits_below_threshold
Definition: variables.h:352
std::vector< double > m_reco_shower_delaunay_area_plane2
Definition: variables.h:834
std::vector< double > m_sim_shower_matched_energy_fraction_plane2
Definition: variables.h:882
std::vector< double > m_reco_track_mean_dEdx_end_half_best_plane
Definition: variables.h:635
std::vector< int > m_sss_candidate_pdg
Definition: variables.h:228
std::vector< double > m_trackstub_candidate_veto_score
Definition: variables.h:365
std::vector< int > m_reco_flash_frame
Definition: variables.h:404
std::vector< int > m_mctruth_exiting_neutron_mother_trackID
Definition: variables.h:957
std::vector< int > m_matched_signal_shower_tracks_in_slice
Definition: variables.h:1093
std::vector< double > m_isolation_num_unassoc_hits_win_2cm_trk
Definition: variables.h:746
std::string s_CRTHitProducer
Definition: variables.h:113
std::vector< double > m_reco_shower_kalman_mean_dEdx_plane1
Definition: variables.h:847
std::vector< double > m_reco_shower_startx
Definition: variables.h:781
std::vector< double > m_isolation_num_unassoc_hits_win_5cm_trk
Definition: variables.h:747
std::vector< double > m_geant4_vx
Definition: variables.h:181
int m_mctruth_pi0_leading_photon_exiting_TPC
Definition: variables.h:977
std::vector< double > m_mctruth_exiting_proton_py
Definition: variables.h:953
std::vector< double > m_trackstub_candidate_min_dist
Definition: variables.h:372
std::vector< double > m_sim_track_endy
Definition: variables.h:709
std::vector< double > m_reco_track_starty
Definition: variables.h:580
std::vector< double > m_sim_shower_vertex_y
Definition: variables.h:871
std::vector< double > m_mctruth_exiting_photon_py
Definition: variables.h:945
std::vector< double > m_reco_shower_reclustered_energy_plane0
Definition: variables.h:993
std::vector< double > m_sss3d_shower_score
Definition: variables.h:257
std::string s_DAQHeaderProducer
Definition: variables.h:139
std::vector< double > m_sim_shower_matched_energy_fraction_plane0
Definition: variables.h:879
std::vector< double > m_reco_shower_energy_plane2
Definition: variables.h:991
std::vector< int > m_reco_track_start_in_SCB
Definition: variables.h:592
std::vector< double > m_reco_track_spacepoint_principal1
Definition: variables.h:609
double m_sss3d_ioc_ranked_en
Definition: variables.h:261
std::vector< double > m_trackstub_candidate_ADC_RMS
Definition: variables.h:364
std::vector< double > m_reco_shower_dirz
Definition: variables.h:793
std::string s_flashLabel
Definition: variables.h:102
std::vector< double > m_trackstub_candidate_min_tick
Definition: variables.h:368
bool m_mctruth_is_reconstructable_1g1p
Definition: variables.h:964
std::vector< double > m_sim_shower_start_z
Definition: variables.h:869
std::vector< double > m_reco_track_proton_kinetic_energy
Definition: variables.h:603
std::vector< double > m_reco_shower_implied_diry
Definition: variables.h:803
double m_flash_optfltr_pe_veto_tot
Definition: variables.h:827
std::vector< double > m_sim_track_kinetic_energy
Definition: variables.h:696
double m_mctruth_particles_Gvz[100]
Definition: variables.h:472
std::vector< double > s_gain_data
Definition: variables.h:130
std::vector< double > m_sim_shower_kinetic_energy
Definition: variables.h:856
std::vector< int > m_mctruth_exiting_proton_mother_trackID
Definition: variables.h:949
int m_mctruth_num_daughter_particles
Definition: variables.h:905
std::vector< double > s_gain_mc
Definition: variables.h:129
std::vector< int > m_sim_shower_best_matched_plane
Definition: variables.h:878
std::vector< double > m_geant4_py
Definition: variables.h:179
std::vector< double > m_isolation_min_dist_trk_unassoc
Definition: variables.h:738
std::vector< double > m_reco_track_mean_dEdx_end_half_p0
Definition: variables.h:645
std::vector< double > m_sim_track_endx
Definition: variables.h:708
std::vector< int > m_trackstub_candidate_trackid
Definition: variables.h:389
double s_exiting_photon_energy_threshold
Definition: variables.h:160
int m_sss_num_unassociated_hits_below_threshold
Definition: variables.h:194
std::vector< double > m_geant4_vy
Definition: variables.h:182
double m_sss3d_ioc_ranked_opang
Definition: variables.h:266
std::vector< double > m_matched_signal_track_nuscore
Definition: variables.h:1099
std::string s_trackLabel
The label for the track producer from PFParticles.
Definition: variables.h:99
std::vector< double > m_reco_shower_flash_shortest_distyz
Definition: variables.h:818
std::vector< int > m_reco_shower_start_in_SCB
Definition: variables.h:787
std::vector< double > m_reco_track_mean_trunc_dEdx_start_half_p2
Definition: variables.h:666
std::vector< bool > m_reco_track_is_nuslice
Definition: variables.h:685
std::vector< double > m_reco_shower_reclustered_energy_plane2
Definition: variables.h:996
std::vector< size_t > m_reco_track_ordered_energy_index
Definition: variables.h:606
std::vector< double > m_reco_flash_time_in_beamgate
Definition: variables.h:410
std::vector< double > m_trackstub_candidate_mean_ADC_second_half
Definition: variables.h:379
std::vector< int > m_mctruth_exiting_neutron_from_delta_decay
Definition: variables.h:958
std::vector< double > m_reco_track_spacepoint_max_dist
Definition: variables.h:613
std::vector< double > m_reco_track_pid_bragg_likelihood_p_plane1
Definition: variables.h:1048
std::vector< double > m_sss_candidate_true_energy
Definition: variables.h:231
double s_track_calo_min_dEdx_hits
Definition: variables.h:156
std::vector< double > m_mctruth_daughters_pz
Definition: variables.h:913
std::vector< int > m_mctruth_exiting_proton_from_delta_decay
Definition: variables.h:950
std::vector< std::string > m_geant4_process
Definition: variables.h:187
std::vector< bool > m_matched_signal_shower_is_nuslice
Definition: variables.h:1092
std::vector< double > m_reco_shower3d_theta_yz
Definition: variables.h:759
std::vector< double > m_sim_track_endz
Definition: variables.h:710
std::vector< double > m_reco_track_start_dist_to_CPA
Definition: variables.h:588
std::vector< int > m_mctruth_exiting_delta0_num_daughters
Definition: variables.h:938
std::vector< double > m_reco_flash_time_width
Definition: variables.h:402
std::vector< double > m_sss3d_shower_conversion_dist
Definition: variables.h:245
std::vector< double > m_trackstub_candidate_matched_energy_fraction_best_plane
Definition: variables.h:386
std::vector< double > m_reco_shower_spacepoint_x
Definition: variables.h:1009
std::vector< double > m_reco_shower_angle_wrt_wires_plane1
Definition: variables.h:1032
std::vector< int > m_reco_track_sliceId
Definition: variables.h:680
std::vector< double > m_sss3d_shower_length
Definition: variables.h:244
std::vector< double > m_reco_track_calo_energy_plane2
Definition: variables.h:595
double m_gtruth_hit_nuc_p4_y
Definition: variables.h:534
std::vector< double > m_mctruth_daughters_py
Definition: variables.h:912
std::string s_generatorLabel
Definition: variables.h:108
std::vector< int > m_matched_signal_track_tracks_in_slice
Definition: variables.h:1104
double m_sss3d_ioc_ranked_ioc
Definition: variables.h:265
double m_mctruth_nu_vertex_x
Definition: variables.h:894
std::vector< double > m_reco_shower_energy_max
Definition: variables.h:988
std::vector< double > m_reco_shower_plane2_nhits
Definition: variables.h:1002
std::vector< int > m_matched_signal_shower_showers_in_slice
Definition: variables.h:1094
std::vector< double > m_sim_shower_energy
Definition: variables.h:855
std::vector< int > m_sim_shower_matched
Definition: variables.h:853
std::vector< double > m_geant4_dx
Definition: variables.h:184
double m_mctruth_particles_Gvx[100]
Definition: variables.h:470
std::vector< double > m_reco_track_mean_dEdx_p1
Definition: variables.h:652
std::vector< double > m_reco_shower3d_length
Definition: variables.h:763
std::vector< double > m_reco_shower_kalman_exists
Definition: variables.h:841
double m_reco_vertex_dist_to_active_TPC
Definition: variables.h:427
std::vector< double > m_reco_track_nuscore
Definition: variables.h:681
std::vector< double > m_reco_shower_dEdx_plane0_max
Definition: variables.h:1022
std::vector< double > m_reco_slice_shower_matched_energy
Definition: variables.h:1078
double m_sss2d_ioc_ranked_ioc
Definition: variables.h:290
std::vector< double > m_reco_shower_dEdx_amalgamated
Definition: variables.h:1034
std::vector< double > m_sim_shower_matched_energy_fraction_plane1
Definition: variables.h:881
double m_gtruth_fs_had_syst_p4_E
Definition: variables.h:541
std::vector< double > m_CRT_hits_x
Definition: variables.h:559
double m_mctruth_pi0_subleading_photon_energy
Definition: variables.h:975
std::vector< double > m_reco_shower_end_dist_to_active_TPC
Definition: variables.h:788
std::vector< double > m_isolation_nearest_shr_hit_to_trk_time
Definition: variables.h:728
std::vector< double > m_sss3d_shower_ioc_ratio
Definition: variables.h:254
std::vector< double > m_reco_shower_length
Definition: variables.h:798
int m_mctruth_particles_daughters[100][100]
Definition: variables.h:469
double m_mctruth_delta_proton_energy
Definition: variables.h:936
double m_sss3d_ioc_ranked_implied_invar
Definition: variables.h:264
std::vector< double > m_reco_track_calo_energy_plane1
Definition: variables.h:594
std::vector< double > m_mctruth_exiting_proton_px
Definition: variables.h:952
std::vector< double > m_reco_shower_delaunay_area_plane1
Definition: variables.h:833
std::vector< int > m_reco_shower_num_hits_plane1
Definition: variables.h:830
std::vector< double > m_sss3d_shower_dir_y
Definition: variables.h:242
std::vector< double > m_sss_candidate_energy
Definition: variables.h:222
std::vector< double > m_reco_shower_plane2_meanRMS
Definition: variables.h:1005
std::vector< double > m_reco_track_trunc_PIDA_p1
Definition: variables.h:659
std::vector< double > m_mctruth_pi0_subleading_photon_start
Definition: variables.h:980
std::vector< double > m_reco_shower_reclustered_energy_max
Definition: variables.h:992
std::vector< double > m_mctruth_daughters_endx
Definition: variables.h:918
std::vector< double > m_geant4_pz
Definition: variables.h:180
std::vector< double > m_sim_shower_px
Definition: variables.h:874
std::string s_CRTVetoLabel
Definition: variables.h:111
std::string s_true_eventweight_label
Definition: variables.h:114
std::vector< double > m_geant4_vz
Definition: variables.h:183
std::vector< double > m_reco_shower_dEdx_plane1_mean
Definition: variables.h:1020
std::vector< double > m_reco_track_mean_trunc_dEdx_p1
Definition: variables.h:656
int m_reco_slice_track_num_matched_signal
Definition: variables.h:1069
std::string s_selected_event_list
Definition: variables.h:94
std::vector< double > m_reco_shower_flash_shortest_distz
Definition: variables.h:816
std::vector< double > m_reco_shower3d_dEdx_plane0
Definition: variables.h:775
std::vector< double > m_trackstub_candidate_overlay_fraction
Definition: variables.h:391
geo::GeometryCore const * s_geom
Definition: variables.h:143
std::string s_shower3dLabel
Definition: variables.h:95
std::vector< int > m_reco_track_good_calo_best_plane
Definition: variables.h:636
std::vector< double > m_reco_track_mean_dEdx_p2
Definition: variables.h:661
double m_sss3d_ioc_ranked_conv
Definition: variables.h:262
std::vector< double > m_CRT_veto_hit_PE
Definition: variables.h:547
std::vector< double > m_reco_shower_dEdx_plane2_max
Definition: variables.h:1024
double m_gtruth_hit_nuc_p4_x
Definition: variables.h:533
int m_reco_slice_shower_num_matched_signal
Definition: variables.h:1068
std::vector< int > m_reco_shower_flash_shortest_index_z
Definition: variables.h:820
std::vector< int > m_reco_track_end_in_SCB
Definition: variables.h:591
std::vector< double > m_sim_track_startz
Definition: variables.h:704
std::vector< double > m_reco_shower_daughter_trackscore
Definition: variables.h:750
std::vector< double > m_reco_shower3d_implied_dirx
Definition: variables.h:767
std::vector< double > m_reco_shower_implied_dirz
Definition: variables.h:804
std::vector< std::vector< double > > m_reco_shower_dEdx_plane2
Definition: variables.h:1018
std::vector< std::string > m_mctruth_daughters_process
Definition: variables.h:922
std::vector< double > m_reco_shower_energy_plane1
Definition: variables.h:990
std::vector< double > m_reco_shower_dEdx_plane0_mean
Definition: variables.h:1019
std::vector< int > m_sim_track_pdg
Definition: variables.h:697
double m_sss2d_invar_ranked_invar
Definition: variables.h:308
std::vector< double > m_sim_shower_mass
Definition: variables.h:857
std::vector< double > m_sss_candidate_mean_tick
Definition: variables.h:214
std::vector< double > m_reco_shower3d_implied_diry
Definition: variables.h:768
std::vector< double > m_reco_shower_starty
Definition: variables.h:782
std::vector< double > m_trackstub_candidate_max_tick
Definition: variables.h:367
std::vector< double > m_sss_candidate_max_wire
Definition: variables.h:218
std::vector< double > m_sss_candidate_min_dist
Definition: variables.h:220
std::vector< double > m_reco_track_dirx
Definition: variables.h:576
double m_sss2d_invar_ranked_conv
Definition: variables.h:305
std::vector< int > m_reco_shower_dEdx_amalgamated_nhits
Definition: variables.h:1035
std::vector< int > m_reco_shower_sliceId
Definition: variables.h:835
std::vector< int > m_trackstub_candidate_num_ticks
Definition: variables.h:360
double m_mctruth_neutrino_qsqr
Definition: variables.h:491
std::vector< double > m_reco_shower3d_openingangle
Definition: variables.h:762
int m_sss2d_conv_ranked_num_planes
Definition: variables.h:302
std::vector< std::vector< double > > m_grouped_trackstub_candidate_indices
Definition: variables.h:395
double m_sss2d_invar_ranked_ioc
Definition: variables.h:306
std::vector< std::vector< double > > m_reco_shower_dQdx_plane0
Definition: variables.h:1013
Description of geometry of one entire detector.
Declaration of cluster object.
double m_sss3d_invar_ranked_ioc
Definition: variables.h:275
std::vector< double > m_reco_shower_plane1_meanRMS
Definition: variables.h:1004
std::vector< double > m_reco_track_mean_dEdx_start_half_best_plane
Definition: variables.h:634
std::vector< double > m_reco_shower_kalman_mean_dEdx_plane2
Definition: variables.h:848
Class def header for mctrack data container.
std::vector< int > m_sss3d_slice_nu
Definition: variables.h:258
std::vector< int > m_reco_slice_num_pfps
Definition: variables.h:1074
std::vector< double > m_reco_track_pid_three_plane_proton_pid
Definition: variables.h:1062
std::vector< double > m_reco_flash_ycenter_in_beamgate
Definition: variables.h:411
std::vector< double > m_reco_track_mean_trunc_dEdx_p2
Definition: variables.h:665
int m_mctruth_num_reconstructable_protons
Definition: variables.h:963
std::vector< double > m_sim_shower_nuscore
Definition: variables.h:885
std::vector< double > m_reco_track_mean_trunc_dEdx_end_half_p2
Definition: variables.h:667
std::vector< double > m_reco_shower_start_dist_to_active_TPC
Definition: variables.h:784
double m_sss3d_invar_ranked_opang
Definition: variables.h:276
std::vector< double > m_reco_track_endz
Definition: variables.h:584
std::vector< double > m_sim_track_pz
Definition: variables.h:707
TTree * true_eventweight_tree
Definition: variables.h:326
std::vector< double > m_sss_candidate_matched_energy_fraction_best_plane
Definition: variables.h:227
std::vector< double > m_trackstub_candidate_wire_tick_based_length
Definition: variables.h:377
std::vector< double > m_reco_shower_kalman_median_dEdx_plane1
Definition: variables.h:843
Provides recob::Track data product.
std::vector< std::vector< double > > m_reco_shower_dQdx_plane2
Definition: variables.h:1015
std::vector< double > m_reco_flash_ywidth
Definition: variables.h:406
std::vector< double > m_sim_shower_start_y
Definition: variables.h:868
std::vector< double > m_reco_track_trackscore
Definition: variables.h:683
std::vector< double > m_geant4_E
Definition: variables.h:176
Provides a base class aware of world box coordinates.
double s_exiting_proton_energy_threshold
Definition: variables.h:161
std::vector< double > m_reco_track_endx
Definition: variables.h:582
std::vector< double > m_reco_shower_openingangle
Definition: variables.h:797
double m_sss2d_conv_ranked_invar
Definition: variables.h:300
std::vector< double > m_reco_slice_nuscore
Definition: variables.h:1067
std::vector< double > m_reco_flash_ycenter
Definition: variables.h:405
std::vector< double > m_CRT_hits_PE
Definition: variables.h:558
std::vector< double > m_mctruth_exiting_neutron_energy
Definition: variables.h:959
double m_sss2d_ioc_ranked_en
Definition: variables.h:288
std::vector< int > m_sim_shower_sliceId
Definition: variables.h:884
std::vector< double > m_reco_shower_phi_yx
Definition: variables.h:795
double m_mctruth_particles_Gvy[100]
Definition: variables.h:471
int m_mctruth_particles_mother[100]
Definition: variables.h:466
std::vector< double > m_sim_shower_overlay_fraction
Definition: variables.h:883
std::string s_Spline_CV_label
Definition: variables.h:116
std::vector< size_t > m_reco_shower_ordered_energy_index
Definition: variables.h:1012
double m_genie_spline_weight
Definition: variables.h:564
std::vector< double > m_sss3d_shower_impact_parameter
Definition: variables.h:253
std::vector< double > m_reco_shower_dEdx_plane2_mean
Definition: variables.h:1021
std::vector< double > m_reco_track_start_dist_to_active_TPC
Definition: variables.h:586
double m_sss2d_conv_ranked_en
Definition: variables.h:296
std::vector< int > m_reco_track_num_trajpoints
Definition: variables.h:601
std::vector< double > m_reco_shower_spacepoint_z
Definition: variables.h:1010
std::vector< double > m_reco_track_pid_bragg_likelihood_mip_plane1
Definition: variables.h:1051
std::vector< double > m_sss_candidate_fit_slope
Definition: variables.h:211
std::vector< double > m_reco_shower_dEdx_plane0_min
Definition: variables.h:1025
std::vector< double > m_reco_track_mean_trunc_dEdx_start_half_best_plane
Definition: variables.h:638
std::vector< std::string > m_sim_shower_end_process
Definition: variables.h:864
std::vector< double > m_sss3d_shower_start_y
Definition: variables.h:239
std::vector< double > m_reco_shower_kalman_median_dEdx_allplane
Definition: variables.h:845
std::vector< double > m_reco_shower_plane2
Definition: variables.h:999
std::vector< int > m_matched_signal_shower_sliceId
Definition: variables.h:1090
std::vector< bool > m_matched_signal_track_is_nuslice
Definition: variables.h:1103
double m_sss3d_invar_ranked_implied_invar
Definition: variables.h:274
std::vector< int > m_sss_candidate_parent_pdg
Definition: variables.h:229
std::vector< double > m_trackstub_candidate_ioc_based_length
Definition: variables.h:376
std::vector< int > m_sim_shower_trackID
Definition: variables.h:859
std::vector< double > m_mctruth_exiting_pi0_px
Definition: variables.h:969
std::vector< double > m_reco_shower3d_dEdx_plane1
Definition: variables.h:776
double m_sss2d_ioc_ranked_angle_to_shower
Definition: variables.h:293
std::vector< double > m_mctruth_daughters_endy
Definition: variables.h:919
std::vector< double > m_mctruth_pi0_leading_photon_start
Definition: variables.h:982
std::vector< std::string > m_sim_shower_process
Definition: variables.h:863
std::vector< double > m_reco_track_pid_chi2_mu_plane1
Definition: variables.h:1057
int m_mctruth_particles_rescatter[100]
Definition: variables.h:478
std::vector< double > m_reco_shower_energy_plane0
Definition: variables.h:989
int m_mctruth_num_exiting_neutrons
Definition: variables.h:928
std::string s_showerKalmanCaloLabel
Definition: variables.h:97
std::vector< int > m_reco_track_num_calo_hits_p0
Definition: variables.h:672
std::vector< std::string > m_geant4_end_process
Definition: variables.h:188
std::vector< art::Ptr< recob::PFParticle > > PFParticleVector
Definition: variables.h:41
std::vector< double > m_matched_signal_shower_true_E
Definition: variables.h:1088
std::vector< double > m_CRT_hits_z
Definition: variables.h:561
std::vector< double > m_reco_shower3d_diry
Definition: variables.h:757
std::vector< double > m_reco_flash_zwidth
Definition: variables.h:408
std::vector< int > m_sim_shower_origin
Definition: variables.h:862
double s_SEAviewStubDbscanMinPts
Definition: variables.h:87
std::vector< double > m_reco_shower_delaunay_area_plane0
Definition: variables.h:832
std::vector< double > m_mctruth_exiting_pi0_E
Definition: variables.h:967
std::vector< double > m_trackstub_candidate_min_impact_parameter_to_shower
Definition: variables.h:373
int m_mctruth_particles_pdg_code[100]
Definition: variables.h:465
std::vector< int > m_reco_track_good_calo_p2
Definition: variables.h:664
std::vector< double > m_sim_track_starty
Definition: variables.h:703
std::string m_mctruth_pi0_leading_photon_end_process
Definition: variables.h:974
std::vector< double > m_sim_shower_start_x
Definition: variables.h:867
std::vector< int > m_sim_shower_parent_pdg
Definition: variables.h:860
std::vector< bool > m_reco_track_isclearcosmic
Definition: variables.h:682
double m_sss3d_invar_ranked_invar
Definition: variables.h:273
std::vector< double > m_reco_track_pid_pida_plane1
Definition: variables.h:1054
std::string s_CRTTzeroLabel
Definition: variables.h:112
std::vector< double > m_reco_flash_total_pe
Definition: variables.h:400
int m_mctruth_particles_track_Id[100]
Definition: variables.h:464
std::vector< double > m_reco_shower3d_dirz
Definition: variables.h:758
std::vector< std::vector< double > > m_reco_track_trunc_dEdx_p2
Definition: variables.h:629
std::vector< double > m_reco_flash_zcenter_in_beamgate
Definition: variables.h:412
std::vector< int > m_reco_shower_hit_wire
Definition: variables.h:1006
std::vector< double > m_sim_track_nuscore
Definition: variables.h:719
std::vector< double > m_trackstub_candidate_true_energy
Definition: variables.h:390
std::vector< std::string > m_mctruth_daughters_end_process
Definition: variables.h:923
std::vector< int > m_reco_slice_track_matched_sliceId
Definition: variables.h:1072
double m_flash_optfltr_pe_beam
Definition: variables.h:824
std::vector< double > m_reco_track_trunc_PIDA_p2
Definition: variables.h:668
std::vector< std::vector< double > > m_reco_track_dEdx_p0
Definition: variables.h:625
std::vector< double > m_reco_slice_track_matched_energy
Definition: variables.h:1079
std::vector< double > m_mctruth_exiting_neutron_px
Definition: variables.h:960
std::vector< int > m_matched_signal_track_sliceId
Definition: variables.h:1100
double m_sss3d_ioc_ranked_implied_opang
Definition: variables.h:267
double s_SEAviewStubPlotDistance
Definition: variables.h:86
std::vector< double > m_reco_track_start_dist_to_SCB
Definition: variables.h:590
double m_sss2d_ioc_ranked_pca
Definition: variables.h:291
std::vector< std::vector< double > > m_reco_track_trunc_dEdx_p1
Definition: variables.h:626
std::vector< double > m_reco_shower_dQdx_plane1_median
Definition: variables.h:1037
std::vector< double > m_reco_shower_angle_wrt_wires_plane2
Definition: variables.h:1033
double s_SEAviewMaxPtsLinFit
Definition: variables.h:80
std::map< size_t, art::Ptr< recob::PFParticle > > PFParticleIdMap
Definition: variables.h:44
double s_SEAviewStubHitThreshold
Definition: variables.h:85
std::string m_mctruth_pi0_subleading_photon_end_process
Definition: variables.h:976
std::vector< double > m_reco_shower3d_impact_parameter
Definition: variables.h:766
double m_sss2d_conv_ranked_ioc
Definition: variables.h:298
std::vector< double > m_reco_shower_kalman_median_dEdx_plane0
Definition: variables.h:842
double m_mctruth_pi0_leading_photon_energy
Definition: variables.h:973
Class def header for MCShower data container.
int m_mctruth_particles_num_daughters[100]
Definition: variables.h:468
std::vector< int > m_sim_track_matched
Definition: variables.h:690
std::vector< double > m_reco_flash_abs_time
Definition: variables.h:403
std::vector< double > m_reco_shower3d_conversion_distance
Definition: variables.h:764
double m_sss2d_ioc_ranked_conv
Definition: variables.h:289
std::vector< double > m_reco_shower_start_dist_to_SCB
Definition: variables.h:786
std::vector< int > m_reco_shower3d_exists
Definition: variables.h:752
std::vector< double > m_reco_track_mean_trunc_dEdx_end_half_p1
Definition: variables.h:658
double m_gtruth_fs_had_syst_p4_x
Definition: variables.h:538
std::vector< double > m_reco_track_mean_dEdx_start_half_p1
Definition: variables.h:653
std::vector< int > m_mctruth_exiting_photon_mother_trackID
Definition: variables.h:941
std::vector< double > m_geant4_mass
Definition: variables.h:177
std::vector< double > m_isolation_num_shr_hits_win_2cm_trk
Definition: variables.h:733
std::vector< double > m_trackstub_candidate_min_ioc_to_shower_start
Definition: variables.h:375
std::vector< int > m_sim_shower_pdg
Definition: variables.h:858
std::vector< double > m_reco_shower3d_dirx
Definition: variables.h:756
std::vector< double > m_reco_shower_trackscore
Definition: variables.h:839
std::vector< double > m_reco_track_mean_dEdx_start_half_p2
Definition: variables.h:662
double s_SEAviewDbscanMinPts
Definition: variables.h:78
std::vector< double > m_reco_shower_plane0
Definition: variables.h:997
std::vector< int > m_reco_track_num_calo_hits_p1
Definition: variables.h:673
std::vector< bool > m_sim_track_isclearcosmic
Definition: variables.h:720
double m_photonu_weight_high
Definition: variables.h:568
std::vector< double > m_reco_shower_spacepoint_y
Definition: variables.h:1011
std::vector< double > m_reco_shower_angle_wrt_wires_plane0
Definition: variables.h:1031
std::vector< double > m_reco_track_endy
Definition: variables.h:583
double m_flash_optfltr_pe_veto
Definition: variables.h:826
std::vector< int > m_sss_candidate_matched
Definition: variables.h:226
std::vector< double > m_mctruth_daughters_E
Definition: variables.h:907
std::vector< double > m_mctruth_daughters_starty
Definition: variables.h:915
std::vector< bool > m_matched_signal_shower_is_clearcosmic
Definition: variables.h:1091
std::vector< double > m_matched_signal_shower_nuscore
Definition: variables.h:1089
std::vector< double > m_reco_shower3d_starty
Definition: variables.h:754
std::vector< double > m_reco_shower_hit_tick
Definition: variables.h:1008
double m_sss3d_invar_ranked_conv
Definition: variables.h:272
std::vector< double > m_reco_track_startz
Definition: variables.h:581
std::vector< int > m_trackstub_candidate_num_wires
Definition: variables.h:359
std::vector< int > m_sim_shower_is_true_shower
Definition: variables.h:877
std::vector< double > m_reco_shower_pfparticle_pdg
Definition: variables.h:840
std::vector< int > m_reco_track_num_spacepoints
Definition: variables.h:602
std::vector< double > m_trackstub_candidate_min_wire
Definition: variables.h:369
std::vector< double > m_reco_track_end_dist_to_CPA
Definition: variables.h:587
std::vector< int > m_sss_candidate_in_nu_slice
Definition: variables.h:202
std::vector< double > m_reco_shower_reclustered_energy_plane1
Definition: variables.h:995
std::string s_pidLabel
For PID stuff.
Definition: variables.h:110
std::vector< double > m_mctruth_daughters_startx
Definition: variables.h:914
std::vector< double > m_sss3d_shower_dir_z
Definition: variables.h:243
std::vector< double > m_CRT_hits_time
Definition: variables.h:557
std::vector< int > m_geant4_pdg
Definition: variables.h:172
std::vector< double > m_reco_shower3d_energy_plane2
Definition: variables.h:773
int m_reco_num_flashes_in_beamgate
Definition: variables.h:415
std::string s_truthmatching_signaldef
Definition: variables.h:117
std::vector< std::vector< double > > m_reco_track_resrange_p2
Definition: variables.h:669
std::vector< double > m_sim_track_length
Definition: variables.h:711
std::vector< double > m_reco_shower_kalman_mean_dEdx_plane0
Definition: variables.h:846
std::vector< double > m_isolation_num_shr_hits_win_1cm_trk
Definition: variables.h:731
double m_reco_vertex_dist_to_CPA
Definition: variables.h:428
std::vector< double > m_mctruth_exiting_photon_px
Definition: variables.h:944
double m_sss2d_invar_ranked_angle_to_shower
Definition: variables.h:309
std::vector< int > m_reco_slice_num_tracks
Definition: variables.h:1076
std::vector< double > m_sim_track_overlay_fraction
Definition: variables.h:693
std::vector< double > m_isolation_num_shr_hits_win_5cm_trk
Definition: variables.h:734
int m_sss2d_invar_ranked_num_planes
Definition: variables.h:310
std::vector< int > m_geant4_mother
Definition: variables.h:174
std::vector< double > m_trackstub_candidate_energy
Definition: variables.h:383
std::vector< double > m_geant4_costheta
Definition: variables.h:190
std::vector< double > m_reco_shower_diry
Definition: variables.h:792
std::vector< double > m_mctruth_daughters_px
Definition: variables.h:911
std::vector< int > m_mctruth_daughters_trackID
Definition: variables.h:909
std::vector< double > m_reco_track_pid_bragg_likelihood_mu_plane1
Definition: variables.h:1045
double m_sss2d_conv_ranked_pca
Definition: variables.h:299
std::vector< double > m_mctruth_daughters_endtime
Definition: variables.h:921
std::vector< double > m_reco_shower_start_dist_to_CPA
Definition: variables.h:785
std::vector< double > m_sim_track_mass
Definition: variables.h:695
std::vector< double > m_trackstub_candidate_mean_wire
Definition: variables.h:371
std::vector< double > m_trackstub_candidate_min_conversion_dist_to_shower_start
Definition: variables.h:374
std::vector< double > m_reco_track_mean_trunc_dEdx_start_half_p0
Definition: variables.h:648
double m_mctruth_particles_polz[100]
Definition: variables.h:481
std::vector< bool > m_sim_shower_isclearcosmic
Definition: variables.h:886
double m_mctruth_delta_neutron_energy
Definition: variables.h:937
std::vector< double > m_reco_shower_dEdx_plane0_median
Definition: variables.h:1028
std::vector< int > m_trackstub_candidate_num_hits
Definition: variables.h:358
std::vector< int > m_mctruth_exiting_photon_trackID
Definition: variables.h:940
std::vector< double > m_reco_shower_conversion_distance
Definition: variables.h:799
std::vector< double > m_mctruth_exiting_neutron_pz
Definition: variables.h:962
double m_flash_optfltr_pe_beam_tot
Definition: variables.h:825
double m_sss2d_invar_ranked_pca
Definition: variables.h:307
std::vector< double > m_sss_candidate_max_tick
Definition: variables.h:215
std::vector< size_t > m_reco_track_ordered_displacement_index
Definition: variables.h:607
std::vector< double > m_trackstub_candidate_mean_ADC
Definition: variables.h:363
bool m_mctruth_is_reconstructable_1g0p
Definition: variables.h:965
std::vector< int > m_geant4_trackid
Definition: variables.h:173
art framework interface to geometry description
std::vector< int > m_sss_candidate_num_ticks
Definition: variables.h:205
std::vector< double > m_reco_track_mean_dEdx_end_half_p2
Definition: variables.h:663
std::vector< int > m_sss3d_slice_clear_cosmic
Definition: variables.h:259
std::vector< std::vector< double > > m_reco_track_trunc_dEdx_best_plane
Definition: variables.h:620
std::vector< int > m_sim_shower_parent_trackID
Definition: variables.h:861
std::vector< double > m_reco_shower_dirx
Definition: variables.h:791
std::vector< double > m_reco_track_pid_pida_plane0
Definition: variables.h:1053
std::vector< double > m_sss_candidate_mean_wire
Definition: variables.h:219
std::vector< double > m_reco_track_pid_pida_plane2
Definition: variables.h:1055
std::vector< int > m_trackstub_candidate_matched
Definition: variables.h:385
std::vector< double > m_reco_track_mean_trunc_dEdx_p0
Definition: variables.h:647
std::vector< int > m_reco_shower_num_hits_plane0
Definition: variables.h:829
std::string s_geantModuleLabel
Definition: variables.h:103
double m_mctruth_nu_vertex_z
Definition: variables.h:896
std::vector< double > m_reco_track_calo_energy_plane0
Definition: variables.h:593
std::vector< double > m_reco_shower3d_startx
Definition: variables.h:753
std::vector< double > m_matched_signal_track_true_E
Definition: variables.h:1098
std::vector< double > m_mctruth_pi0_leading_photon_end
Definition: variables.h:981
std::vector< double > m_reco_track_length
Definition: variables.h:575
std::vector< double > m_reco_shower_plane0_meanRMS
Definition: variables.h:1003
std::vector< double > m_reco_shower_dEdx_plane1_median
Definition: variables.h:1029
std::vector< double > m_reco_track_pid_bragg_likelihood_p_plane0
Definition: variables.h:1047
std::vector< double > m_sss_candidate_mean_ADC
Definition: variables.h:208
double s_SEAviewHitThreshold
Definition: variables.h:77
std::vector< std::vector< double > > m_reco_track_resrange_best_plane
Definition: variables.h:621
std::vector< double > m_sss_candidate_min_tick
Definition: variables.h:216
std::vector< art::Ptr< recob::Shower > > ShowerVector
Definition: variables.h:43
std::vector< std::vector< double > > m_reco_shower_dEdx_plane1
Definition: variables.h:1017
std::vector< std::vector< geo::BoxBoundedGeo > > fTPCVolumes
Definition: variables.h:49
std::string s_showerKalmanLabel
Definition: variables.h:96
std::vector< double > m_sss_candidate_min_wire
Definition: variables.h:217
std::vector< double > m_sim_track_px
Definition: variables.h:705
std::vector< double > m_reco_track_pid_bragg_likelihood_mip_plane2
Definition: variables.h:1052
art::ValidHandle< std::vector< recob::PFParticle > > PFParticleHandle
Definition: variables.h:40