All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
selectors.fcl
Go to the documentation of this file.
1 pdg_selectors: [
2  "return true;",
3  "{ var match = track.match;
4  return match.has_match and (match.match_pdg == 11 or match.match_pdg == -11); }",
5  "{ var match = track.match;
6  return match.has_match and (match.match_pdg == 13 or match.match_pdg == -13); }",
7  "{ var match = track.match;
8  return match.has_match and (match.match_pdg == 211 or match.match_pdg == -211); }",
9  "{ var match = track.match;
10  return match.has_match and (match.match_pdg == 321 or match.match_pdg == -321); }",
11  "{ var match = track.match;
12  return match.has_match and (match.match_pdg == 2212 or match.match_pdg == -2212); }",
13  "{ var match = track.match;
14  var pdg = match.match_pdg;
15  return match.has_match and
16  (pdg == 2224 or pdg == -2224 or pdg == 2214 or pdg == -2214 or pdg == 1114 or pdg == -1114 or pdg == 3222 or pdg == -3222 or pdg == 3112 or pdg == -3112
17  or pdg > 1000000000); }",
18  "{ var match = track.match;
19  return !match.has_match or match.match_pdg == 22 or match.match_pdg == 2112 or match.match_pdg == -2212; }"
20 ]
21 
22 pdgs: ["all", "e", "mu", "pi", "k", "p", "nucl", "none"]
23 
25  "return true;",
26  "{ var match = track.match;
27  return match.has_match and (match.match_pdg == 13 or match.match_pdg == -13); }",
28  "{ var match = track.match;
29  return match.has_match and (match.match_pdg == 211 or match.match_pdg == -211); }",
30  "{ var match = track.match;
31  return match.has_match and (match.match_pdg == 2212 or match.match_pdg == -2212); }"
32 ]
33 primary_pdgs: ["all", "mu", "pi", "p"]
34 
35 
37  "return true;",
38  "{ var match = track.match;
39  return match.has_match and match.mctruth_origin == 2 // kCosmicRay
40  and mctype == 1;}",
41  "{ var match = track.match;
42  return match.has_match and match.mctruth_origin == 2 // kCosmicRay
43  and mctype == 2;}",
44  "{ var match = track.match;
45  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
46  and !match.mctruth_ccnc and track.match.is_primary; }",
47  "{ var match = track.match;
48  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
49  and !match.mctruth_ccnc and !track.match.is_primary; }",
50  "{ var match = track.match;
51  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
52  and match.mctruth_ccnc and track.match.is_primary; }",
53  "{ var match = track.match;
54  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
55  and match.mctruth_ccnc and !track.match.is_primary; }",
56  "return !track.match.has_match;"
57 ]
58 
59 interactions: ["All", "Cosmic", "InTime-Cosmic", "CC", "CC-Other", "NC", "NC-Other", "No-Match"]
60 
62  "{ var match = track.match;
63  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
64  and !match.mctruth_ccnc and track.match.is_primary; }",
65  "{ var match = track.match;
66  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
67  and match.mctruth_ccnc and track.match.is_primary; }",
68  "{ var match = track.match;
69  return match.has_match and match.mctruth_origin == 1 // kBeamNeutrino
70  and !track.match.is_primary; }"
71 ]
72 neutrinos: ["All", "CC", "NC", "Other"]
73 
75  "return true;",
76  "return track.match.has_match and particle.wall_enter == 0",
77  "return track.match.has_match and particle.wall_enter == 1",
78  "return track.match.has_match and particle.wall_enter == 2",
79  "return track.match.has_match and particle.wall_enter == 3",
80  "return track.match.has_match and particle.wall_enter == 4",
81  "return track.match.has_match and particle.wall_enter == 5",
82  "return track.match.has_match and particle.wall_enter == 6"
83 ]
84 wall_selectors_exit: [
85  "return true;",
86  "return track.match.has_match and particle.wall_exit == 0",
87  "return track.match.has_match and particle.wall_exit == 1",
88  "return track.match.has_match and particle.wall_exit == 2",
89  "return track.match.has_match and particle.wall_exit == 3",
90  "return track.match.has_match and particle.wall_exit == 4",
91  "return track.match.has_match and particle.wall_exit == 5",
92  "return track.match.has_match and particle.wall_exit == 6"
93 ]
94 
95 wall_selectors_either: [
96  "return true;",
97  "return track.match.has_match and (particle.wall_exit == 0 and particle.wall_enter == 0);",
98  "return track.match.has_match and (particle.wall_exit == 1 or particle.wall_enter == 1);",
99  "return track.match.has_match and (particle.wall_exit == 2 or particle.wall_enter == 2);",
100  "return track.match.has_match and (particle.wall_exit == 3 or particle.wall_enter == 3);",
101  "return track.match.has_match and (particle.wall_exit == 4 or particle.wall_enter == 4);",
102  "return track.match.has_match and (particle.wall_exit == 5 or particle.wall_enter == 5);",
103  "return track.match.has_match and (particle.wall_exit == 6 or particle.wall_enter == 6);"
104 ]
105 walls: ["all", "no-wall", "top", "bottom", "left", "right", "front", "back"]
106 
108  "return true;",
109  "return track.match.has_match and !particle.is_contained;",
110  "return track.match.has_match and particle.is_contained;"
111 ]
112 
113 reco_contained_selectors: [
114  "return true;",
115  "return !track.is_contained;",
116  "return track.is_contained;"
117 ]
118 
119 contained: ["all", "exiting", "contained"]
120 
122  "return true;",
123  "return track.match.has_match and (particle.start_time < 0. or particle.start_time > 1.6);",
124  "return track.match.has_match and (particle.start_time >= 0. and particle.start_time <= 1.6);"
125 ]
126 timings: ["all", "outtime", "intime"]
127 
128 truth_cut_order: ["Truth", "T_fid", "T_trig", "T_vqual", "T_tqual", "T_reco"]
129 cut_order: ["Reco", "R_trig", "R_flashtime", "R_fid", "R_goodmcs", "R_flashmatch",
130  "R_crttrack", "R_crthit", "R_crtactive", "R_contained", "R_length"]
131 cut_order_summary: ["Reco", "R_trig", "R_flashtime", "R_flashmatch",
132  "R_fid", "R_goodmcs", "R_length","R_contained",
133  "R_crtactive","R_crttrack", "R_crthit"]
134 cut_order_summary_separate_contained: ["Reco", "R_trig", "R_flashtime", "R_flashmatch",
135  "R_fid", "R_goodmcs", "R_length",
136  "R_crttrack", "R_crthit",
137  "R_crtactive","R_contained"]
walls no back true_contained_selectors
Definition: selectors.fcl:105
timings intime T_reco cut_order
Definition: selectors.fcl:126
timings intime T_reco R_length cut_order_summary
Definition: selectors.fcl:126
timings intime truth_cut_order
Definition: selectors.fcl:126
timings intime T_reco R_length R_crthit cut_order_summary_separate_contained
Definition: selectors.fcl:126
interactions InTime CC NC No Match neutrino_selectors
Definition: selectors.fcl:59
neutrinos Other wall_selectors_enter
Definition: selectors.fcl:72
primary_pdgs p interaction_selectors
Definition: selectors.fcl:33
contained contained timing_selectors
Definition: selectors.fcl:119
pdgs none primary_pdg_selectors
Definition: selectors.fcl:22