SRProxy.cxx
Go to the documentation of this file.
1 // This file was auto-generated by SRProxy's gen_srproxy.
2 // DO NOT EDIT IT DIRECTLY.
3 
5 
7 
8 namespace
9 {
10  std::string Join(const std::string& a, const std::string& b)
11  {
12  if(a.empty()) return b;
13  return a+"."+b;
14  }
15 }
16 
17 caf::Proxy<caf::SRSLidEnergy>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
18  E(d, tr, Join(name, "E"), base, offset),
19  depE(d, tr, Join(name, "depE"), base, offset),
20  hadE(d, tr, Join(name, "hadE"), base, offset),
21  shwE(d, tr, Join(name, "shwE"), base, offset)
22 {
23 }
24 
26 {
27  E = sr.E;
28  depE = sr.depE;
29  hadE = sr.hadE;
30  shwE = sr.shwE;
31  return *this;
32 }
33 
35 {
36  E.CheckEquals(sr.E);
37  depE.CheckEquals(sr.depE);
38  hadE.CheckEquals(sr.hadE);
39  shwE.CheckEquals(sr.shwE);
40 }
41 
42 caf::Proxy<caf::SRNueEnergy>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
43  lid(d, tr, Join(name, "lid"), base, offset),
44  rawgevhad(d, tr, Join(name, "rawgevhad"), base, offset),
45  rawgevshw(d, tr, Join(name, "rawgevshw"), base, offset),
46  rawgevslice(d, tr, Join(name, "rawgevslice"), base, offset),
47  regcvnEvtE(d, tr, Join(name, "regcvnEvtE"), base, offset),
48  regcvnEvtE_opphorn(d, tr, Join(name, "regcvnEvtE_opphorn"), base, offset)
49 {
50 }
51 
53 {
54  lid = sr.lid;
55  rawgevhad = sr.rawgevhad;
56  rawgevshw = sr.rawgevshw;
57  rawgevslice = sr.rawgevslice;
58  regcvnEvtE = sr.regcvnEvtE;
59  regcvnEvtE_opphorn = sr.regcvnEvtE_opphorn;
60  return *this;
61 }
62 
64 {
65  lid.CheckEquals(sr.lid);
66  rawgevhad.CheckEquals(sr.rawgevhad);
67  rawgevshw.CheckEquals(sr.rawgevshw);
68  rawgevslice.CheckEquals(sr.rawgevslice);
69  regcvnEvtE.CheckEquals(sr.regcvnEvtE);
70  regcvnEvtE_opphorn.CheckEquals(sr.regcvnEvtE_opphorn);
71 }
72 
73 caf::Proxy<caf::SRBPFEnergy>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
74  DirZMuon(d, tr, Join(name, "DirZMuon"), base, offset),
75  E1(d, tr, Join(name, "E1"), base, offset),
76  E2(d, tr, Join(name, "E2"), base, offset),
77  E3(d, tr, Join(name, "E3"), base, offset),
78  EFuzzyK3D(d, tr, Join(name, "EFuzzyK3D"), base, offset),
79  ERemain(d, tr, Join(name, "ERemain"), base, offset),
80  Eres1(d, tr, Join(name, "Eres1"), base, offset),
81  Eres2(d, tr, Join(name, "Eres2"), base, offset),
82  Eres3(d, tr, Join(name, "Eres3"), base, offset),
83  EventID(d, tr, Join(name, "EventID"), base, offset),
84  N3DProngs(d, tr, Join(name, "N3DProngs"), base, offset),
85  PMuon(d, tr, Join(name, "PMuon"), base, offset),
86  SumPE(d, tr, Join(name, "SumPE"), base, offset)
87 {
88 }
89 
91 {
92  DirZMuon = sr.DirZMuon;
93  E1 = sr.E1;
94  E2 = sr.E2;
95  E3 = sr.E3;
96  EFuzzyK3D = sr.EFuzzyK3D;
97  ERemain = sr.ERemain;
98  Eres1 = sr.Eres1;
99  Eres2 = sr.Eres2;
100  Eres3 = sr.Eres3;
101  EventID = sr.EventID;
102  N3DProngs = sr.N3DProngs;
103  PMuon = sr.PMuon;
104  SumPE = sr.SumPE;
105  return *this;
106 }
107 
109 {
110  DirZMuon.CheckEquals(sr.DirZMuon);
111  E1.CheckEquals(sr.E1);
112  E2.CheckEquals(sr.E2);
113  E3.CheckEquals(sr.E3);
114  EFuzzyK3D.CheckEquals(sr.EFuzzyK3D);
115  ERemain.CheckEquals(sr.ERemain);
116  Eres1.CheckEquals(sr.Eres1);
117  Eres2.CheckEquals(sr.Eres2);
118  Eres3.CheckEquals(sr.Eres3);
119  EventID.CheckEquals(sr.EventID);
120  N3DProngs.CheckEquals(sr.N3DProngs);
121  PMuon.CheckEquals(sr.PMuon);
122  SumPE.CheckEquals(sr.SumPE);
123 }
124 
125 caf::Proxy<caf::SRVector3D>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
126  x(d, tr, Join(name, "x"), base, offset),
127  y(d, tr, Join(name, "y"), base, offset),
128  z(d, tr, Join(name, "z"), base, offset)
129 {
130 }
131 
133 {
134  x = sr.x;
135  y = sr.y;
136  z = sr.z;
137  return *this;
138 }
139 
141 {
142  x.CheckEquals(sr.x);
143  y.CheckEquals(sr.y);
144  z.CheckEquals(sr.z);
145 }
146 
147 caf::Proxy<caf::SRHadClust>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
148  boxmax(d, tr, Join(name, "boxmax"), base, offset),
149  boxmin(d, tr, Join(name, "boxmin"), base, offset),
150  calE(d, tr, Join(name, "calE"), base, offset),
151  firstcell(d, tr, Join(name, "firstcell"), base, offset),
152  firstplane(d, tr, Join(name, "firstplane"), base, offset),
153  lastcell(d, tr, Join(name, "lastcell"), base, offset),
154  lastplane(d, tr, Join(name, "lastplane"), base, offset),
155  meanpos(d, tr, Join(name, "meanpos"), base, offset),
156  ncalhit(d, tr, Join(name, "ncalhit"), base, offset),
157  ncellsfromedge(d, tr, Join(name, "ncellsfromedge"), base, offset),
158  ncontplanes(d, tr, Join(name, "ncontplanes"), base, offset),
159  nhit(d, tr, Join(name, "nhit"), base, offset),
160  nmiphit(d, tr, Join(name, "nmiphit"), base, offset)
161 {
162 }
163 
165 {
166  boxmax = sr.boxmax;
167  boxmin = sr.boxmin;
168  calE = sr.calE;
169  firstcell = sr.firstcell;
170  firstplane = sr.firstplane;
171  lastcell = sr.lastcell;
172  lastplane = sr.lastplane;
173  meanpos = sr.meanpos;
174  ncalhit = sr.ncalhit;
175  ncellsfromedge = sr.ncellsfromedge;
177  nhit = sr.nhit;
178  nmiphit = sr.nmiphit;
179  return *this;
180 }
181 
183 {
184  boxmax.CheckEquals(sr.boxmax);
185  boxmin.CheckEquals(sr.boxmin);
186  calE.CheckEquals(sr.calE);
187  firstcell.CheckEquals(sr.firstcell);
188  firstplane.CheckEquals(sr.firstplane);
189  lastcell.CheckEquals(sr.lastcell);
190  lastplane.CheckEquals(sr.lastplane);
191  meanpos.CheckEquals(sr.meanpos);
192  ncalhit.CheckEquals(sr.ncalhit);
193  ncellsfromedge.CheckEquals(sr.ncellsfromedge);
194  ncontplanes.CheckEquals(sr.ncontplanes);
195  nhit.CheckEquals(sr.nhit);
196  nmiphit.CheckEquals(sr.nmiphit);
197 }
198 
199 caf::Proxy<caf::SRTrueNumuEnergy>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
200  truegoodmuon(d, tr, Join(name, "truegoodmuon"), base, offset),
201  truemuonE(d, tr, Join(name, "truemuonE"), base, offset),
202  truemuoncatcherE(d, tr, Join(name, "truemuoncatcherE"), base, offset)
203 {
204 }
205 
207 {
208  truegoodmuon = sr.truegoodmuon;
209  truemuonE = sr.truemuonE;
210  truemuoncatcherE = sr.truemuoncatcherE;
211  return *this;
212 }
213 
215 {
216  truegoodmuon.CheckEquals(sr.truegoodmuon);
217  truemuonE.CheckEquals(sr.truemuonE);
218  truemuoncatcherE.CheckEquals(sr.truemuoncatcherE);
219 }
220 
221 caf::Proxy<caf::SRNumuEnergy>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
222  E(d, tr, Join(name, "E"), base, offset),
223  angleE(d, tr, Join(name, "angleE"), base, offset),
224  angleerror(d, tr, Join(name, "angleerror"), base, offset),
225  bpfenergy(d, tr, Join(name, "bpfenergy"), base, offset),
226  calccE(d, tr, Join(name, "calccE"), base, offset),
227  hadcalE(d, tr, Join(name, "hadcalE"), base, offset),
228  hadclust(d, tr, Join(name, "hadclust"), base, offset),
229  hadtrkE(d, tr, Join(name, "hadtrkE"), base, offset),
230  lstmmuon(d, tr, Join(name, "lstmmuon"), base, offset),
231  lstmmuon_opphorn(d, tr, Join(name, "lstmmuon_opphorn"), base, offset),
232  lstmnu(d, tr, Join(name, "lstmnu"), base, offset),
233  lstmnu_opphorn(d, tr, Join(name, "lstmnu_opphorn"), base, offset),
234  mc(d, tr, Join(name, "mc"), base, offset),
235  ndhadcalactE(d, tr, Join(name, "ndhadcalactE"), base, offset),
236  ndhadcalcatE(d, tr, Join(name, "ndhadcalcatE"), base, offset),
237  ndhadcaltranE(d, tr, Join(name, "ndhadcaltranE"), base, offset),
238  ndhadtrkactE(d, tr, Join(name, "ndhadtrkactE"), base, offset),
239  ndhadtrkcatE(d, tr, Join(name, "ndhadtrkcatE"), base, offset),
240  ndhadtrktranE(d, tr, Join(name, "ndhadtrktranE"), base, offset),
241  ndtrkcalactE(d, tr, Join(name, "ndtrkcalactE"), base, offset),
242  ndtrkcalcatE(d, tr, Join(name, "ndtrkcalcatE"), base, offset),
243  ndtrkcaltranE(d, tr, Join(name, "ndtrkcaltranE"), base, offset),
244  ndtrklenact(d, tr, Join(name, "ndtrklenact"), base, offset),
245  ndtrklencat(d, tr, Join(name, "ndtrklencat"), base, offset),
246  ndtrktranx(d, tr, Join(name, "ndtrktranx"), base, offset),
247  ndtrktrany(d, tr, Join(name, "ndtrktrany"), base, offset),
248  recomuonE(d, tr, Join(name, "recomuonE"), base, offset),
249  recotrkcchadE(d, tr, Join(name, "recotrkcchadE"), base, offset),
250  regcvnhadE(d, tr, Join(name, "regcvnhadE"), base, offset),
251  regcvnhadE_opphorn(d, tr, Join(name, "regcvnhadE_opphorn"), base, offset),
252  shiftedtrkccE(d, tr, Join(name, "shiftedtrkccE"), base, offset),
253  trkccE(d, tr, Join(name, "trkccE"), base, offset),
254  trknonqeE(d, tr, Join(name, "trknonqeE"), base, offset),
255  trkqeE(d, tr, Join(name, "trkqeE"), base, offset),
256  ucrecomuonE(d, tr, Join(name, "ucrecomuonE"), base, offset),
257  ucrecomuonE1trk(d, tr, Join(name, "ucrecomuonE1trk"), base, offset)
258 {
259 }
260 
262 {
263  E = sr.E;
264  angleE = sr.angleE;
265  angleerror = sr.angleerror;
266  bpfenergy = sr.bpfenergy;
267  calccE = sr.calccE;
268  hadcalE = sr.hadcalE;
269  hadclust = sr.hadclust;
270  hadtrkE = sr.hadtrkE;
271  lstmmuon = sr.lstmmuon;
272  lstmmuon_opphorn = sr.lstmmuon_opphorn;
273  lstmnu = sr.lstmnu;
274  lstmnu_opphorn = sr.lstmnu_opphorn;
275  mc = sr.mc;
276  ndhadcalactE = sr.ndhadcalactE;
277  ndhadcalcatE = sr.ndhadcalcatE;
278  ndhadcaltranE = sr.ndhadcaltranE;
279  ndhadtrkactE = sr.ndhadtrkactE;
280  ndhadtrkcatE = sr.ndhadtrkcatE;
281  ndhadtrktranE = sr.ndhadtrktranE;
282  ndtrkcalactE = sr.ndtrkcalactE;
283  ndtrkcalcatE = sr.ndtrkcalcatE;
284  ndtrkcaltranE = sr.ndtrkcaltranE;
285  ndtrklenact = sr.ndtrklenact;
286  ndtrklencat = sr.ndtrklencat;
287  ndtrktranx = sr.ndtrktranx;
288  ndtrktrany = sr.ndtrktrany;
289  recomuonE = sr.recomuonE;
290  recotrkcchadE = sr.recotrkcchadE;
291  regcvnhadE = sr.regcvnhadE;
292  regcvnhadE_opphorn = sr.regcvnhadE_opphorn;
293  shiftedtrkccE = sr.shiftedtrkccE;
294  trkccE = sr.trkccE;
295  trknonqeE = sr.trknonqeE;
296  trkqeE = sr.trkqeE;
297  ucrecomuonE = sr.ucrecomuonE;
298  ucrecomuonE1trk = sr.ucrecomuonE1trk;
299  return *this;
300 }
301 
303 {
304  E.CheckEquals(sr.E);
305  angleE.CheckEquals(sr.angleE);
306  angleerror.CheckEquals(sr.angleerror);
307  bpfenergy.CheckEquals(sr.bpfenergy);
308  calccE.CheckEquals(sr.calccE);
309  hadcalE.CheckEquals(sr.hadcalE);
310  hadclust.CheckEquals(sr.hadclust);
311  hadtrkE.CheckEquals(sr.hadtrkE);
312  lstmmuon.CheckEquals(sr.lstmmuon);
313  lstmmuon_opphorn.CheckEquals(sr.lstmmuon_opphorn);
314  lstmnu.CheckEquals(sr.lstmnu);
315  lstmnu_opphorn.CheckEquals(sr.lstmnu_opphorn);
316  mc.CheckEquals(sr.mc);
317  ndhadcalactE.CheckEquals(sr.ndhadcalactE);
318  ndhadcalcatE.CheckEquals(sr.ndhadcalcatE);
319  ndhadcaltranE.CheckEquals(sr.ndhadcaltranE);
320  ndhadtrkactE.CheckEquals(sr.ndhadtrkactE);
321  ndhadtrkcatE.CheckEquals(sr.ndhadtrkcatE);
322  ndhadtrktranE.CheckEquals(sr.ndhadtrktranE);
323  ndtrkcalactE.CheckEquals(sr.ndtrkcalactE);
324  ndtrkcalcatE.CheckEquals(sr.ndtrkcalcatE);
325  ndtrkcaltranE.CheckEquals(sr.ndtrkcaltranE);
326  ndtrklenact.CheckEquals(sr.ndtrklenact);
327  ndtrklencat.CheckEquals(sr.ndtrklencat);
328  ndtrktranx.CheckEquals(sr.ndtrktranx);
329  ndtrktrany.CheckEquals(sr.ndtrktrany);
330  recomuonE.CheckEquals(sr.recomuonE);
331  recotrkcchadE.CheckEquals(sr.recotrkcchadE);
332  regcvnhadE.CheckEquals(sr.regcvnhadE);
333  regcvnhadE_opphorn.CheckEquals(sr.regcvnhadE_opphorn);
334  shiftedtrkccE.CheckEquals(sr.shiftedtrkccE);
335  trkccE.CheckEquals(sr.trkccE);
336  trknonqeE.CheckEquals(sr.trknonqeE);
337  trkqeE.CheckEquals(sr.trkqeE);
338  ucrecomuonE.CheckEquals(sr.ucrecomuonE);
339  ucrecomuonE1trk.CheckEquals(sr.ucrecomuonE1trk);
340 }
341 
342 caf::Proxy<caf::SREnergyBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
343  nue(d, tr, Join(name, "nue"), base, offset),
344  numu(d, tr, Join(name, "numu"), base, offset)
345 {
346 }
347 
349 {
350  nue = sr.nue;
351  numu = sr.numu;
352  return *this;
353 }
354 
356 {
357  nue.CheckEquals(sr.nue);
358  numu.CheckEquals(sr.numu);
359 }
360 
361 caf::Proxy<caf::SRHeader>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
362  batch(d, tr, Join(name, "batch"), base, offset),
363  blind(d, tr, Join(name, "blind"), base, offset),
364  cycle(d, tr, Join(name, "cycle"), base, offset),
365  day(d, tr, Join(name, "day"), base, offset),
366  det(d, tr, Join(name, "det"), base, offset),
367  dibfirst(d, tr, Join(name, "dibfirst"), base, offset),
368  diblast(d, tr, Join(name, "diblast"), base, offset),
369  dibmask(d, tr, Join(name, "dibmask"), base, offset),
370  doy(d, tr, Join(name, "doy"), base, offset),
371  evt(d, tr, Join(name, "evt"), base, offset),
372  filt(d, tr, Join(name, "filt"), base, offset),
373  finetiming(d, tr, Join(name, "finetiming"), base, offset),
374  gain(d, tr, Join(name, "gain"), base, offset),
375  hour(d, tr, Join(name, "hour"), base, offset),
376  ismc(d, tr, Join(name, "ismc"), base, offset),
377  maskstatus(d, tr, Join(name, "maskstatus"), base, offset),
378  minute(d, tr, Join(name, "minute"), base, offset),
379  month(d, tr, Join(name, "month"), base, offset),
380  nbadchan(d, tr, Join(name, "nbadchan"), base, offset),
381  ntotchan(d, tr, Join(name, "ntotchan"), base, offset),
382  run(d, tr, Join(name, "run"), base, offset),
383  second(d, tr, Join(name, "second"), base, offset),
384  subevt(d, tr, Join(name, "subevt"), base, offset),
385  subevtendtime(d, tr, Join(name, "subevtendtime"), base, offset),
386  subevtmeantime(d, tr, Join(name, "subevtmeantime"), base, offset),
387  subevtstarttime(d, tr, Join(name, "subevtstarttime"), base, offset),
388  subrun(d, tr, Join(name, "subrun"), base, offset),
389  unixtime(d, tr, Join(name, "unixtime"), base, offset),
390  year(d, tr, Join(name, "year"), base, offset)
391 {
392 }
393 
395 {
396  batch = sr.batch;
397  blind = sr.blind;
398  cycle = sr.cycle;
399  day = sr.day;
400  det = sr.det;
401  dibfirst = sr.dibfirst;
402  diblast = sr.diblast;
403  dibmask = sr.dibmask;
404  doy = sr.doy;
405  evt = sr.evt;
406  filt = sr.filt;
407  finetiming = sr.finetiming;
408  gain = sr.gain;
409  hour = sr.hour;
410  ismc = sr.ismc;
411  maskstatus = sr.maskstatus;
412  minute = sr.minute;
413  month = sr.month;
414  nbadchan = sr.nbadchan;
415  ntotchan = sr.ntotchan;
416  run = sr.run;
417  second = sr.second;
418  subevt = sr.subevt;
419  subevtendtime = sr.subevtendtime;
420  subevtmeantime = sr.subevtmeantime;
421  subevtstarttime = sr.subevtstarttime;
422  subrun = sr.subrun;
423  unixtime = sr.unixtime;
424  year = sr.year;
425  return *this;
426 }
427 
429 {
430  batch.CheckEquals(sr.batch);
431  blind.CheckEquals(sr.blind);
432  cycle.CheckEquals(sr.cycle);
433  day.CheckEquals(sr.day);
434  det.CheckEquals(sr.det);
435  dibfirst.CheckEquals(sr.dibfirst);
436  diblast.CheckEquals(sr.diblast);
437  dibmask.CheckEquals(sr.dibmask);
438  doy.CheckEquals(sr.doy);
439  evt.CheckEquals(sr.evt);
440  filt.CheckEquals(sr.filt);
441  finetiming.CheckEquals(sr.finetiming);
442  gain.CheckEquals(sr.gain);
443  hour.CheckEquals(sr.hour);
444  ismc.CheckEquals(sr.ismc);
445  maskstatus.CheckEquals(sr.maskstatus);
446  minute.CheckEquals(sr.minute);
447  month.CheckEquals(sr.month);
448  nbadchan.CheckEquals(sr.nbadchan);
449  ntotchan.CheckEquals(sr.ntotchan);
450  run.CheckEquals(sr.run);
451  second.CheckEquals(sr.second);
452  subevt.CheckEquals(sr.subevt);
453  subevtendtime.CheckEquals(sr.subevtendtime);
454  subevtmeantime.CheckEquals(sr.subevtmeantime);
455  subevtstarttime.CheckEquals(sr.subevtstarttime);
456  subrun.CheckEquals(sr.subrun);
457  unixtime.CheckEquals(sr.unixtime);
458  year.CheckEquals(sr.year);
459 }
460 
461 caf::Proxy<caf::SRLorentzVector>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
462  E(d, tr, Join(name, "E"), base, offset),
463  px(d, tr, Join(name, "px"), base, offset),
464  py(d, tr, Join(name, "py"), base, offset),
465  pz(d, tr, Join(name, "pz"), base, offset)
466 {
467 }
468 
470 {
471  E = sr.E;
472  px = sr.px;
473  py = sr.py;
474  pz = sr.pz;
475  return *this;
476 }
477 
479 {
480  E.CheckEquals(sr.E);
481  px.CheckEquals(sr.px);
482  py.CheckEquals(sr.py);
483  pz.CheckEquals(sr.pz);
484 }
485 
486 caf::Proxy<caf::SRTrueMichelE>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
487  E(d, tr, Join(name, "E"), base, offset),
488  mustop(d, tr, Join(name, "mustop"), base, offset),
489  p(d, tr, Join(name, "p"), base, offset),
490  time(d, tr, Join(name, "time"), base, offset),
491  visE(d, tr, Join(name, "visE"), base, offset)
492 {
493 }
494 
496 {
497  E = sr.E;
498  mustop = sr.mustop;
499  p = sr.p;
500  time = sr.time;
501  visE = sr.visE;
502  return *this;
503 }
504 
506 {
507  E.CheckEquals(sr.E);
508  mustop.CheckEquals(sr.mustop);
509  p.CheckEquals(sr.p);
510  time.CheckEquals(sr.time);
511  visE.CheckEquals(sr.visE);
512 }
513 
514 caf::Proxy<caf::SRCosmic>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
515  E(d, tr, Join(name, "E"), base, offset),
516  azimuth(d, tr, Join(name, "azimuth"), base, offset),
517  eff(d, tr, Join(name, "eff"), base, offset),
518  enter(d, tr, Join(name, "enter"), base, offset),
519  exit(d, tr, Join(name, "exit"), base, offset),
520  michel(d, tr, Join(name, "michel"), base, offset),
521  nhitslc(d, tr, Join(name, "nhitslc"), base, offset),
522  nhittot(d, tr, Join(name, "nhittot"), base, offset),
523  p(d, tr, Join(name, "p"), base, offset),
524  pdg(d, tr, Join(name, "pdg"), base, offset),
525  penter(d, tr, Join(name, "penter"), base, offset),
526  pur(d, tr, Join(name, "pur"), base, offset),
527  stop(d, tr, Join(name, "stop"), base, offset),
528  time(d, tr, Join(name, "time"), base, offset),
529  visE(d, tr, Join(name, "visE"), base, offset),
530  visEinslc(d, tr, Join(name, "visEinslc"), base, offset),
531  vtx(d, tr, Join(name, "vtx"), base, offset),
532  zenith(d, tr, Join(name, "zenith"), base, offset)
533 {
534 }
535 
537 {
538  E = sr.E;
539  azimuth = sr.azimuth;
540  eff = sr.eff;
541  enter = sr.enter;
542  exit = sr.exit;
543  michel = sr.michel;
544  nhitslc = sr.nhitslc;
545  nhittot = sr.nhittot;
546  p = sr.p;
547  pdg = sr.pdg;
548  penter = sr.penter;
549  pur = sr.pur;
550  stop = sr.stop;
551  time = sr.time;
552  visE = sr.visE;
553  visEinslc = sr.visEinslc;
554  vtx = sr.vtx;
555  zenith = sr.zenith;
556  return *this;
557 }
558 
560 {
561  E.CheckEquals(sr.E);
562  azimuth.CheckEquals(sr.azimuth);
563  eff.CheckEquals(sr.eff);
564  enter.CheckEquals(sr.enter);
565  exit.CheckEquals(sr.exit);
566  michel.CheckEquals(sr.michel);
567  nhitslc.CheckEquals(sr.nhitslc);
568  nhittot.CheckEquals(sr.nhittot);
569  p.CheckEquals(sr.p);
570  pdg.CheckEquals(sr.pdg);
571  penter.CheckEquals(sr.penter);
572  pur.CheckEquals(sr.pur);
573  stop.CheckEquals(sr.stop);
574  time.CheckEquals(sr.time);
575  visE.CheckEquals(sr.visE);
576  visEinslc.CheckEquals(sr.visEinslc);
577  vtx.CheckEquals(sr.vtx);
578  zenith.CheckEquals(sr.zenith);
579 }
580 
581 caf::Proxy<caf::SRBeam>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
582  dk2gen(d, tr, Join(name, "dk2gen"), base, offset),
583  dk2vtx(d, tr, Join(name, "dk2vtx"), base, offset),
584  gen2vtx(d, tr, Join(name, "gen2vtx"), base, offset),
585  mupare(d, tr, Join(name, "mupare"), base, offset),
586  muparp(d, tr, Join(name, "muparp"), base, offset),
587  ndecay(d, tr, Join(name, "ndecay"), base, offset),
588  necm(d, tr, Join(name, "necm"), base, offset),
589  nimpwt(d, tr, Join(name, "nimpwt"), base, offset),
590  pdp(d, tr, Join(name, "pdp"), base, offset),
591  potnum(d, tr, Join(name, "potnum"), base, offset),
592  ppdxdz(d, tr, Join(name, "ppdxdz"), base, offset),
593  ppdydz(d, tr, Join(name, "ppdydz"), base, offset),
594  ppenergy(d, tr, Join(name, "ppenergy"), base, offset),
595  ppmedium(d, tr, Join(name, "ppmedium"), base, offset),
596  pppz(d, tr, Join(name, "pppz"), base, offset),
597  ppv(d, tr, Join(name, "ppv"), base, offset),
598  ptype(d, tr, Join(name, "ptype"), base, offset),
599  runjob(d, tr, Join(name, "runjob"), base, offset),
600  tgen(d, tr, Join(name, "tgen"), base, offset),
601  tgptype(d, tr, Join(name, "tgptype"), base, offset),
602  tp(d, tr, Join(name, "tp"), base, offset),
603  tptype(d, tr, Join(name, "tptype"), base, offset),
604  tv(d, tr, Join(name, "tv"), base, offset),
605  v(d, tr, Join(name, "v"), base, offset)
606 {
607 }
608 
610 {
611  dk2gen = sr.dk2gen;
612  dk2vtx = sr.dk2vtx;
613  gen2vtx = sr.gen2vtx;
614  mupare = sr.mupare;
615  muparp = sr.muparp;
616  ndecay = sr.ndecay;
617  necm = sr.necm;
618  nimpwt = sr.nimpwt;
619  pdp = sr.pdp;
620  potnum = sr.potnum;
621  ppdxdz = sr.ppdxdz;
622  ppdydz = sr.ppdydz;
623  ppenergy = sr.ppenergy;
624  ppmedium = sr.ppmedium;
625  pppz = sr.pppz;
626  ppv = sr.ppv;
627  ptype = sr.ptype;
628  runjob = sr.runjob;
629  tgen = sr.tgen;
630  tgptype = sr.tgptype;
631  tp = sr.tp;
632  tptype = sr.tptype;
633  tv = sr.tv;
634  v = sr.v;
635  return *this;
636 }
637 
639 {
640  dk2gen.CheckEquals(sr.dk2gen);
641  dk2vtx.CheckEquals(sr.dk2vtx);
642  gen2vtx.CheckEquals(sr.gen2vtx);
643  mupare.CheckEquals(sr.mupare);
644  muparp.CheckEquals(sr.muparp);
645  ndecay.CheckEquals(sr.ndecay);
646  necm.CheckEquals(sr.necm);
647  nimpwt.CheckEquals(sr.nimpwt);
648  pdp.CheckEquals(sr.pdp);
649  potnum.CheckEquals(sr.potnum);
650  ppdxdz.CheckEquals(sr.ppdxdz);
651  ppdydz.CheckEquals(sr.ppdydz);
652  ppenergy.CheckEquals(sr.ppenergy);
653  ppmedium.CheckEquals(sr.ppmedium);
654  pppz.CheckEquals(sr.pppz);
655  ppv.CheckEquals(sr.ppv);
656  ptype.CheckEquals(sr.ptype);
657  runjob.CheckEquals(sr.runjob);
658  tgen.CheckEquals(sr.tgen);
659  tgptype.CheckEquals(sr.tgptype);
660  tp.CheckEquals(sr.tp);
661  tptype.CheckEquals(sr.tptype);
662  tv.CheckEquals(sr.tv);
663  v.CheckEquals(sr.v);
664 }
665 
666 caf::Proxy<caf::SRNuGenParticle>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
667  p(d, tr, Join(name, "p"), base, offset),
668  pdg(d, tr, Join(name, "pdg"), base, offset),
669  primList(d, tr, Join(name, "primList"), base, offset),
670  status(d, tr, Join(name, "status"), base, offset)
671 {
672 }
673 
675 {
676  p = sr.p;
677  pdg = sr.pdg;
678  primList = sr.primList;
679  status = sr.status;
680  return *this;
681 }
682 
684 {
685  p.CheckEquals(sr.p);
686  pdg.CheckEquals(sr.pdg);
687  primList.CheckEquals(sr.primList);
688  status.CheckEquals(sr.status);
689 }
690 
691 caf::Proxy<caf::SRTrueParticle>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
692  daughterEnergies(d, tr, Join(name, "daughterEnergies"), base, offset),
693  daughterVisE(d, tr, Join(name, "daughterVisE"), base, offset),
694  daughterVisEBirks(d, tr, Join(name, "daughterVisEBirks"), base, offset),
695  daughterVisEinslc(d, tr, Join(name, "daughterVisEinslc"), base, offset),
696  daughterVisEinslcBirks(d, tr, Join(name, "daughterVisEinslcBirks"), base, offset),
697  daughterlist(d, tr, Join(name, "daughterlist"), base, offset),
698  elasticProtonMaxVisE(d, tr, Join(name, "elasticProtonMaxVisE"), base, offset),
699  elasticProtonMaxVisEinslc(d, tr, Join(name, "elasticProtonMaxVisEinslc"), base, offset),
700  elasticProtonSumVisE(d, tr, Join(name, "elasticProtonSumVisE"), base, offset),
701  elasticProtonSumVisEinslc(d, tr, Join(name, "elasticProtonSumVisEinslc"), base, offset),
702  enteringE(d, tr, Join(name, "enteringE"), base, offset),
703  inelasticPhotonMaxVisE(d, tr, Join(name, "inelasticPhotonMaxVisE"), base, offset),
704  inelasticPhotonMaxVisEinslc(d, tr, Join(name, "inelasticPhotonMaxVisEinslc"), base, offset),
705  inelasticPhotonSumVisE(d, tr, Join(name, "inelasticPhotonSumVisE"), base, offset),
706  inelasticPhotonSumVisEinslc(d, tr, Join(name, "inelasticPhotonSumVisEinslc"), base, offset),
707  inelasticProtonMaxVisE(d, tr, Join(name, "inelasticProtonMaxVisE"), base, offset),
708  inelasticProtonMaxVisEinslc(d, tr, Join(name, "inelasticProtonMaxVisEinslc"), base, offset),
709  inelasticProtonSumVisE(d, tr, Join(name, "inelasticProtonSumVisE"), base, offset),
710  inelasticProtonSumVisEinslc(d, tr, Join(name, "inelasticProtonSumVisEinslc"), base, offset),
711  maxElasticProtonTrueE(d, tr, Join(name, "maxElasticProtonTrueE"), base, offset),
712  maxInelasticPhotonTrueE(d, tr, Join(name, "maxInelasticPhotonTrueE"), base, offset),
713  maxInelasticProtonTrueE(d, tr, Join(name, "maxInelasticProtonTrueE"), base, offset),
714  p(d, tr, Join(name, "p"), base, offset),
715  pdg(d, tr, Join(name, "pdg"), base, offset),
716  prefsiID(d, tr, Join(name, "prefsiID"), base, offset),
717  time(d, tr, Join(name, "time"), base, offset),
718  totEscE(d, tr, Join(name, "totEscE"), base, offset),
719  trkID(d, tr, Join(name, "trkID"), base, offset),
720  visE(d, tr, Join(name, "visE"), base, offset),
721  visEBirks(d, tr, Join(name, "visEBirks"), base, offset),
722  visEinslc(d, tr, Join(name, "visEinslc"), base, offset),
723  visEinslcBirks(d, tr, Join(name, "visEinslcBirks"), base, offset)
724 {
725 }
726 
728 {
729  daughterEnergies = sr.daughterEnergies;
730  daughterVisE = sr.daughterVisE;
731  daughterVisEBirks = sr.daughterVisEBirks;
732  daughterVisEinslc = sr.daughterVisEinslc;
733  daughterVisEinslcBirks = sr.daughterVisEinslcBirks;
734  daughterlist = sr.daughterlist;
735  elasticProtonMaxVisE = sr.elasticProtonMaxVisE;
736  elasticProtonMaxVisEinslc = sr.elasticProtonMaxVisEinslc;
737  elasticProtonSumVisE = sr.elasticProtonSumVisE;
738  elasticProtonSumVisEinslc = sr.elasticProtonSumVisEinslc;
739  enteringE = sr.enteringE;
740  inelasticPhotonMaxVisE = sr.inelasticPhotonMaxVisE;
741  inelasticPhotonMaxVisEinslc = sr.inelasticPhotonMaxVisEinslc;
742  inelasticPhotonSumVisE = sr.inelasticPhotonSumVisE;
743  inelasticPhotonSumVisEinslc = sr.inelasticPhotonSumVisEinslc;
744  inelasticProtonMaxVisE = sr.inelasticProtonMaxVisE;
745  inelasticProtonMaxVisEinslc = sr.inelasticProtonMaxVisEinslc;
746  inelasticProtonSumVisE = sr.inelasticProtonSumVisE;
747  inelasticProtonSumVisEinslc = sr.inelasticProtonSumVisEinslc;
748  maxElasticProtonTrueE = sr.maxElasticProtonTrueE;
749  maxInelasticPhotonTrueE = sr.maxInelasticPhotonTrueE;
750  maxInelasticProtonTrueE = sr.maxInelasticProtonTrueE;
751  p = sr.p;
752  pdg = sr.pdg;
753  prefsiID = sr.prefsiID;
754  time = sr.time;
755  totEscE = sr.totEscE;
756  trkID = sr.trkID;
757  visE = sr.visE;
758  visEBirks = sr.visEBirks;
759  visEinslc = sr.visEinslc;
760  visEinslcBirks = sr.visEinslcBirks;
761  return *this;
762 }
763 
765 {
766  daughterEnergies.CheckEquals(sr.daughterEnergies);
767  daughterVisE.CheckEquals(sr.daughterVisE);
768  daughterVisEBirks.CheckEquals(sr.daughterVisEBirks);
769  daughterVisEinslc.CheckEquals(sr.daughterVisEinslc);
770  daughterVisEinslcBirks.CheckEquals(sr.daughterVisEinslcBirks);
771  daughterlist.CheckEquals(sr.daughterlist);
772  elasticProtonMaxVisE.CheckEquals(sr.elasticProtonMaxVisE);
773  elasticProtonMaxVisEinslc.CheckEquals(sr.elasticProtonMaxVisEinslc);
774  elasticProtonSumVisE.CheckEquals(sr.elasticProtonSumVisE);
775  elasticProtonSumVisEinslc.CheckEquals(sr.elasticProtonSumVisEinslc);
776  enteringE.CheckEquals(sr.enteringE);
777  inelasticPhotonMaxVisE.CheckEquals(sr.inelasticPhotonMaxVisE);
778  inelasticPhotonMaxVisEinslc.CheckEquals(sr.inelasticPhotonMaxVisEinslc);
779  inelasticPhotonSumVisE.CheckEquals(sr.inelasticPhotonSumVisE);
780  inelasticPhotonSumVisEinslc.CheckEquals(sr.inelasticPhotonSumVisEinslc);
781  inelasticProtonMaxVisE.CheckEquals(sr.inelasticProtonMaxVisE);
782  inelasticProtonMaxVisEinslc.CheckEquals(sr.inelasticProtonMaxVisEinslc);
783  inelasticProtonSumVisE.CheckEquals(sr.inelasticProtonSumVisE);
784  inelasticProtonSumVisEinslc.CheckEquals(sr.inelasticProtonSumVisEinslc);
785  maxElasticProtonTrueE.CheckEquals(sr.maxElasticProtonTrueE);
786  maxInelasticPhotonTrueE.CheckEquals(sr.maxInelasticPhotonTrueE);
787  maxInelasticProtonTrueE.CheckEquals(sr.maxInelasticProtonTrueE);
788  p.CheckEquals(sr.p);
789  pdg.CheckEquals(sr.pdg);
790  prefsiID.CheckEquals(sr.prefsiID);
791  time.CheckEquals(sr.time);
792  totEscE.CheckEquals(sr.totEscE);
793  trkID.CheckEquals(sr.trkID);
794  visE.CheckEquals(sr.visE);
795  visEBirks.CheckEquals(sr.visEBirks);
796  visEinslc.CheckEquals(sr.visEinslc);
797  visEinslcBirks.CheckEquals(sr.visEinslcBirks);
798 }
799 
800 caf::Proxy<caf::SRGeant4Weights>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
801  npiminus_univ(d, tr, Join(name, "npiminus_univ"), base, offset),
802  npiplus_univ(d, tr, Join(name, "npiplus_univ"), base, offset),
803  nproton_univ(d, tr, Join(name, "nproton_univ"), base, offset),
804  piminus_cv(d, tr, Join(name, "piminus_cv"), base, offset),
805  piminus_univ(d, tr, Join(name, "piminus_univ"), base, offset),
806  piplus_cv(d, tr, Join(name, "piplus_cv"), base, offset),
807  piplus_univ(d, tr, Join(name, "piplus_univ"), base, offset),
808  proton_cv(d, tr, Join(name, "proton_cv"), base, offset),
809  proton_univ(d, tr, Join(name, "proton_univ"), base, offset)
810 {
811 }
812 
814 {
815  npiminus_univ = sr.npiminus_univ;
816  npiplus_univ = sr.npiplus_univ;
817  nproton_univ = sr.nproton_univ;
818  piminus_cv = sr.piminus_cv;
819  piminus_univ = sr.piminus_univ;
820  piplus_cv = sr.piplus_cv;
821  piplus_univ = sr.piplus_univ;
822  proton_cv = sr.proton_cv;
823  proton_univ = sr.proton_univ;
824  return *this;
825 }
826 
828 {
829  npiminus_univ.CheckEquals(sr.npiminus_univ);
830  npiplus_univ.CheckEquals(sr.npiplus_univ);
831  nproton_univ.CheckEquals(sr.nproton_univ);
832  piminus_cv.CheckEquals(sr.piminus_cv);
833  piminus_univ.CheckEquals(sr.piminus_univ);
834  piplus_cv.CheckEquals(sr.piplus_cv);
835  piplus_univ.CheckEquals(sr.piplus_univ);
836  proton_cv.CheckEquals(sr.proton_cv);
837  proton_univ.CheckEquals(sr.proton_univ);
838 }
839 
840 caf::Proxy<caf::SRGenieWeights>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
841  minus1sigma(d, tr, Join(name, "minus1sigma"), base, offset),
842  minus2sigma(d, tr, Join(name, "minus2sigma"), base, offset),
843  plus1sigma(d, tr, Join(name, "plus1sigma"), base, offset),
844  plus2sigma(d, tr, Join(name, "plus2sigma"), base, offset)
845 {
846 }
847 
849 {
850  minus1sigma = sr.minus1sigma;
851  minus2sigma = sr.minus2sigma;
852  plus1sigma = sr.plus1sigma;
853  plus2sigma = sr.plus2sigma;
854  return *this;
855 }
856 
858 {
859  minus1sigma.CheckEquals(sr.minus1sigma);
860  minus2sigma.CheckEquals(sr.minus2sigma);
861  plus1sigma.CheckEquals(sr.plus1sigma);
862  plus2sigma.CheckEquals(sr.plus2sigma);
863 }
864 
865 caf::Proxy<caf::SRFluxWeights>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
866  cv(d, tr, Join(name, "cv"), base, offset),
867  nvuniv(d, tr, Join(name, "nvuniv"), base, offset),
868  vuniv(d, tr, Join(name, "vuniv"), base, offset)
869 {
870 }
871 
873 {
874  cv = sr.cv;
875  nvuniv = sr.nvuniv;
876  vuniv = sr.vuniv;
877  return *this;
878 }
879 
881 {
882  cv.CheckEquals(sr.cv);
883  nvuniv.CheckEquals(sr.nvuniv);
884  vuniv.CheckEquals(sr.vuniv);
885 }
886 
887 caf::Proxy<caf::SRMCReweight>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
888  geant4(d, tr, Join(name, "geant4"), base, offset),
889  genie(d, tr, Join(name, "genie"), base, offset),
890  ppfx(d, tr, Join(name, "ppfx"), base, offset)
891 {
892 }
893 
895 {
896  geant4 = sr.geant4;
897  genie = sr.genie;
898  ppfx = sr.ppfx;
899  return *this;
900 }
901 
903 {
904  geant4.CheckEquals(sr.geant4);
905  genie.CheckEquals(sr.genie);
906  ppfx.CheckEquals(sr.ppfx);
907 }
908 
909 caf::Proxy<caf::SRNeutrino>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
910  E(d, tr, Join(name, "E"), base, offset),
911  L(d, tr, Join(name, "L"), base, offset),
912  W2(d, tr, Join(name, "W2"), base, offset),
913  beam(d, tr, Join(name, "beam"), base, offset),
914  cycle(d, tr, Join(name, "cycle"), base, offset),
915  det(d, tr, Join(name, "det"), base, offset),
916  eff(d, tr, Join(name, "eff"), base, offset),
917  evt(d, tr, Join(name, "evt"), base, offset),
918  genConfigString(d, tr, Join(name, "genConfigString"), base, offset),
919  genVersion(d, tr, Join(name, "genVersion"), base, offset),
920  generator(d, tr, Join(name, "generator"), base, offset),
921  genweight(d, tr, Join(name, "genweight"), base, offset),
922  hitnuc(d, tr, Join(name, "hitnuc"), base, offset),
923  hitnucp(d, tr, Join(name, "hitnucp"), base, offset),
924  inttype(d, tr, Join(name, "inttype"), base, offset),
925  is0HC(d, tr, Join(name, "is0HC"), base, offset),
926  isFHC(d, tr, Join(name, "isFHC"), base, offset),
927  isRHC(d, tr, Join(name, "isRHC"), base, offset),
928  iscc(d, tr, Join(name, "iscc"), base, offset),
929  ischarm(d, tr, Join(name, "ischarm"), base, offset),
930  isseaquark(d, tr, Join(name, "isseaquark"), base, offset),
931  isvtxcont(d, tr, Join(name, "isvtxcont"), base, offset),
932  michel(d, tr, Join(name, "michel"), base, offset),
933  mode(d, tr, Join(name, "mode"), base, offset),
934  nhitslc(d, tr, Join(name, "nhitslc"), base, offset),
935  nhittot(d, tr, Join(name, "nhittot"), base, offset),
936  nneutron(d, tr, Join(name, "nneutron"), base, offset),
937  npiminus(d, tr, Join(name, "npiminus"), base, offset),
938  npiplus(d, tr, Join(name, "npiplus"), base, offset),
939  npizero(d, tr, Join(name, "npizero"), base, offset),
940  nproton(d, tr, Join(name, "nproton"), base, offset),
941  p(d, tr, Join(name, "p"), base, offset),
942  pdg(d, tr, Join(name, "pdg"), base, offset),
943  pdgorig(d, tr, Join(name, "pdgorig"), base, offset),
944  prefsi(d, tr, Join(name, "prefsi"), base, offset),
945  prim(d, tr, Join(name, "prim"), base, offset),
946  pur(d, tr, Join(name, "pur"), base, offset),
947  q2(d, tr, Join(name, "q2"), base, offset),
948  resnum(d, tr, Join(name, "resnum"), base, offset),
949  run(d, tr, Join(name, "run"), base, offset),
950  rwgt(d, tr, Join(name, "rwgt"), base, offset),
951  subrun(d, tr, Join(name, "subrun"), base, offset),
952  tgtA(d, tr, Join(name, "tgtA"), base, offset),
953  tgtZ(d, tr, Join(name, "tgtZ"), base, offset),
954  time(d, tr, Join(name, "time"), base, offset),
955  visE(d, tr, Join(name, "visE"), base, offset),
956  visEBirks(d, tr, Join(name, "visEBirks"), base, offset),
957  visENeutron(d, tr, Join(name, "visENeutron"), base, offset),
958  visENeutronBirks(d, tr, Join(name, "visENeutronBirks"), base, offset),
959  visEinslc(d, tr, Join(name, "visEinslc"), base, offset),
960  visEinslcBirks(d, tr, Join(name, "visEinslcBirks"), base, offset),
961  visEinslcNeutron(d, tr, Join(name, "visEinslcNeutron"), base, offset),
962  visEinslcNeutronBirks(d, tr, Join(name, "visEinslcNeutronBirks"), base, offset),
963  vtx(d, tr, Join(name, "vtx"), base, offset),
964  woscdumb(d, tr, Join(name, "woscdumb"), base, offset),
965  x(d, tr, Join(name, "x"), base, offset),
966  xsec(d, tr, Join(name, "xsec"), base, offset),
967  y(d, tr, Join(name, "y"), base, offset)
968 {
969 }
970 
972 {
973  E = sr.E;
974  L = sr.L;
975  W2 = sr.W2;
976  beam = sr.beam;
977  cycle = sr.cycle;
978  det = sr.det;
979  eff = sr.eff;
980  evt = sr.evt;
981  genConfigString = sr.genConfigString;
982  genVersion = sr.genVersion;
983  generator = sr.generator;
984  genweight = sr.genweight;
985  hitnuc = sr.hitnuc;
986  hitnucp = sr.hitnucp;
987  inttype = sr.inttype;
988  is0HC = sr.is0HC;
989  isFHC = sr.isFHC;
990  isRHC = sr.isRHC;
991  iscc = sr.iscc;
992  ischarm = sr.ischarm;
993  isseaquark = sr.isseaquark;
994  isvtxcont = sr.isvtxcont;
995  michel = sr.michel;
996  mode = sr.mode;
997  nhitslc = sr.nhitslc;
998  nhittot = sr.nhittot;
999  nneutron = sr.nneutron;
1000  npiminus = sr.npiminus;
1001  npiplus = sr.npiplus;
1002  npizero = sr.npizero;
1003  nproton = sr.nproton;
1004  p = sr.p;
1005  pdg = sr.pdg;
1006  pdgorig = sr.pdgorig;
1007  prefsi = sr.prefsi;
1008  prim = sr.prim;
1009  pur = sr.pur;
1010  q2 = sr.q2;
1011  resnum = sr.resnum;
1012  run = sr.run;
1013  rwgt = sr.rwgt;
1014  subrun = sr.subrun;
1015  tgtA = sr.tgtA;
1016  tgtZ = sr.tgtZ;
1017  time = sr.time;
1018  visE = sr.visE;
1019  visEBirks = sr.visEBirks;
1020  visENeutron = sr.visENeutron;
1021  visENeutronBirks = sr.visENeutronBirks;
1022  visEinslc = sr.visEinslc;
1023  visEinslcBirks = sr.visEinslcBirks;
1024  visEinslcNeutron = sr.visEinslcNeutron;
1025  visEinslcNeutronBirks = sr.visEinslcNeutronBirks;
1026  vtx = sr.vtx;
1027  woscdumb = sr.woscdumb;
1028  x = sr.x;
1029  xsec = sr.xsec;
1030  y = sr.y;
1031  return *this;
1032 }
1033 
1035 {
1036  E.CheckEquals(sr.E);
1037  L.CheckEquals(sr.L);
1038  W2.CheckEquals(sr.W2);
1039  beam.CheckEquals(sr.beam);
1040  cycle.CheckEquals(sr.cycle);
1041  det.CheckEquals(sr.det);
1042  eff.CheckEquals(sr.eff);
1043  evt.CheckEquals(sr.evt);
1044  genConfigString.CheckEquals(sr.genConfigString);
1045  genVersion.CheckEquals(sr.genVersion);
1046  generator.CheckEquals(sr.generator);
1047  genweight.CheckEquals(sr.genweight);
1048  hitnuc.CheckEquals(sr.hitnuc);
1049  hitnucp.CheckEquals(sr.hitnucp);
1050  inttype.CheckEquals(sr.inttype);
1051  is0HC.CheckEquals(sr.is0HC);
1052  isFHC.CheckEquals(sr.isFHC);
1053  isRHC.CheckEquals(sr.isRHC);
1054  iscc.CheckEquals(sr.iscc);
1055  ischarm.CheckEquals(sr.ischarm);
1056  isseaquark.CheckEquals(sr.isseaquark);
1057  isvtxcont.CheckEquals(sr.isvtxcont);
1058  michel.CheckEquals(sr.michel);
1059  mode.CheckEquals(sr.mode);
1060  nhitslc.CheckEquals(sr.nhitslc);
1061  nhittot.CheckEquals(sr.nhittot);
1062  nneutron.CheckEquals(sr.nneutron);
1063  npiminus.CheckEquals(sr.npiminus);
1064  npiplus.CheckEquals(sr.npiplus);
1065  npizero.CheckEquals(sr.npizero);
1066  nproton.CheckEquals(sr.nproton);
1067  p.CheckEquals(sr.p);
1068  pdg.CheckEquals(sr.pdg);
1069  pdgorig.CheckEquals(sr.pdgorig);
1070  prefsi.CheckEquals(sr.prefsi);
1071  prim.CheckEquals(sr.prim);
1072  pur.CheckEquals(sr.pur);
1073  q2.CheckEquals(sr.q2);
1074  resnum.CheckEquals(sr.resnum);
1075  run.CheckEquals(sr.run);
1076  rwgt.CheckEquals(sr.rwgt);
1077  subrun.CheckEquals(sr.subrun);
1078  tgtA.CheckEquals(sr.tgtA);
1079  tgtZ.CheckEquals(sr.tgtZ);
1080  time.CheckEquals(sr.time);
1081  visE.CheckEquals(sr.visE);
1082  visEBirks.CheckEquals(sr.visEBirks);
1083  visENeutron.CheckEquals(sr.visENeutron);
1084  visENeutronBirks.CheckEquals(sr.visENeutronBirks);
1085  visEinslc.CheckEquals(sr.visEinslc);
1086  visEinslcBirks.CheckEquals(sr.visEinslcBirks);
1087  visEinslcNeutron.CheckEquals(sr.visEinslcNeutron);
1088  visEinslcNeutronBirks.CheckEquals(sr.visEinslcNeutronBirks);
1089  vtx.CheckEquals(sr.vtx);
1090  woscdumb.CheckEquals(sr.woscdumb);
1091  x.CheckEquals(sr.x);
1092  xsec.CheckEquals(sr.xsec);
1093  y.CheckEquals(sr.y);
1094 }
1095 
1096 caf::Proxy<caf::SRGlobalTruth>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1097  nnu(d, tr, Join(name, "nnu"), base, offset)
1098 {
1099 }
1100 
1102 {
1103  nnu = sr.nnu;
1104  return *this;
1105 }
1106 
1108 {
1109  nnu.CheckEquals(sr.nnu);
1110 }
1111 
1112 caf::Proxy<caf::SRTruthBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1113  allcosmics(d, tr, Join(name, "allcosmics"), base, offset),
1114  allnus(d, tr, Join(name, "allnus"), base, offset),
1115  cosmic(d, tr, Join(name, "cosmic"), base, offset),
1116  faveidxeff(d, tr, Join(name, "faveidxeff"), base, offset),
1117  faveidxeffpur(d, tr, Join(name, "faveidxeffpur"), base, offset),
1118  faveidxeffthenpur(d, tr, Join(name, "faveidxeffthenpur"), base, offset),
1119  faveidxenergy(d, tr, Join(name, "faveidxenergy"), base, offset),
1120  faveidxpur(d, tr, Join(name, "faveidxpur"), base, offset),
1121  global(d, tr, Join(name, "global"), base, offset),
1122  nallcosmics(d, tr, Join(name, "nallcosmics"), base, offset),
1123  nallnus(d, tr, Join(name, "nallnus"), base, offset),
1124  ncosmic(d, tr, Join(name, "ncosmic"), base, offset),
1125  nnu(d, tr, Join(name, "nnu"), base, offset),
1126  nu(d, tr, Join(name, "nu"), base, offset)
1127 {
1128 }
1129 
1131 {
1132  allcosmics = sr.allcosmics;
1133  allnus = sr.allnus;
1134  cosmic = sr.cosmic;
1135  faveidxeff = sr.faveidxeff;
1136  faveidxeffpur = sr.faveidxeffpur;
1137  faveidxeffthenpur = sr.faveidxeffthenpur;
1138  faveidxenergy = sr.faveidxenergy;
1139  faveidxpur = sr.faveidxpur;
1140  global = sr.global;
1141  nallcosmics = sr.nallcosmics;
1142  nallnus = sr.nallnus;
1143  ncosmic = sr.ncosmic;
1144  nnu = sr.nnu;
1145  nu = sr.nu;
1146  return *this;
1147 }
1148 
1150 {
1151  allcosmics.CheckEquals(sr.allcosmics);
1152  allnus.CheckEquals(sr.allnus);
1153  cosmic.CheckEquals(sr.cosmic);
1154  faveidxeff.CheckEquals(sr.faveidxeff);
1155  faveidxeffpur.CheckEquals(sr.faveidxeffpur);
1156  faveidxeffthenpur.CheckEquals(sr.faveidxeffthenpur);
1157  faveidxenergy.CheckEquals(sr.faveidxenergy);
1158  faveidxpur.CheckEquals(sr.faveidxpur);
1159  global.CheckEquals(sr.global);
1160  nallcosmics.CheckEquals(sr.nallcosmics);
1161  nallnus.CheckEquals(sr.nallnus);
1162  ncosmic.CheckEquals(sr.ncosmic);
1163  nnu.CheckEquals(sr.nnu);
1164  nu.CheckEquals(sr.nu);
1165 }
1166 
1167 caf::Proxy<caf::SRParticleTruth>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1168  daughterVisE(d, tr, Join(name, "daughterVisE"), base, offset),
1169  daughterVisEBirks(d, tr, Join(name, "daughterVisEBirks"), base, offset),
1170  daughterVisEinslc(d, tr, Join(name, "daughterVisEinslc"), base, offset),
1171  daughterVisEinslcBirks(d, tr, Join(name, "daughterVisEinslcBirks"), base, offset),
1172  daughterVisEnergies(d, tr, Join(name, "daughterVisEnergies"), base, offset),
1173  daughterlist(d, tr, Join(name, "daughterlist"), base, offset),
1174  eff(d, tr, Join(name, "eff"), base, offset),
1175  motherlist(d, tr, Join(name, "motherlist"), base, offset),
1176  motherp(d, tr, Join(name, "motherp"), base, offset),
1177  motherpdg(d, tr, Join(name, "motherpdg"), base, offset),
1178  p(d, tr, Join(name, "p"), base, offset),
1179  pdg(d, tr, Join(name, "pdg"), base, offset),
1180  primNeutronE(d, tr, Join(name, "primNeutronE"), base, offset),
1181  primNeutronProcessE(d, tr, Join(name, "primNeutronProcessE"), base, offset),
1182  processMax(d, tr, Join(name, "processMax"), base, offset),
1183  processParticleE(d, tr, Join(name, "processParticleE"), base, offset),
1184  pur(d, tr, Join(name, "pur"), base, offset),
1185  start(d, tr, Join(name, "start"), base, offset),
1186  trkID(d, tr, Join(name, "trkID"), base, offset),
1187  visE(d, tr, Join(name, "visE"), base, offset),
1188  visEBirks(d, tr, Join(name, "visEBirks"), base, offset),
1189  visEinslc(d, tr, Join(name, "visEinslc"), base, offset),
1190  visEinslcBirks(d, tr, Join(name, "visEinslcBirks"), base, offset)
1191 {
1192 }
1193 
1195 {
1196  daughterVisE = sr.daughterVisE;
1197  daughterVisEBirks = sr.daughterVisEBirks;
1198  daughterVisEinslc = sr.daughterVisEinslc;
1199  daughterVisEinslcBirks = sr.daughterVisEinslcBirks;
1200  daughterVisEnergies = sr.daughterVisEnergies;
1201  daughterlist = sr.daughterlist;
1202  eff = sr.eff;
1203  motherlist = sr.motherlist;
1204  motherp = sr.motherp;
1205  motherpdg = sr.motherpdg;
1206  p = sr.p;
1207  pdg = sr.pdg;
1208  primNeutronE = sr.primNeutronE;
1209  primNeutronProcessE = sr.primNeutronProcessE;
1210  processMax = sr.processMax;
1211  processParticleE = sr.processParticleE;
1212  pur = sr.pur;
1213  start = sr.start;
1214  trkID = sr.trkID;
1215  visE = sr.visE;
1216  visEBirks = sr.visEBirks;
1217  visEinslc = sr.visEinslc;
1218  visEinslcBirks = sr.visEinslcBirks;
1219  return *this;
1220 }
1221 
1223 {
1224  daughterVisE.CheckEquals(sr.daughterVisE);
1225  daughterVisEBirks.CheckEquals(sr.daughterVisEBirks);
1226  daughterVisEinslc.CheckEquals(sr.daughterVisEinslc);
1227  daughterVisEinslcBirks.CheckEquals(sr.daughterVisEinslcBirks);
1228  daughterVisEnergies.CheckEquals(sr.daughterVisEnergies);
1229  daughterlist.CheckEquals(sr.daughterlist);
1230  eff.CheckEquals(sr.eff);
1231  motherlist.CheckEquals(sr.motherlist);
1232  motherp.CheckEquals(sr.motherp);
1233  motherpdg.CheckEquals(sr.motherpdg);
1234  p.CheckEquals(sr.p);
1235  pdg.CheckEquals(sr.pdg);
1236  primNeutronE.CheckEquals(sr.primNeutronE);
1237  primNeutronProcessE.CheckEquals(sr.primNeutronProcessE);
1238  processMax.CheckEquals(sr.processMax);
1239  processParticleE.CheckEquals(sr.processParticleE);
1240  pur.CheckEquals(sr.pur);
1241  start.CheckEquals(sr.start);
1242  trkID.CheckEquals(sr.trkID);
1243  visE.CheckEquals(sr.visE);
1244  visEBirks.CheckEquals(sr.visEBirks);
1245  visEinslc.CheckEquals(sr.visEinslc);
1246  visEinslcBirks.CheckEquals(sr.visEinslcBirks);
1247 }
1248 
1249 caf::Proxy<caf::SRSlcME>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1250  adc(d, tr, Join(name, "adc"), base, offset),
1251  calE(d, tr, Join(name, "calE"), base, offset),
1252  deltat(d, tr, Join(name, "deltat"), base, offset),
1253  disttoslc(d, tr, Join(name, "disttoslc"), base, offset),
1254  meanpos(d, tr, Join(name, "meanpos"), base, offset),
1255  mid(d, tr, Join(name, "mid"), base, offset),
1256  nhitx(d, tr, Join(name, "nhitx"), base, offset),
1257  nhity(d, tr, Join(name, "nhity"), base, offset),
1258  truth(d, tr, Join(name, "truth"), base, offset)
1259 {
1260 }
1261 
1263 {
1264  adc = sr.adc;
1265  calE = sr.calE;
1266  deltat = sr.deltat;
1267  disttoslc = sr.disttoslc;
1268  meanpos = sr.meanpos;
1269  mid = sr.mid;
1270  nhitx = sr.nhitx;
1271  nhity = sr.nhity;
1272  truth = sr.truth;
1273  return *this;
1274 }
1275 
1277 {
1278  adc.CheckEquals(sr.adc);
1279  calE.CheckEquals(sr.calE);
1280  deltat.CheckEquals(sr.deltat);
1281  disttoslc.CheckEquals(sr.disttoslc);
1282  meanpos.CheckEquals(sr.meanpos);
1283  mid.CheckEquals(sr.mid);
1284  nhitx.CheckEquals(sr.nhitx);
1285  nhity.CheckEquals(sr.nhity);
1286  truth.CheckEquals(sr.truth);
1287 }
1288 
1289 caf::Proxy<caf::SRTrkME>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1290  adc(d, tr, Join(name, "adc"), base, offset),
1291  calE(d, tr, Join(name, "calE"), base, offset),
1292  deltat(d, tr, Join(name, "deltat"), base, offset),
1293  disttotrack(d, tr, Join(name, "disttotrack"), base, offset),
1294  meanpos(d, tr, Join(name, "meanpos"), base, offset),
1295  mid(d, tr, Join(name, "mid"), base, offset),
1296  nhitx(d, tr, Join(name, "nhitx"), base, offset),
1297  nhity(d, tr, Join(name, "nhity"), base, offset),
1298  truth(d, tr, Join(name, "truth"), base, offset)
1299 {
1300 }
1301 
1303 {
1304  adc = sr.adc;
1305  calE = sr.calE;
1306  deltat = sr.deltat;
1307  disttotrack = sr.disttotrack;
1308  meanpos = sr.meanpos;
1309  mid = sr.mid;
1310  nhitx = sr.nhitx;
1311  nhity = sr.nhity;
1312  truth = sr.truth;
1313  return *this;
1314 }
1315 
1317 {
1318  adc.CheckEquals(sr.adc);
1319  calE.CheckEquals(sr.calE);
1320  deltat.CheckEquals(sr.deltat);
1321  disttotrack.CheckEquals(sr.disttotrack);
1322  meanpos.CheckEquals(sr.meanpos);
1323  mid.CheckEquals(sr.mid);
1324  nhitx.CheckEquals(sr.nhitx);
1325  nhity.CheckEquals(sr.nhity);
1326  truth.CheckEquals(sr.truth);
1327 }
1328 
1329 caf::Proxy<caf::SRMichelE>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1330  nbpf(d, tr, Join(name, "nbpf"), base, offset),
1331  ncosmic(d, tr, Join(name, "ncosmic"), base, offset),
1332  ndiscrete(d, tr, Join(name, "ndiscrete"), base, offset),
1333  nkalman(d, tr, Join(name, "nkalman"), base, offset),
1334  nslc(d, tr, Join(name, "nslc"), base, offset),
1335  slc(d, tr, Join(name, "slc"), base, offset),
1336  trkbpf(d, tr, Join(name, "trkbpf"), base, offset),
1337  trkcosmic(d, tr, Join(name, "trkcosmic"), base, offset),
1338  trkdiscrete(d, tr, Join(name, "trkdiscrete"), base, offset),
1339  trkkalman(d, tr, Join(name, "trkkalman"), base, offset)
1340 {
1341 }
1342 
1344 {
1345  nbpf = sr.nbpf;
1346  ncosmic = sr.ncosmic;
1347  ndiscrete = sr.ndiscrete;
1348  nkalman = sr.nkalman;
1349  nslc = sr.nslc;
1350  slc = sr.slc;
1351  trkbpf = sr.trkbpf;
1352  trkcosmic = sr.trkcosmic;
1353  trkdiscrete = sr.trkdiscrete;
1354  trkkalman = sr.trkkalman;
1355  return *this;
1356 }
1357 
1359 {
1360  nbpf.CheckEquals(sr.nbpf);
1361  ncosmic.CheckEquals(sr.ncosmic);
1362  ndiscrete.CheckEquals(sr.ndiscrete);
1363  nkalman.CheckEquals(sr.nkalman);
1364  nslc.CheckEquals(sr.nslc);
1365  slc.CheckEquals(sr.slc);
1366  trkbpf.CheckEquals(sr.trkbpf);
1367  trkcosmic.CheckEquals(sr.trkcosmic);
1368  trkdiscrete.CheckEquals(sr.trkdiscrete);
1369  trkkalman.CheckEquals(sr.trkkalman);
1370 }
1371 
1372 caf::Proxy<caf::SRMRCCParent>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1373  contplanes(d, tr, Join(name, "contplanes"), base, offset),
1374  cvnm(d, tr, Join(name, "cvnm"), base, offset),
1375  eff(d, tr, Join(name, "eff"), base, offset),
1376  firstplane(d, tr, Join(name, "firstplane"), base, offset),
1377  hadEinmucat(d, tr, Join(name, "hadEinmucat"), base, offset),
1378  lastplane(d, tr, Join(name, "lastplane"), base, offset),
1379  muE(d, tr, Join(name, "muE"), base, offset),
1380  muonbkcell(d, tr, Join(name, "muonbkcell"), base, offset),
1381  muonfwdcell(d, tr, Join(name, "muonfwdcell"), base, offset),
1382  muonstart(d, tr, Join(name, "muonstart"), base, offset),
1383  muonstop(d, tr, Join(name, "muonstop"), base, offset),
1384  muonyattrans(d, tr, Join(name, "muonyattrans"), base, offset),
1385  ncellsfromedge(d, tr, Join(name, "ncellsfromedge"), base, offset),
1386  nhit(d, tr, Join(name, "nhit"), base, offset),
1387  numuE(d, tr, Join(name, "numuE"), base, offset),
1388  pur(d, tr, Join(name, "pur"), base, offset),
1389  remid(d, tr, Join(name, "remid"), base, offset),
1390  slcidx(d, tr, Join(name, "slcidx"), base, offset)
1391 {
1392 }
1393 
1395 {
1396  contplanes = sr.contplanes;
1397  cvnm = sr.cvnm;
1398  eff = sr.eff;
1399  firstplane = sr.firstplane;
1400  hadEinmucat = sr.hadEinmucat;
1401  lastplane = sr.lastplane;
1402  muE = sr.muE;
1403  muonbkcell = sr.muonbkcell;
1404  muonfwdcell = sr.muonfwdcell;
1405  muonstart = sr.muonstart;
1406  muonstop = sr.muonstop;
1407  muonyattrans = sr.muonyattrans;
1408  ncellsfromedge = sr.ncellsfromedge;
1409  nhit = sr.nhit;
1410  numuE = sr.numuE;
1411  pur = sr.pur;
1412  remid = sr.remid;
1413  slcidx = sr.slcidx;
1414  return *this;
1415 }
1416 
1418 {
1419  contplanes.CheckEquals(sr.contplanes);
1420  cvnm.CheckEquals(sr.cvnm);
1421  eff.CheckEquals(sr.eff);
1422  firstplane.CheckEquals(sr.firstplane);
1423  hadEinmucat.CheckEquals(sr.hadEinmucat);
1424  lastplane.CheckEquals(sr.lastplane);
1425  muE.CheckEquals(sr.muE);
1426  muonbkcell.CheckEquals(sr.muonbkcell);
1427  muonfwdcell.CheckEquals(sr.muonfwdcell);
1428  muonstart.CheckEquals(sr.muonstart);
1429  muonstop.CheckEquals(sr.muonstop);
1430  muonyattrans.CheckEquals(sr.muonyattrans);
1431  ncellsfromedge.CheckEquals(sr.ncellsfromedge);
1432  nhit.CheckEquals(sr.nhit);
1433  numuE.CheckEquals(sr.numuE);
1434  pur.CheckEquals(sr.pur);
1435  remid.CheckEquals(sr.remid);
1436  slcidx.CheckEquals(sr.slcidx);
1437 }
1438 
1439 caf::Proxy<caf::SRParentBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1440  mrccpar(d, tr, Join(name, "mrccpar"), base, offset)
1441 {
1442 }
1443 
1445 {
1446  mrccpar = sr.mrccpar;
1447  return *this;
1448 }
1449 
1451 {
1452  mrccpar.CheckEquals(sr.mrccpar);
1453 }
1454 
1455 caf::Proxy<caf::SRBpfId>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1456  bestBpfIdx(d, tr, Join(name, "bestBpfIdx"), base, offset),
1457  bestPngIdx(d, tr, Join(name, "bestPngIdx"), base, offset),
1458  bestVtxIdx(d, tr, Join(name, "bestVtxIdx"), base, offset),
1459  chi2T(d, tr, Join(name, "chi2T"), base, offset),
1460  dEdXLL(d, tr, Join(name, "dEdXLL"), base, offset),
1461  energy(d, tr, Join(name, "energy"), base, offset),
1462  hitRatio(d, tr, Join(name, "hitRatio"), base, offset),
1463  len(d, tr, Join(name, "len"), base, offset),
1464  momentum(d, tr, Join(name, "momentum"), base, offset),
1465  pdg(d, tr, Join(name, "pdg"), base, offset),
1466  pid(d, tr, Join(name, "pid"), base, offset)
1467 {
1468 }
1469 
1471 {
1472  bestBpfIdx = sr.bestBpfIdx;
1473  bestPngIdx = sr.bestPngIdx;
1474  bestVtxIdx = sr.bestVtxIdx;
1475  chi2T = sr.chi2T;
1476  dEdXLL = sr.dEdXLL;
1477  energy = sr.energy;
1478  hitRatio = sr.hitRatio;
1479  len = sr.len;
1480  momentum = sr.momentum;
1481  pdg = sr.pdg;
1482  pid = sr.pid;
1483  return *this;
1484 }
1485 
1487 {
1488  bestBpfIdx.CheckEquals(sr.bestBpfIdx);
1489  bestPngIdx.CheckEquals(sr.bestPngIdx);
1490  bestVtxIdx.CheckEquals(sr.bestVtxIdx);
1491  chi2T.CheckEquals(sr.chi2T);
1492  dEdXLL.CheckEquals(sr.dEdXLL);
1493  energy.CheckEquals(sr.energy);
1494  hitRatio.CheckEquals(sr.hitRatio);
1495  len.CheckEquals(sr.len);
1496  momentum.CheckEquals(sr.momentum);
1497  pdg.CheckEquals(sr.pdg);
1498  pid.CheckEquals(sr.pid);
1499 }
1500 
1501 caf::Proxy<caf::SRContain>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1502  cosbakair(d, tr, Join(name, "cosbakair"), base, offset),
1503  cosbakcell(d, tr, Join(name, "cosbakcell"), base, offset),
1504  cosbakcellnd(d, tr, Join(name, "cosbakcellnd"), base, offset),
1505  cosbakdist(d, tr, Join(name, "cosbakdist"), base, offset),
1506  cosbaksteel(d, tr, Join(name, "cosbaksteel"), base, offset),
1507  cosfwdair(d, tr, Join(name, "cosfwdair"), base, offset),
1508  cosfwdcell(d, tr, Join(name, "cosfwdcell"), base, offset),
1509  cosfwdcellnd(d, tr, Join(name, "cosfwdcellnd"), base, offset),
1510  cosfwddist(d, tr, Join(name, "cosfwddist"), base, offset),
1511  cosfwdsteel(d, tr, Join(name, "cosfwdsteel"), base, offset),
1512  cosyposattrans(d, tr, Join(name, "cosyposattrans"), base, offset),
1513  enddist(d, tr, Join(name, "enddist"), base, offset),
1514  kalbakair(d, tr, Join(name, "kalbakair"), base, offset),
1515  kalbakcell(d, tr, Join(name, "kalbakcell"), base, offset),
1516  kalbakcellnd(d, tr, Join(name, "kalbakcellnd"), base, offset),
1517  kalbakdist(d, tr, Join(name, "kalbakdist"), base, offset),
1518  kalbaksteel(d, tr, Join(name, "kalbaksteel"), base, offset),
1519  kalfwdair(d, tr, Join(name, "kalfwdair"), base, offset),
1520  kalfwdcell(d, tr, Join(name, "kalfwdcell"), base, offset),
1521  kalfwdcellnd(d, tr, Join(name, "kalfwdcellnd"), base, offset),
1522  kalfwddist(d, tr, Join(name, "kalfwddist"), base, offset),
1523  kalfwdsteel(d, tr, Join(name, "kalfwdsteel"), base, offset),
1524  kalyposattrans(d, tr, Join(name, "kalyposattrans"), base, offset),
1525  missE(d, tr, Join(name, "missE"), base, offset),
1526  nplanestoback(d, tr, Join(name, "nplanestoback"), base, offset),
1527  nplanestofront(d, tr, Join(name, "nplanestofront"), base, offset),
1528  numucontain(d, tr, Join(name, "numucontain"), base, offset),
1529  numucontainSA(d, tr, Join(name, "numucontainSA"), base, offset),
1530  vtxdist(d, tr, Join(name, "vtxdist"), base, offset),
1531  xmax2(d, tr, Join(name, "xmax2"), base, offset),
1532  xmaxt(d, tr, Join(name, "xmaxt"), base, offset),
1533  xmin2(d, tr, Join(name, "xmin2"), base, offset),
1534  xmint(d, tr, Join(name, "xmint"), base, offset),
1535  ymax2(d, tr, Join(name, "ymax2"), base, offset),
1536  ymaxt(d, tr, Join(name, "ymaxt"), base, offset),
1537  ymin2(d, tr, Join(name, "ymin2"), base, offset),
1538  ymint(d, tr, Join(name, "ymint"), base, offset),
1539  zmax2(d, tr, Join(name, "zmax2"), base, offset),
1540  zmaxt(d, tr, Join(name, "zmaxt"), base, offset),
1541  zmin2(d, tr, Join(name, "zmin2"), base, offset),
1542  zmint(d, tr, Join(name, "zmint"), base, offset)
1543 {
1544 }
1545 
1547 {
1548  cosbakair = sr.cosbakair;
1549  cosbakcell = sr.cosbakcell;
1550  cosbakcellnd = sr.cosbakcellnd;
1551  cosbakdist = sr.cosbakdist;
1552  cosbaksteel = sr.cosbaksteel;
1553  cosfwdair = sr.cosfwdair;
1554  cosfwdcell = sr.cosfwdcell;
1555  cosfwdcellnd = sr.cosfwdcellnd;
1556  cosfwddist = sr.cosfwddist;
1557  cosfwdsteel = sr.cosfwdsteel;
1558  cosyposattrans = sr.cosyposattrans;
1559  enddist = sr.enddist;
1560  kalbakair = sr.kalbakair;
1561  kalbakcell = sr.kalbakcell;
1562  kalbakcellnd = sr.kalbakcellnd;
1563  kalbakdist = sr.kalbakdist;
1564  kalbaksteel = sr.kalbaksteel;
1565  kalfwdair = sr.kalfwdair;
1566  kalfwdcell = sr.kalfwdcell;
1567  kalfwdcellnd = sr.kalfwdcellnd;
1568  kalfwddist = sr.kalfwddist;
1569  kalfwdsteel = sr.kalfwdsteel;
1570  kalyposattrans = sr.kalyposattrans;
1571  missE = sr.missE;
1572  nplanestoback = sr.nplanestoback;
1573  nplanestofront = sr.nplanestofront;
1574  numucontain = sr.numucontain;
1575  numucontainSA = sr.numucontainSA;
1576  vtxdist = sr.vtxdist;
1577  xmax2 = sr.xmax2;
1578  xmaxt = sr.xmaxt;
1579  xmin2 = sr.xmin2;
1580  xmint = sr.xmint;
1581  ymax2 = sr.ymax2;
1582  ymaxt = sr.ymaxt;
1583  ymin2 = sr.ymin2;
1584  ymint = sr.ymint;
1585  zmax2 = sr.zmax2;
1586  zmaxt = sr.zmaxt;
1587  zmin2 = sr.zmin2;
1588  zmint = sr.zmint;
1589  return *this;
1590 }
1591 
1593 {
1594  cosbakair.CheckEquals(sr.cosbakair);
1595  cosbakcell.CheckEquals(sr.cosbakcell);
1596  cosbakcellnd.CheckEquals(sr.cosbakcellnd);
1597  cosbakdist.CheckEquals(sr.cosbakdist);
1598  cosbaksteel.CheckEquals(sr.cosbaksteel);
1599  cosfwdair.CheckEquals(sr.cosfwdair);
1600  cosfwdcell.CheckEquals(sr.cosfwdcell);
1601  cosfwdcellnd.CheckEquals(sr.cosfwdcellnd);
1602  cosfwddist.CheckEquals(sr.cosfwddist);
1603  cosfwdsteel.CheckEquals(sr.cosfwdsteel);
1604  cosyposattrans.CheckEquals(sr.cosyposattrans);
1605  enddist.CheckEquals(sr.enddist);
1606  kalbakair.CheckEquals(sr.kalbakair);
1607  kalbakcell.CheckEquals(sr.kalbakcell);
1608  kalbakcellnd.CheckEquals(sr.kalbakcellnd);
1609  kalbakdist.CheckEquals(sr.kalbakdist);
1610  kalbaksteel.CheckEquals(sr.kalbaksteel);
1611  kalfwdair.CheckEquals(sr.kalfwdair);
1612  kalfwdcell.CheckEquals(sr.kalfwdcell);
1613  kalfwdcellnd.CheckEquals(sr.kalfwdcellnd);
1614  kalfwddist.CheckEquals(sr.kalfwddist);
1615  kalfwdsteel.CheckEquals(sr.kalfwdsteel);
1616  kalyposattrans.CheckEquals(sr.kalyposattrans);
1617  missE.CheckEquals(sr.missE);
1618  nplanestoback.CheckEquals(sr.nplanestoback);
1619  nplanestofront.CheckEquals(sr.nplanestofront);
1620  numucontain.CheckEquals(sr.numucontain);
1621  numucontainSA.CheckEquals(sr.numucontainSA);
1622  vtxdist.CheckEquals(sr.vtxdist);
1623  xmax2.CheckEquals(sr.xmax2);
1624  xmaxt.CheckEquals(sr.xmaxt);
1625  xmin2.CheckEquals(sr.xmin2);
1626  xmint.CheckEquals(sr.xmint);
1627  ymax2.CheckEquals(sr.ymax2);
1628  ymaxt.CheckEquals(sr.ymaxt);
1629  ymin2.CheckEquals(sr.ymin2);
1630  ymint.CheckEquals(sr.ymint);
1631  zmax2.CheckEquals(sr.zmax2);
1632  zmaxt.CheckEquals(sr.zmaxt);
1633  zmin2.CheckEquals(sr.zmin2);
1634  zmint.CheckEquals(sr.zmint);
1635 }
1636 
1637 caf::Proxy<caf::SRCosRej>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1638  anglecos(d, tr, Join(name, "anglecos"), base, offset),
1639  anglekal(d, tr, Join(name, "anglekal"), base, offset),
1640  cdirscore(d, tr, Join(name, "cdirscore"), base, offset),
1641  cfitspeed(d, tr, Join(name, "cfitspeed"), base, offset),
1642  coschidiff(d, tr, Join(name, "coschidiff"), base, offset),
1643  coschisq(d, tr, Join(name, "coschisq"), base, offset),
1644  cosslope(d, tr, Join(name, "cosslope"), base, offset),
1645  costhetatrue(d, tr, Join(name, "costhetatrue"), base, offset),
1646  cscorediff(d, tr, Join(name, "cscorediff"), base, offset),
1647  eratio(d, tr, Join(name, "eratio"), base, offset),
1648  fscattext(d, tr, Join(name, "fscattext"), base, offset),
1649  fscattmax(d, tr, Join(name, "fscattmax"), base, offset),
1650  fscattsig(d, tr, Join(name, "fscattsig"), base, offset),
1651  fscattsum(d, tr, Join(name, "fscattsum"), base, offset),
1652  hadE(d, tr, Join(name, "hadE"), base, offset),
1653  kalchidiff(d, tr, Join(name, "kalchidiff"), base, offset),
1654  kalchisq(d, tr, Join(name, "kalchisq"), base, offset),
1655  kalslope(d, tr, Join(name, "kalslope"), base, offset),
1656  kalthetatrue(d, tr, Join(name, "kalthetatrue"), base, offset),
1657  kdirscore(d, tr, Join(name, "kdirscore"), base, offset),
1658  kfitspeed(d, tr, Join(name, "kfitspeed"), base, offset),
1659  kscorediff(d, tr, Join(name, "kscorediff"), base, offset),
1660  mincell(d, tr, Join(name, "mincell"), base, offset),
1661  mindist(d, tr, Join(name, "mindist"), base, offset),
1662  nkal3d(d, tr, Join(name, "nkal3d"), base, offset),
1663  numucontpid2019(d, tr, Join(name, "numucontpid2019"), base, offset),
1664  numucontpid2020(d, tr, Join(name, "numucontpid2020"), base, offset),
1665  numuunconttunedpid(d, tr, Join(name, "numuunconttunedpid"), base, offset),
1666  pdgbest(d, tr, Join(name, "pdgbest"), base, offset),
1667  scatt(d, tr, Join(name, "scatt"), base, offset)
1668 {
1669 }
1670 
1672 {
1673  anglecos = sr.anglecos;
1674  anglekal = sr.anglekal;
1675  cdirscore = sr.cdirscore;
1676  cfitspeed = sr.cfitspeed;
1677  coschidiff = sr.coschidiff;
1678  coschisq = sr.coschisq;
1679  cosslope = sr.cosslope;
1680  costhetatrue = sr.costhetatrue;
1681  cscorediff = sr.cscorediff;
1682  eratio = sr.eratio;
1683  fscattext = sr.fscattext;
1684  fscattmax = sr.fscattmax;
1685  fscattsig = sr.fscattsig;
1686  fscattsum = sr.fscattsum;
1687  hadE = sr.hadE;
1688  kalchidiff = sr.kalchidiff;
1689  kalchisq = sr.kalchisq;
1690  kalslope = sr.kalslope;
1691  kalthetatrue = sr.kalthetatrue;
1692  kdirscore = sr.kdirscore;
1693  kfitspeed = sr.kfitspeed;
1694  kscorediff = sr.kscorediff;
1695  mincell = sr.mincell;
1696  mindist = sr.mindist;
1697  nkal3d = sr.nkal3d;
1698  numucontpid2019 = sr.numucontpid2019;
1699  numucontpid2020 = sr.numucontpid2020;
1700  numuunconttunedpid = sr.numuunconttunedpid;
1701  pdgbest = sr.pdgbest;
1702  scatt = sr.scatt;
1703  return *this;
1704 }
1705 
1707 {
1708  anglecos.CheckEquals(sr.anglecos);
1709  anglekal.CheckEquals(sr.anglekal);
1710  cdirscore.CheckEquals(sr.cdirscore);
1711  cfitspeed.CheckEquals(sr.cfitspeed);
1712  coschidiff.CheckEquals(sr.coschidiff);
1713  coschisq.CheckEquals(sr.coschisq);
1714  cosslope.CheckEquals(sr.cosslope);
1715  costhetatrue.CheckEquals(sr.costhetatrue);
1716  cscorediff.CheckEquals(sr.cscorediff);
1717  eratio.CheckEquals(sr.eratio);
1718  fscattext.CheckEquals(sr.fscattext);
1719  fscattmax.CheckEquals(sr.fscattmax);
1720  fscattsig.CheckEquals(sr.fscattsig);
1721  fscattsum.CheckEquals(sr.fscattsum);
1722  hadE.CheckEquals(sr.hadE);
1723  kalchidiff.CheckEquals(sr.kalchidiff);
1724  kalchisq.CheckEquals(sr.kalchisq);
1725  kalslope.CheckEquals(sr.kalslope);
1726  kalthetatrue.CheckEquals(sr.kalthetatrue);
1727  kdirscore.CheckEquals(sr.kdirscore);
1728  kfitspeed.CheckEquals(sr.kfitspeed);
1729  kscorediff.CheckEquals(sr.kscorediff);
1730  mincell.CheckEquals(sr.mincell);
1731  mindist.CheckEquals(sr.mindist);
1732  nkal3d.CheckEquals(sr.nkal3d);
1733  numucontpid2019.CheckEquals(sr.numucontpid2019);
1734  numucontpid2020.CheckEquals(sr.numucontpid2020);
1735  numuunconttunedpid.CheckEquals(sr.numuunconttunedpid);
1736  pdgbest.CheckEquals(sr.pdgbest);
1737  scatt.CheckEquals(sr.scatt);
1738 }
1739 
1740 caf::Proxy<caf::SRCVNResult>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1741  argmax(d, tr, Join(name, "argmax"), base, offset),
1742  cosmicid(d, tr, Join(name, "cosmicid"), base, offset),
1743  maxval(d, tr, Join(name, "maxval"), base, offset),
1744  ncid(d, tr, Join(name, "ncid"), base, offset),
1745  noutput(d, tr, Join(name, "noutput"), base, offset),
1746  nueid(d, tr, Join(name, "nueid"), base, offset),
1747  numuid(d, tr, Join(name, "numuid"), base, offset),
1748  nutauid(d, tr, Join(name, "nutauid"), base, offset),
1749  output(d, tr, Join(name, "output"), base, offset)
1750 {
1751 }
1752 
1754 {
1755  argmax = sr.argmax;
1756  cosmicid = sr.cosmicid;
1757  maxval = sr.maxval;
1758  ncid = sr.ncid;
1759  noutput = sr.noutput;
1760  nueid = sr.nueid;
1761  numuid = sr.numuid;
1762  nutauid = sr.nutauid;
1763  output = sr.output;
1764  return *this;
1765 }
1766 
1768 {
1769  argmax.CheckEquals(sr.argmax);
1770  cosmicid.CheckEquals(sr.cosmicid);
1771  maxval.CheckEquals(sr.maxval);
1772  ncid.CheckEquals(sr.ncid);
1773  noutput.CheckEquals(sr.noutput);
1774  nueid.CheckEquals(sr.nueid);
1775  numuid.CheckEquals(sr.numuid);
1776  nutauid.CheckEquals(sr.nutauid);
1777  output.CheckEquals(sr.output);
1778 }
1779 
1780 caf::Proxy<caf::SRLem>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1781  avgexpE(d, tr, Join(name, "avgexpE"), base, offset),
1782  avginvE(d, tr, Join(name, "avginvE"), base, offset),
1783  avgsigE(d, tr, Join(name, "avgsigE"), base, offset),
1784  chibkg(d, tr, Join(name, "chibkg"), base, offset),
1785  chibkgexp(d, tr, Join(name, "chibkgexp"), base, offset),
1786  chisig(d, tr, Join(name, "chisig"), base, offset),
1787  chisigexp(d, tr, Join(name, "chisigexp"), base, offset),
1788  dectree(d, tr, Join(name, "dectree"), base, offset),
1789  energydiff(d, tr, Join(name, "energydiff"), base, offset),
1790  energydiffexp(d, tr, Join(name, "energydiffexp"), base, offset),
1791  enrichfrac(d, tr, Join(name, "enrichfrac"), base, offset),
1792  enrichfracexp(d, tr, Join(name, "enrichfracexp"), base, offset),
1793  fannid(d, tr, Join(name, "fannid"), base, offset),
1794  fannidenrich(d, tr, Join(name, "fannidenrich"), base, offset),
1795  meanqfrac(d, tr, Join(name, "meanqfrac"), base, offset),
1796  meanqfracbkg(d, tr, Join(name, "meanqfracbkg"), base, offset),
1797  meanqfracbkgexp(d, tr, Join(name, "meanqfracbkgexp"), base, offset),
1798  meanqfracexp(d, tr, Join(name, "meanqfracexp"), base, offset),
1799  meanqfracfit(d, tr, Join(name, "meanqfracfit"), base, offset),
1800  meanqfracsig(d, tr, Join(name, "meanqfracsig"), base, offset),
1801  meanqfracsigexp(d, tr, Join(name, "meanqfracsigexp"), base, offset),
1802  meany(d, tr, Join(name, "meany"), base, offset),
1803  meanyexp(d, tr, Join(name, "meanyexp"), base, offset),
1804  meanyfit(d, tr, Join(name, "meanyfit"), base, offset),
1805  meanysig(d, tr, Join(name, "meanysig"), base, offset),
1806  meanysigexp(d, tr, Join(name, "meanysigexp"), base, offset),
1807  pid(d, tr, Join(name, "pid"), base, offset),
1808  pidexp(d, tr, Join(name, "pidexp"), base, offset),
1809  pidexpfit(d, tr, Join(name, "pidexpfit"), base, offset),
1810  pidfit(d, tr, Join(name, "pidfit"), base, offset),
1811  tmvabdt(d, tr, Join(name, "tmvabdt"), base, offset),
1812  tmvabdtd(d, tr, Join(name, "tmvabdtd"), base, offset),
1813  tmvabdtg(d, tr, Join(name, "tmvabdtg"), base, offset),
1814  tmvabdtmf(d, tr, Join(name, "tmvabdtmf"), base, offset),
1815  tmvamlp(d, tr, Join(name, "tmvamlp"), base, offset)
1816 {
1817 }
1818 
1820 {
1821  avgexpE = sr.avgexpE;
1822  avginvE = sr.avginvE;
1823  avgsigE = sr.avgsigE;
1824  chibkg = sr.chibkg;
1825  chibkgexp = sr.chibkgexp;
1826  chisig = sr.chisig;
1827  chisigexp = sr.chisigexp;
1828  dectree = sr.dectree;
1829  energydiff = sr.energydiff;
1830  energydiffexp = sr.energydiffexp;
1831  enrichfrac = sr.enrichfrac;
1832  enrichfracexp = sr.enrichfracexp;
1833  fannid = sr.fannid;
1834  fannidenrich = sr.fannidenrich;
1835  meanqfrac = sr.meanqfrac;
1836  meanqfracbkg = sr.meanqfracbkg;
1837  meanqfracbkgexp = sr.meanqfracbkgexp;
1838  meanqfracexp = sr.meanqfracexp;
1839  meanqfracfit = sr.meanqfracfit;
1840  meanqfracsig = sr.meanqfracsig;
1841  meanqfracsigexp = sr.meanqfracsigexp;
1842  meany = sr.meany;
1843  meanyexp = sr.meanyexp;
1844  meanyfit = sr.meanyfit;
1845  meanysig = sr.meanysig;
1846  meanysigexp = sr.meanysigexp;
1847  pid = sr.pid;
1848  pidexp = sr.pidexp;
1849  pidexpfit = sr.pidexpfit;
1850  pidfit = sr.pidfit;
1851  tmvabdt = sr.tmvabdt;
1852  tmvabdtd = sr.tmvabdtd;
1853  tmvabdtg = sr.tmvabdtg;
1854  tmvabdtmf = sr.tmvabdtmf;
1855  tmvamlp = sr.tmvamlp;
1856  return *this;
1857 }
1858 
1860 {
1861  avgexpE.CheckEquals(sr.avgexpE);
1862  avginvE.CheckEquals(sr.avginvE);
1863  avgsigE.CheckEquals(sr.avgsigE);
1864  chibkg.CheckEquals(sr.chibkg);
1865  chibkgexp.CheckEquals(sr.chibkgexp);
1866  chisig.CheckEquals(sr.chisig);
1867  chisigexp.CheckEquals(sr.chisigexp);
1868  dectree.CheckEquals(sr.dectree);
1869  energydiff.CheckEquals(sr.energydiff);
1870  energydiffexp.CheckEquals(sr.energydiffexp);
1871  enrichfrac.CheckEquals(sr.enrichfrac);
1872  enrichfracexp.CheckEquals(sr.enrichfracexp);
1873  fannid.CheckEquals(sr.fannid);
1874  fannidenrich.CheckEquals(sr.fannidenrich);
1875  meanqfrac.CheckEquals(sr.meanqfrac);
1876  meanqfracbkg.CheckEquals(sr.meanqfracbkg);
1877  meanqfracbkgexp.CheckEquals(sr.meanqfracbkgexp);
1878  meanqfracexp.CheckEquals(sr.meanqfracexp);
1879  meanqfracfit.CheckEquals(sr.meanqfracfit);
1880  meanqfracsig.CheckEquals(sr.meanqfracsig);
1881  meanqfracsigexp.CheckEquals(sr.meanqfracsigexp);
1882  meany.CheckEquals(sr.meany);
1883  meanyexp.CheckEquals(sr.meanyexp);
1884  meanyfit.CheckEquals(sr.meanyfit);
1885  meanysig.CheckEquals(sr.meanysig);
1886  meanysigexp.CheckEquals(sr.meanysigexp);
1887  pid.CheckEquals(sr.pid);
1888  pidexp.CheckEquals(sr.pidexp);
1889  pidexpfit.CheckEquals(sr.pidexpfit);
1890  pidfit.CheckEquals(sr.pidfit);
1891  tmvabdt.CheckEquals(sr.tmvabdt);
1892  tmvabdtd.CheckEquals(sr.tmvabdtd);
1893  tmvabdtg.CheckEquals(sr.tmvabdtg);
1894  tmvabdtmf.CheckEquals(sr.tmvabdtmf);
1895  tmvamlp.CheckEquals(sr.tmvamlp);
1896 }
1897 
1898 caf::Proxy<caf::SRELid>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1899  ann(d, tr, Join(name, "ann"), base, offset),
1900  anne(d, tr, Join(name, "anne"), base, offset),
1901  annecos(d, tr, Join(name, "annecos"), base, offset),
1902  annepi0(d, tr, Join(name, "annepi0"), base, offset),
1903  rnn(d, tr, Join(name, "rnn"), base, offset)
1904 {
1905 }
1906 
1908 {
1909  ann = sr.ann;
1910  anne = sr.anne;
1911  annecos = sr.annecos;
1912  annepi0 = sr.annepi0;
1913  rnn = sr.rnn;
1914  return *this;
1915 }
1916 
1918 {
1919  ann.CheckEquals(sr.ann);
1920  anne.CheckEquals(sr.anne);
1921  annecos.CheckEquals(sr.annecos);
1922  annepi0.CheckEquals(sr.annepi0);
1923  rnn.CheckEquals(sr.rnn);
1924 }
1925 
1926 caf::Proxy<caf::SRMuonID>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1927  pid(d, tr, Join(name, "pid"), base, offset)
1928 {
1929 }
1930 
1932 {
1933  pid = sr.pid;
1934  return *this;
1935 }
1936 
1938 {
1939  pid.CheckEquals(sr.pid);
1940 }
1941 
1942 caf::Proxy<caf::SRNCCosRej>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1943  cospidbdt(d, tr, Join(name, "cospidbdt"), base, offset),
1944  cospidbdtg(d, tr, Join(name, "cospidbdtg"), base, offset),
1945  pngptp(d, tr, Join(name, "pngptp"), base, offset)
1946 {
1947 }
1948 
1950 {
1951  cospidbdt = sr.cospidbdt;
1952  cospidbdtg = sr.cospidbdtg;
1953  pngptp = sr.pngptp;
1954  return *this;
1955 }
1956 
1958 {
1959  cospidbdt.CheckEquals(sr.cospidbdt);
1960  cospidbdtg.CheckEquals(sr.cospidbdtg);
1961  pngptp.CheckEquals(sr.pngptp);
1962 }
1963 
1964 caf::Proxy<caf::SRNCPi0BkgRej>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1965  ncpidbdtg(d, tr, Join(name, "ncpidbdtg"), base, offset),
1966  ncpidbdtglt(d, tr, Join(name, "ncpidbdtglt"), base, offset)
1967 {
1968 }
1969 
1971 {
1972  ncpidbdtg = sr.ncpidbdtg;
1973  ncpidbdtglt = sr.ncpidbdtglt;
1974  return *this;
1975 }
1976 
1978 {
1979  ncpidbdtg.CheckEquals(sr.ncpidbdtg);
1980  ncpidbdtglt.CheckEquals(sr.ncpidbdtglt);
1981 }
1982 
1983 caf::Proxy<caf::SRNueCosRej>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
1984  cosdang(d, tr, Join(name, "cosdang"), base, offset),
1985  cospidcontain(d, tr, Join(name, "cospidcontain"), base, offset),
1986  cospidcontainxy(d, tr, Join(name, "cospidcontainxy"), base, offset),
1987  cospidcorebdt(d, tr, Join(name, "cospidcorebdt"), base, offset),
1988  cospidlight(d, tr, Join(name, "cospidlight"), base, offset),
1989  cospidperibdt(d, tr, Join(name, "cospidperibdt"), base, offset),
1990  distallpngback(d, tr, Join(name, "distallpngback"), base, offset),
1991  distallpngbottom(d, tr, Join(name, "distallpngbottom"), base, offset),
1992  distallpngeast(d, tr, Join(name, "distallpngeast"), base, offset),
1993  distallpngfront(d, tr, Join(name, "distallpngfront"), base, offset),
1994  distallpngtop(d, tr, Join(name, "distallpngtop"), base, offset),
1995  distallpngwest(d, tr, Join(name, "distallpngwest"), base, offset),
1996  hitsperplane(d, tr, Join(name, "hitsperplane"), base, offset),
1997  hitsperplaneasymm(d, tr, Join(name, "hitsperplaneasymm"), base, offset),
1998  hitsperplaneasymmslice(d, tr, Join(name, "hitsperplaneasymmslice"), base, offset),
1999  muanglediffbydist(d, tr, Join(name, "muanglediffbydist"), base, offset),
2000  muanglediffbytime(d, tr, Join(name, "muanglediffbytime"), base, offset),
2001  muclosestapproachbydist(d, tr, Join(name, "muclosestapproachbydist"), base, offset),
2002  muclosestapproachbytime(d, tr, Join(name, "muclosestapproachbytime"), base, offset),
2003  musliceidxbydist(d, tr, Join(name, "musliceidxbydist"), base, offset),
2004  musliceidxbytime(d, tr, Join(name, "musliceidxbytime"), base, offset),
2005  mutimediffbydist(d, tr, Join(name, "mutimediffbydist"), base, offset),
2006  mutimediffbytime(d, tr, Join(name, "mutimediffbytime"), base, offset),
2007  partptp(d, tr, Join(name, "partptp"), base, offset),
2008  photptp(d, tr, Join(name, "photptp"), base, offset),
2009  photpxp(d, tr, Join(name, "photpxp"), base, offset),
2010  photpyp(d, tr, Join(name, "photpyp"), base, offset),
2011  pngptp(d, tr, Join(name, "pngptp"), base, offset),
2012  prongmaxx(d, tr, Join(name, "prongmaxx"), base, offset),
2013  prongmaxy(d, tr, Join(name, "prongmaxy"), base, offset),
2014  prongmaxz(d, tr, Join(name, "prongmaxz"), base, offset),
2015  prongminx(d, tr, Join(name, "prongminx"), base, offset),
2016  prongminy(d, tr, Join(name, "prongminy"), base, offset),
2017  prongminz(d, tr, Join(name, "prongminz"), base, offset),
2018  sparsenessasymm(d, tr, Join(name, "sparsenessasymm"), base, offset),
2019  sparsenessasymmslice(d, tr, Join(name, "sparsenessasymmslice"), base, offset),
2020  startback(d, tr, Join(name, "startback"), base, offset),
2021  startbottom(d, tr, Join(name, "startbottom"), base, offset),
2022  starteast(d, tr, Join(name, "starteast"), base, offset),
2023  startfront(d, tr, Join(name, "startfront"), base, offset),
2024  starttop(d, tr, Join(name, "starttop"), base, offset),
2025  startwest(d, tr, Join(name, "startwest"), base, offset),
2026  stopback(d, tr, Join(name, "stopback"), base, offset),
2027  stopbottom(d, tr, Join(name, "stopbottom"), base, offset),
2028  stopeast(d, tr, Join(name, "stopeast"), base, offset),
2029  stopfront(d, tr, Join(name, "stopfront"), base, offset),
2030  stoptop(d, tr, Join(name, "stoptop"), base, offset),
2031  stopwest(d, tr, Join(name, "stopwest"), base, offset),
2032  vtxdoca(d, tr, Join(name, "vtxdoca"), base, offset)
2033 {
2034 }
2035 
2037 {
2038  cosdang = sr.cosdang;
2039  cospidcontain = sr.cospidcontain;
2040  cospidcontainxy = sr.cospidcontainxy;
2041  cospidcorebdt = sr.cospidcorebdt;
2042  cospidlight = sr.cospidlight;
2043  cospidperibdt = sr.cospidperibdt;
2050  hitsperplane = sr.hitsperplane;
2051  hitsperplaneasymm = sr.hitsperplaneasymm;
2052  hitsperplaneasymmslice = sr.hitsperplaneasymmslice;
2053  muanglediffbydist = sr.muanglediffbydist;
2054  muanglediffbytime = sr.muanglediffbytime;
2055  muclosestapproachbydist = sr.muclosestapproachbydist;
2056  muclosestapproachbytime = sr.muclosestapproachbytime;
2057  musliceidxbydist = sr.musliceidxbydist;
2058  musliceidxbytime = sr.musliceidxbytime;
2059  mutimediffbydist = sr.mutimediffbydist;
2060  mutimediffbytime = sr.mutimediffbytime;
2061  partptp = sr.partptp;
2062  photptp = sr.photptp;
2063  photpxp = sr.photpxp;
2064  photpyp = sr.photpyp;
2065  pngptp = sr.pngptp;
2066  prongmaxx = sr.prongmaxx;
2067  prongmaxy = sr.prongmaxy;
2068  prongmaxz = sr.prongmaxz;
2069  prongminx = sr.prongminx;
2070  prongminy = sr.prongminy;
2071  prongminz = sr.prongminz;
2072  sparsenessasymm = sr.sparsenessasymm;
2073  sparsenessasymmslice = sr.sparsenessasymmslice;
2074  startback = sr.startback;
2075  startbottom = sr.startbottom;
2076  starteast = sr.starteast;
2077  startfront = sr.startfront;
2078  starttop = sr.starttop;
2079  startwest = sr.startwest;
2080  stopback = sr.stopback;
2081  stopbottom = sr.stopbottom;
2082  stopeast = sr.stopeast;
2083  stopfront = sr.stopfront;
2084  stoptop = sr.stoptop;
2085  stopwest = sr.stopwest;
2086  vtxdoca = sr.vtxdoca;
2087  return *this;
2088 }
2089 
2091 {
2092  cosdang.CheckEquals(sr.cosdang);
2093  cospidcontain.CheckEquals(sr.cospidcontain);
2094  cospidcontainxy.CheckEquals(sr.cospidcontainxy);
2095  cospidcorebdt.CheckEquals(sr.cospidcorebdt);
2096  cospidlight.CheckEquals(sr.cospidlight);
2097  cospidperibdt.CheckEquals(sr.cospidperibdt);
2098  distallpngback.CheckEquals(sr.distallpngback);
2099  distallpngbottom.CheckEquals(sr.distallpngbottom);
2100  distallpngeast.CheckEquals(sr.distallpngeast);
2101  distallpngfront.CheckEquals(sr.distallpngfront);
2102  distallpngtop.CheckEquals(sr.distallpngtop);
2103  distallpngwest.CheckEquals(sr.distallpngwest);
2104  hitsperplane.CheckEquals(sr.hitsperplane);
2105  hitsperplaneasymm.CheckEquals(sr.hitsperplaneasymm);
2106  hitsperplaneasymmslice.CheckEquals(sr.hitsperplaneasymmslice);
2107  muanglediffbydist.CheckEquals(sr.muanglediffbydist);
2108  muanglediffbytime.CheckEquals(sr.muanglediffbytime);
2109  muclosestapproachbydist.CheckEquals(sr.muclosestapproachbydist);
2110  muclosestapproachbytime.CheckEquals(sr.muclosestapproachbytime);
2111  musliceidxbydist.CheckEquals(sr.musliceidxbydist);
2112  musliceidxbytime.CheckEquals(sr.musliceidxbytime);
2113  mutimediffbydist.CheckEquals(sr.mutimediffbydist);
2114  mutimediffbytime.CheckEquals(sr.mutimediffbytime);
2115  partptp.CheckEquals(sr.partptp);
2116  photptp.CheckEquals(sr.photptp);
2117  photpxp.CheckEquals(sr.photpxp);
2118  photpyp.CheckEquals(sr.photpyp);
2119  pngptp.CheckEquals(sr.pngptp);
2120  prongmaxx.CheckEquals(sr.prongmaxx);
2121  prongmaxy.CheckEquals(sr.prongmaxy);
2122  prongmaxz.CheckEquals(sr.prongmaxz);
2123  prongminx.CheckEquals(sr.prongminx);
2124  prongminy.CheckEquals(sr.prongminy);
2125  prongminz.CheckEquals(sr.prongminz);
2126  sparsenessasymm.CheckEquals(sr.sparsenessasymm);
2127  sparsenessasymmslice.CheckEquals(sr.sparsenessasymmslice);
2128  startback.CheckEquals(sr.startback);
2129  startbottom.CheckEquals(sr.startbottom);
2130  starteast.CheckEquals(sr.starteast);
2131  startfront.CheckEquals(sr.startfront);
2132  starttop.CheckEquals(sr.starttop);
2133  startwest.CheckEquals(sr.startwest);
2134  stopback.CheckEquals(sr.stopback);
2135  stopbottom.CheckEquals(sr.stopbottom);
2136  stopeast.CheckEquals(sr.stopeast);
2137  stopfront.CheckEquals(sr.stopfront);
2138  stoptop.CheckEquals(sr.stoptop);
2139  stopwest.CheckEquals(sr.stopwest);
2140  vtxdoca.CheckEquals(sr.vtxdoca);
2141 }
2142 
2143 caf::Proxy<caf::SRPresel>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2144  passpre(d, tr, Join(name, "passpre"), base, offset)
2145 {
2146 }
2147 
2149 {
2150  passpre = sr.passpre;
2151  return *this;
2152 }
2153 
2155 {
2156  passpre.CheckEquals(sr.passpre);
2157 }
2158 
2159 caf::Proxy<caf::SRNuonEResult>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2160  epi0nuoneid(d, tr, Join(name, "epi0nuoneid"), base, offset),
2161  epi0pi0id(d, tr, Join(name, "epi0pi0id"), base, offset),
2162  noutput(d, tr, Join(name, "noutput"), base, offset),
2163  nueccid(d, tr, Join(name, "nueccid"), base, offset),
2164  nuoneid(d, tr, Join(name, "nuoneid"), base, offset),
2165  otherid(d, tr, Join(name, "otherid"), base, offset),
2166  output(d, tr, Join(name, "output"), base, offset),
2167  pi0id(d, tr, Join(name, "pi0id"), base, offset),
2168  rawgevslice(d, tr, Join(name, "rawgevslice"), base, offset)
2169 {
2170 }
2171 
2173 {
2174  epi0nuoneid = sr.epi0nuoneid;
2175  epi0pi0id = sr.epi0pi0id;
2176  noutput = sr.noutput;
2177  nueccid = sr.nueccid;
2178  nuoneid = sr.nuoneid;
2179  otherid = sr.otherid;
2180  output = sr.output;
2181  pi0id = sr.pi0id;
2182  rawgevslice = sr.rawgevslice;
2183  return *this;
2184 }
2185 
2187 {
2188  epi0nuoneid.CheckEquals(sr.epi0nuoneid);
2189  epi0pi0id.CheckEquals(sr.epi0pi0id);
2190  noutput.CheckEquals(sr.noutput);
2191  nueccid.CheckEquals(sr.nueccid);
2192  nuoneid.CheckEquals(sr.nuoneid);
2193  otherid.CheckEquals(sr.otherid);
2194  output.CheckEquals(sr.output);
2195  pi0id.CheckEquals(sr.pi0id);
2196  rawgevslice.CheckEquals(sr.rawgevslice);
2197 }
2198 
2199 caf::Proxy<caf::SRRemid>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2200  cont(d, tr, Join(name, "cont"), base, offset),
2201  dedxllh(d, tr, Join(name, "dedxllh"), base, offset),
2202  len(d, tr, Join(name, "len"), base, offset),
2203  measfrac(d, tr, Join(name, "measfrac"), base, offset),
2204  pid(d, tr, Join(name, "pid"), base, offset),
2205  scatllh(d, tr, Join(name, "scatllh"), base, offset)
2206 {
2207 }
2208 
2210 {
2211  cont = sr.cont;
2212  dedxllh = sr.dedxllh;
2213  len = sr.len;
2214  measfrac = sr.measfrac;
2215  pid = sr.pid;
2216  scatllh = sr.scatllh;
2217  return *this;
2218 }
2219 
2221 {
2222  cont.CheckEquals(sr.cont);
2223  dedxllh.CheckEquals(sr.dedxllh);
2224  len.CheckEquals(sr.len);
2225  measfrac.CheckEquals(sr.measfrac);
2226  pid.CheckEquals(sr.pid);
2227  scatllh.CheckEquals(sr.scatllh);
2228 }
2229 
2230 caf::Proxy<caf::SRRvp>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2231  efrac2plwin(d, tr, Join(name, "efrac2plwin"), base, offset),
2232  efrac2sigrd(d, tr, Join(name, "efrac2sigrd"), base, offset),
2233  efrac6plwin(d, tr, Join(name, "efrac6plwin"), base, offset),
2234  eiso3sig(d, tr, Join(name, "eiso3sig"), base, offset),
2235  epl20frac(d, tr, Join(name, "epl20frac"), base, offset),
2236  longtr(d, tr, Join(name, "longtr"), base, offset),
2237  longtrfrac(d, tr, Join(name, "longtrfrac"), base, offset),
2238  mipfrac(d, tr, Join(name, "mipfrac"), base, offset),
2239  miphits(d, tr, Join(name, "miphits"), base, offset),
2240  ncell(d, tr, Join(name, "ncell"), base, offset),
2241  pid(d, tr, Join(name, "pid"), base, offset),
2242  prongEbal2D(d, tr, Join(name, "prongEbal2D"), base, offset),
2243  prongEbal3D(d, tr, Join(name, "prongEbal3D"), base, offset),
2244  prongs2D(d, tr, Join(name, "prongs2D"), base, offset),
2245  prongs3D(d, tr, Join(name, "prongs3D"), base, offset),
2246  recoE(d, tr, Join(name, "recoE"), base, offset),
2247  rvp12(d, tr, Join(name, "rvp12"), base, offset)
2248 {
2249 }
2250 
2252 {
2253  efrac2plwin = sr.efrac2plwin;
2254  efrac2sigrd = sr.efrac2sigrd;
2255  efrac6plwin = sr.efrac6plwin;
2256  eiso3sig = sr.eiso3sig;
2257  epl20frac = sr.epl20frac;
2258  longtr = sr.longtr;
2259  longtrfrac = sr.longtrfrac;
2260  mipfrac = sr.mipfrac;
2261  miphits = sr.miphits;
2262  ncell = sr.ncell;
2263  pid = sr.pid;
2264  prongEbal2D = sr.prongEbal2D;
2265  prongEbal3D = sr.prongEbal3D;
2266  prongs2D = sr.prongs2D;
2267  prongs3D = sr.prongs3D;
2268  recoE = sr.recoE;
2269  rvp12 = sr.rvp12;
2270  return *this;
2271 }
2272 
2274 {
2275  efrac2plwin.CheckEquals(sr.efrac2plwin);
2276  efrac2sigrd.CheckEquals(sr.efrac2sigrd);
2277  efrac6plwin.CheckEquals(sr.efrac6plwin);
2278  eiso3sig.CheckEquals(sr.eiso3sig);
2279  epl20frac.CheckEquals(sr.epl20frac);
2280  longtr.CheckEquals(sr.longtr);
2281  longtrfrac.CheckEquals(sr.longtrfrac);
2282  mipfrac.CheckEquals(sr.mipfrac);
2283  miphits.CheckEquals(sr.miphits);
2284  ncell.CheckEquals(sr.ncell);
2285  pid.CheckEquals(sr.pid);
2286  prongEbal2D.CheckEquals(sr.prongEbal2D);
2287  prongEbal3D.CheckEquals(sr.prongEbal3D);
2288  prongs2D.CheckEquals(sr.prongs2D);
2289  prongs3D.CheckEquals(sr.prongs3D);
2290  recoE.CheckEquals(sr.recoE);
2291  rvp12.CheckEquals(sr.rvp12);
2292 }
2293 
2294 caf::Proxy<caf::SRSliceLID>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2295  cosmicid(d, tr, Join(name, "cosmicid"), base, offset),
2296  ncid(d, tr, Join(name, "ncid"), base, offset),
2297  nueid(d, tr, Join(name, "nueid"), base, offset),
2298  numuid(d, tr, Join(name, "numuid"), base, offset),
2299  nutauid(d, tr, Join(name, "nutauid"), base, offset)
2300 {
2301 }
2302 
2304 {
2305  cosmicid = sr.cosmicid;
2306  ncid = sr.ncid;
2307  nueid = sr.nueid;
2308  numuid = sr.numuid;
2309  nutauid = sr.nutauid;
2310  return *this;
2311 }
2312 
2314 {
2315  cosmicid.CheckEquals(sr.cosmicid);
2316  ncid.CheckEquals(sr.ncid);
2317  nueid.CheckEquals(sr.nueid);
2318  numuid.CheckEquals(sr.numuid);
2319  nutauid.CheckEquals(sr.nutauid);
2320 }
2321 
2322 caf::Proxy<caf::SRVeto>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2323  angle(d, tr, Join(name, "angle"), base, offset),
2324  anglevar(d, tr, Join(name, "anglevar"), base, offset),
2325  anglevarold(d, tr, Join(name, "anglevarold"), base, offset),
2326  bakdist(d, tr, Join(name, "bakdist"), base, offset),
2327  diry(d, tr, Join(name, "diry"), base, offset),
2328  fwddist(d, tr, Join(name, "fwddist"), base, offset),
2329  keep(d, tr, Join(name, "keep"), base, offset),
2330  keepnue(d, tr, Join(name, "keepnue"), base, offset),
2331  ncell(d, tr, Join(name, "ncell"), base, offset),
2332  passangle(d, tr, Join(name, "passangle"), base, offset),
2333  passanglefirstana(d, tr, Join(name, "passanglefirstana"), base, offset),
2334  passnumicut(d, tr, Join(name, "passnumicut"), base, offset),
2335  passthru(d, tr, Join(name, "passthru"), base, offset),
2336  passthruold(d, tr, Join(name, "passthruold"), base, offset),
2337  ratio(d, tr, Join(name, "ratio"), base, offset)
2338 {
2339 }
2340 
2342 {
2343  angle = sr.angle;
2344  anglevar = sr.anglevar;
2345  anglevarold = sr.anglevarold;
2346  bakdist = sr.bakdist;
2347  diry = sr.diry;
2348  fwddist = sr.fwddist;
2349  keep = sr.keep;
2350  keepnue = sr.keepnue;
2351  ncell = sr.ncell;
2352  passangle = sr.passangle;
2353  passanglefirstana = sr.passanglefirstana;
2354  passnumicut = sr.passnumicut;
2355  passthru = sr.passthru;
2356  passthruold = sr.passthruold;
2357  ratio = sr.ratio;
2358  return *this;
2359 }
2360 
2362 {
2363  angle.CheckEquals(sr.angle);
2364  anglevar.CheckEquals(sr.anglevar);
2365  anglevarold.CheckEquals(sr.anglevarold);
2366  bakdist.CheckEquals(sr.bakdist);
2367  diry.CheckEquals(sr.diry);
2368  fwddist.CheckEquals(sr.fwddist);
2369  keep.CheckEquals(sr.keep);
2370  keepnue.CheckEquals(sr.keepnue);
2371  ncell.CheckEquals(sr.ncell);
2372  passangle.CheckEquals(sr.passangle);
2373  passanglefirstana.CheckEquals(sr.passanglefirstana);
2374  passnumicut.CheckEquals(sr.passnumicut);
2375  passthru.CheckEquals(sr.passthru);
2376  passthruold.CheckEquals(sr.passthruold);
2377  ratio.CheckEquals(sr.ratio);
2378 }
2379 
2380 caf::Proxy<caf::SRXnue>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2381  bdt(d, tr, Join(name, "bdt"), base, offset),
2382  efrac10p(d, tr, Join(name, "efrac10p"), base, offset),
2383  efrac2sig(d, tr, Join(name, "efrac2sig"), base, offset),
2384  efracp2(d, tr, Join(name, "efracp2"), base, offset),
2385  efracp3(d, tr, Join(name, "efracp3"), base, offset),
2386  efracp4(d, tr, Join(name, "efracp4"), base, offset),
2387  emaxfrac6p(d, tr, Join(name, "emaxfrac6p"), base, offset),
2388  p1Fmip(d, tr, Join(name, "p1Fmip"), base, offset),
2389  p1energy(d, tr, Join(name, "p1energy"), base, offset),
2390  p2Fmip(d, tr, Join(name, "p2Fmip"), base, offset)
2391 {
2392 }
2393 
2395 {
2396  bdt = sr.bdt;
2397  efrac10p = sr.efrac10p;
2398  efrac2sig = sr.efrac2sig;
2399  efracp2 = sr.efracp2;
2400  efracp3 = sr.efracp3;
2401  efracp4 = sr.efracp4;
2402  emaxfrac6p = sr.emaxfrac6p;
2403  p1Fmip = sr.p1Fmip;
2404  p1energy = sr.p1energy;
2405  p2Fmip = sr.p2Fmip;
2406  return *this;
2407 }
2408 
2410 {
2411  bdt.CheckEquals(sr.bdt);
2412  efrac10p.CheckEquals(sr.efrac10p);
2413  efrac2sig.CheckEquals(sr.efrac2sig);
2414  efracp2.CheckEquals(sr.efracp2);
2415  efracp3.CheckEquals(sr.efracp3);
2416  efracp4.CheckEquals(sr.efracp4);
2417  emaxfrac6p.CheckEquals(sr.emaxfrac6p);
2418  p1Fmip.CheckEquals(sr.p1Fmip);
2419  p1energy.CheckEquals(sr.p1energy);
2420  p2Fmip.CheckEquals(sr.p2Fmip);
2421 }
2422 
2423 caf::Proxy<caf::SRIDBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2424  bpfid(d, tr, Join(name, "bpfid"), base, offset),
2425  contain(d, tr, Join(name, "contain"), base, offset),
2426  cosrej(d, tr, Join(name, "cosrej"), base, offset),
2427  cvn(d, tr, Join(name, "cvn"), base, offset),
2428  cvnloosepreselptp(d, tr, Join(name, "cvnloosepreselptp"), base, offset),
2429  cvnloosepreselptp_opphorn(d, tr, Join(name, "cvnloosepreselptp_opphorn"), base, offset),
2430  cvnnocosmics(d, tr, Join(name, "cvnnocosmics"), base, offset),
2431  cvnnocosmics_opphorn(d, tr, Join(name, "cvnnocosmics_opphorn"), base, offset),
2432  cvnoldpresel(d, tr, Join(name, "cvnoldpresel"), base, offset),
2433  cvnoldpresel_opphorn(d, tr, Join(name, "cvnoldpresel_opphorn"), base, offset),
2434  lem(d, tr, Join(name, "lem"), base, offset),
2435  lid(d, tr, Join(name, "lid"), base, offset),
2436  muonid(d, tr, Join(name, "muonid"), base, offset),
2437  nccosrej(d, tr, Join(name, "nccosrej"), base, offset),
2438  ncpi0bkgrej(d, tr, Join(name, "ncpi0bkgrej"), base, offset),
2439  nuecosrej(d, tr, Join(name, "nuecosrej"), base, offset),
2440  nuepre(d, tr, Join(name, "nuepre"), base, offset),
2441  nuone(d, tr, Join(name, "nuone"), base, offset),
2442  nuone_opphorn(d, tr, Join(name, "nuone_opphorn"), base, offset),
2443  remid(d, tr, Join(name, "remid"), base, offset),
2444  rockpre(d, tr, Join(name, "rockpre"), base, offset),
2445  rvp(d, tr, Join(name, "rvp"), base, offset),
2446  slicelid(d, tr, Join(name, "slicelid"), base, offset),
2447  slicelid_opphorn(d, tr, Join(name, "slicelid_opphorn"), base, offset),
2448  veto(d, tr, Join(name, "veto"), base, offset),
2449  wsid(d, tr, Join(name, "wsid"), base, offset),
2450  xnuepid(d, tr, Join(name, "xnuepid"), base, offset)
2451 {
2452 }
2453 
2455 {
2456  bpfid = sr.bpfid;
2457  contain = sr.contain;
2458  cosrej = sr.cosrej;
2459  cvn = sr.cvn;
2460  cvnloosepreselptp = sr.cvnloosepreselptp;
2461  cvnloosepreselptp_opphorn = sr.cvnloosepreselptp_opphorn;
2462  cvnnocosmics = sr.cvnnocosmics;
2463  cvnnocosmics_opphorn = sr.cvnnocosmics_opphorn;
2464  cvnoldpresel = sr.cvnoldpresel;
2465  cvnoldpresel_opphorn = sr.cvnoldpresel_opphorn;
2466  lem = sr.lem;
2467  lid = sr.lid;
2468  muonid = sr.muonid;
2469  nccosrej = sr.nccosrej;
2470  ncpi0bkgrej = sr.ncpi0bkgrej;
2471  nuecosrej = sr.nuecosrej;
2472  nuepre = sr.nuepre;
2473  nuone = sr.nuone;
2474  nuone_opphorn = sr.nuone_opphorn;
2475  remid = sr.remid;
2476  rockpre = sr.rockpre;
2477  rvp = sr.rvp;
2478  slicelid = sr.slicelid;
2479  slicelid_opphorn = sr.slicelid_opphorn;
2480  veto = sr.veto;
2481  wsid = sr.wsid;
2482  xnuepid = sr.xnuepid;
2483  return *this;
2484 }
2485 
2487 {
2488  bpfid.CheckEquals(sr.bpfid);
2489  contain.CheckEquals(sr.contain);
2490  cosrej.CheckEquals(sr.cosrej);
2491  cvn.CheckEquals(sr.cvn);
2492  cvnloosepreselptp.CheckEquals(sr.cvnloosepreselptp);
2493  cvnloosepreselptp_opphorn.CheckEquals(sr.cvnloosepreselptp_opphorn);
2494  cvnnocosmics.CheckEquals(sr.cvnnocosmics);
2495  cvnnocosmics_opphorn.CheckEquals(sr.cvnnocosmics_opphorn);
2496  cvnoldpresel.CheckEquals(sr.cvnoldpresel);
2497  cvnoldpresel_opphorn.CheckEquals(sr.cvnoldpresel_opphorn);
2498  lem.CheckEquals(sr.lem);
2499  lid.CheckEquals(sr.lid);
2500  muonid.CheckEquals(sr.muonid);
2501  nccosrej.CheckEquals(sr.nccosrej);
2502  ncpi0bkgrej.CheckEquals(sr.ncpi0bkgrej);
2503  nuecosrej.CheckEquals(sr.nuecosrej);
2504  nuepre.CheckEquals(sr.nuepre);
2505  nuone.CheckEquals(sr.nuone);
2506  nuone_opphorn.CheckEquals(sr.nuone_opphorn);
2507  remid.CheckEquals(sr.remid);
2508  rockpre.CheckEquals(sr.rockpre);
2509  rvp.CheckEquals(sr.rvp);
2510  slicelid.CheckEquals(sr.slicelid);
2511  slicelid_opphorn.CheckEquals(sr.slicelid_opphorn);
2512  veto.CheckEquals(sr.veto);
2513  wsid.CheckEquals(sr.wsid);
2514  xnuepid.CheckEquals(sr.xnuepid);
2515 }
2516 
2517 caf::Proxy<caf::SRSlice>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2518  boxmax(d, tr, Join(name, "boxmax"), base, offset),
2519  boxmin(d, tr, Join(name, "boxmin"), base, offset),
2520  calE(d, tr, Join(name, "calE"), base, offset),
2521  closestslicecalE(d, tr, Join(name, "closestslicecalE"), base, offset),
2522  closestslicemindist(d, tr, Join(name, "closestslicemindist"), base, offset),
2523  closestsliceminfromback(d, tr, Join(name, "closestsliceminfromback"), base, offset),
2524  closestsliceminfrombottom(d, tr, Join(name, "closestsliceminfrombottom"), base, offset),
2525  closestsliceminfromeast(d, tr, Join(name, "closestsliceminfromeast"), base, offset),
2526  closestsliceminfromfront(d, tr, Join(name, "closestsliceminfromfront"), base, offset),
2527  closestsliceminfromtop(d, tr, Join(name, "closestsliceminfromtop"), base, offset),
2528  closestsliceminfromwest(d, tr, Join(name, "closestsliceminfromwest"), base, offset),
2529  closestslicenhit(d, tr, Join(name, "closestslicenhit"), base, offset),
2530  closestslicetime(d, tr, Join(name, "closestslicetime"), base, offset),
2531  endtime(d, tr, Join(name, "endtime"), base, offset),
2532  firstcell(d, tr, Join(name, "firstcell"), base, offset),
2533  firstplane(d, tr, Join(name, "firstplane"), base, offset),
2534  fracnoiseE(d, tr, Join(name, "fracnoiseE"), base, offset),
2535  fracnoisePE(d, tr, Join(name, "fracnoisePE"), base, offset),
2536  lastcell(d, tr, Join(name, "lastcell"), base, offset),
2537  lastplane(d, tr, Join(name, "lastplane"), base, offset),
2538  meanpos(d, tr, Join(name, "meanpos"), base, offset),
2539  meantime(d, tr, Join(name, "meantime"), base, offset),
2540  ncalhit(d, tr, Join(name, "ncalhit"), base, offset),
2541  ncellsfromedge(d, tr, Join(name, "ncellsfromedge"), base, offset),
2542  ncontplanes(d, tr, Join(name, "ncontplanes"), base, offset),
2543  nhit(d, tr, Join(name, "nhit"), base, offset),
2544  nmiphit(d, tr, Join(name, "nmiphit"), base, offset),
2545  nnoisehit(d, tr, Join(name, "nnoisehit"), base, offset),
2546  nnonnoise(d, tr, Join(name, "nnonnoise"), base, offset),
2547  starttime(d, tr, Join(name, "starttime"), base, offset),
2548  tsd(d, tr, Join(name, "tsd"), base, offset)
2549 {
2550 }
2551 
2553 {
2554  boxmax = sr.boxmax;
2555  boxmin = sr.boxmin;
2556  calE = sr.calE;
2557  closestslicecalE = sr.closestslicecalE;
2559  closestsliceminfromback = sr.closestsliceminfromback;
2560  closestsliceminfrombottom = sr.closestsliceminfrombottom;
2561  closestsliceminfromeast = sr.closestsliceminfromeast;
2562  closestsliceminfromfront = sr.closestsliceminfromfront;
2563  closestsliceminfromtop = sr.closestsliceminfromtop;
2564  closestsliceminfromwest = sr.closestsliceminfromwest;
2565  closestslicenhit = sr.closestslicenhit;
2567  endtime = sr.endtime;
2568  firstcell = sr.firstcell;
2569  firstplane = sr.firstplane;
2570  fracnoiseE = sr.fracnoiseE;
2571  fracnoisePE = sr.fracnoisePE;
2572  lastcell = sr.lastcell;
2573  lastplane = sr.lastplane;
2574  meanpos = sr.meanpos;
2575  meantime = sr.meantime;
2576  ncalhit = sr.ncalhit;
2577  ncellsfromedge = sr.ncellsfromedge;
2578  ncontplanes = sr.ncontplanes;
2579  nhit = sr.nhit;
2580  nmiphit = sr.nmiphit;
2581  nnoisehit = sr.nnoisehit;
2582  nnonnoise = sr.nnonnoise;
2583  starttime = sr.starttime;
2584  tsd = sr.tsd;
2585  return *this;
2586 }
2587 
2589 {
2590  boxmax.CheckEquals(sr.boxmax);
2591  boxmin.CheckEquals(sr.boxmin);
2592  calE.CheckEquals(sr.calE);
2593  closestslicecalE.CheckEquals(sr.closestslicecalE);
2594  closestslicemindist.CheckEquals(sr.closestslicemindist);
2595  closestsliceminfromback.CheckEquals(sr.closestsliceminfromback);
2596  closestsliceminfrombottom.CheckEquals(sr.closestsliceminfrombottom);
2597  closestsliceminfromeast.CheckEquals(sr.closestsliceminfromeast);
2598  closestsliceminfromfront.CheckEquals(sr.closestsliceminfromfront);
2599  closestsliceminfromtop.CheckEquals(sr.closestsliceminfromtop);
2600  closestsliceminfromwest.CheckEquals(sr.closestsliceminfromwest);
2601  closestslicenhit.CheckEquals(sr.closestslicenhit);
2602  closestslicetime.CheckEquals(sr.closestslicetime);
2603  endtime.CheckEquals(sr.endtime);
2604  firstcell.CheckEquals(sr.firstcell);
2605  firstplane.CheckEquals(sr.firstplane);
2606  fracnoiseE.CheckEquals(sr.fracnoiseE);
2607  fracnoisePE.CheckEquals(sr.fracnoisePE);
2608  lastcell.CheckEquals(sr.lastcell);
2609  lastplane.CheckEquals(sr.lastplane);
2610  meanpos.CheckEquals(sr.meanpos);
2611  meantime.CheckEquals(sr.meantime);
2612  ncalhit.CheckEquals(sr.ncalhit);
2613  ncellsfromedge.CheckEquals(sr.ncellsfromedge);
2614  ncontplanes.CheckEquals(sr.ncontplanes);
2615  nhit.CheckEquals(sr.nhit);
2616  nmiphit.CheckEquals(sr.nmiphit);
2617  nnoisehit.CheckEquals(sr.nnoisehit);
2618  nnonnoise.CheckEquals(sr.nnonnoise);
2619  starttime.CheckEquals(sr.starttime);
2620  tsd.CheckEquals(sr.tsd);
2621 }
2622 
2623 caf::Proxy<caf::SRCosmicCVN>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2624  cosmicVal(d, tr, Join(name, "cosmicVal"), base, offset),
2625  nHits(d, tr, Join(name, "nHits"), base, offset),
2626  ncVal(d, tr, Join(name, "ncVal"), base, offset),
2627  nueVal(d, tr, Join(name, "nueVal"), base, offset),
2628  numuVal(d, tr, Join(name, "numuVal"), base, offset),
2629  nutauVal(d, tr, Join(name, "nutauVal"), base, offset),
2630  passSel(d, tr, Join(name, "passSel"), base, offset),
2631  timeWinMax(d, tr, Join(name, "timeWinMax"), base, offset),
2632  timeWinMin(d, tr, Join(name, "timeWinMin"), base, offset)
2633 {
2634 }
2635 
2637 {
2638  cosmicVal = sr.cosmicVal;
2639  nHits = sr.nHits;
2640  ncVal = sr.ncVal;
2641  nueVal = sr.nueVal;
2642  numuVal = sr.numuVal;
2643  nutauVal = sr.nutauVal;
2644  passSel = sr.passSel;
2645  timeWinMax = sr.timeWinMax;
2646  timeWinMin = sr.timeWinMin;
2647  return *this;
2648 }
2649 
2651 {
2652  cosmicVal.CheckEquals(sr.cosmicVal);
2653  nHits.CheckEquals(sr.nHits);
2654  ncVal.CheckEquals(sr.ncVal);
2655  nueVal.CheckEquals(sr.nueVal);
2656  numuVal.CheckEquals(sr.numuVal);
2657  nutauVal.CheckEquals(sr.nutauVal);
2658  passSel.CheckEquals(sr.passSel);
2659  timeWinMax.CheckEquals(sr.timeWinMax);
2660  timeWinMin.CheckEquals(sr.timeWinMin);
2661 }
2662 
2663 caf::Proxy<caf::SRSpill>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2664  bposx(d, tr, Join(name, "bposx"), base, offset),
2665  bposy(d, tr, Join(name, "bposy"), base, offset),
2666  cosmiccvn(d, tr, Join(name, "cosmiccvn"), base, offset),
2667  dcmedgematchfrac(d, tr, Join(name, "dcmedgematchfrac"), base, offset),
2668  deltaspilltimensec(d, tr, Join(name, "deltaspilltimensec"), base, offset),
2669  det(d, tr, Join(name, "det"), base, offset),
2670  dibfirst(d, tr, Join(name, "dibfirst"), base, offset),
2671  diblast(d, tr, Join(name, "diblast"), base, offset),
2672  dibmask(d, tr, Join(name, "dibmask"), base, offset),
2673  emptydatablock(d, tr, Join(name, "emptydatablock"), base, offset),
2674  eventincomplete(d, tr, Join(name, "eventincomplete"), base, offset),
2675  evt(d, tr, Join(name, "evt"), base, offset),
2676  fracdcm3hits(d, tr, Join(name, "fracdcm3hits"), base, offset),
2677  gpsspilltimensec(d, tr, Join(name, "gpsspilltimensec"), base, offset),
2678  gpsspilltimesec(d, tr, Join(name, "gpsspilltimesec"), base, offset),
2679  hornI(d, tr, Join(name, "hornI"), base, offset),
2680  intx(d, tr, Join(name, "intx"), base, offset),
2681  inty(d, tr, Join(name, "inty"), base, offset),
2682  is0HC(d, tr, Join(name, "is0HC"), base, offset),
2683  isFHC(d, tr, Join(name, "isFHC"), base, offset),
2684  isRHC(d, tr, Join(name, "isRHC"), base, offset),
2685  isgoodspill(d, tr, Join(name, "isgoodspill"), base, offset),
2686  ismc(d, tr, Join(name, "ismc"), base, offset),
2687  livetime(d, tr, Join(name, "livetime"), base, offset),
2688  maskstatus(d, tr, Join(name, "maskstatus"), base, offset),
2689  nanosliceadcerror(d, tr, Join(name, "nanosliceadcerror"), base, offset),
2690  nanoslicebufferempty(d, tr, Join(name, "nanoslicebufferempty"), base, offset),
2691  nanoslicebufferfull(d, tr, Join(name, "nanoslicebufferfull"), base, offset),
2692  nanoslicecommerror(d, tr, Join(name, "nanoslicecommerror"), base, offset),
2693  nanoslicedatanotpresent(d, tr, Join(name, "nanoslicedatanotpresent"), base, offset),
2694  nanoslicenolinkstatus(d, tr, Join(name, "nanoslicenolinkstatus"), base, offset),
2695  nanosliceoverflowerror(d, tr, Join(name, "nanosliceoverflowerror"), base, offset),
2696  nanoslicepacketerror(d, tr, Join(name, "nanoslicepacketerror"), base, offset),
2697  nbaddcmslg(d, tr, Join(name, "nbaddcmslg"), base, offset),
2698  ncosmiccvn(d, tr, Join(name, "ncosmiccvn"), base, offset),
2699  ndatablockmissingdata(d, tr, Join(name, "ndatablockmissingdata"), base, offset),
2700  ndcms(d, tr, Join(name, "ndcms"), base, offset),
2701  ndiblocks(d, tr, Join(name, "ndiblocks"), base, offset),
2702  ndroppedmicroblocks(d, tr, Join(name, "ndroppedmicroblocks"), base, offset),
2703  nemptymicroslice(d, tr, Join(name, "nemptymicroslice"), base, offset),
2704  nmicroblocks(d, tr, Join(name, "nmicroblocks"), base, offset),
2705  nmicroslicedatanotpresent(d, tr, Join(name, "nmicroslicedatanotpresent"), base, offset),
2706  nmicroslices(d, tr, Join(name, "nmicroslices"), base, offset),
2707  nmissingdcms(d, tr, Join(name, "nmissingdcms"), base, offset),
2708  nmissingdcmslg(d, tr, Join(name, "nmissingdcmslg"), base, offset),
2709  nnanoslices(d, tr, Join(name, "nnanoslices"), base, offset),
2710  nnoisyapds(d, tr, Join(name, "nnoisyapds"), base, offset),
2711  nouttimehits(d, tr, Join(name, "nouttimehits"), base, offset),
2712  posx(d, tr, Join(name, "posx"), base, offset),
2713  posy(d, tr, Join(name, "posy"), base, offset),
2714  run(d, tr, Join(name, "run"), base, offset),
2715  spillpot(d, tr, Join(name, "spillpot"), base, offset),
2716  spilltimensec(d, tr, Join(name, "spilltimensec"), base, offset),
2717  spilltimesec(d, tr, Join(name, "spilltimesec"), base, offset),
2718  subrun(d, tr, Join(name, "subrun"), base, offset),
2719  trigger(d, tr, Join(name, "trigger"), base, offset),
2720  widthx(d, tr, Join(name, "widthx"), base, offset),
2721  widthy(d, tr, Join(name, "widthy"), base, offset)
2722 {
2723 }
2724 
2726 {
2727  bposx = sr.bposx;
2728  bposy = sr.bposy;
2729  cosmiccvn = sr.cosmiccvn;
2730  dcmedgematchfrac = sr.dcmedgematchfrac;
2731  deltaspilltimensec = sr.deltaspilltimensec;
2732  det = sr.det;
2733  dibfirst = sr.dibfirst;
2734  diblast = sr.diblast;
2735  dibmask = sr.dibmask;
2736  emptydatablock = sr.emptydatablock;
2737  eventincomplete = sr.eventincomplete;
2738  evt = sr.evt;
2739  fracdcm3hits = sr.fracdcm3hits;
2740  gpsspilltimensec = sr.gpsspilltimensec;
2741  gpsspilltimesec = sr.gpsspilltimesec;
2742  hornI = sr.hornI;
2743  intx = sr.intx;
2744  inty = sr.inty;
2745  is0HC = sr.is0HC;
2746  isFHC = sr.isFHC;
2747  isRHC = sr.isRHC;
2748  isgoodspill = sr.isgoodspill;
2749  ismc = sr.ismc;
2750  livetime = sr.livetime;
2751  maskstatus = sr.maskstatus;
2752  nanosliceadcerror = sr.nanosliceadcerror;
2753  nanoslicebufferempty = sr.nanoslicebufferempty;
2754  nanoslicebufferfull = sr.nanoslicebufferfull;
2755  nanoslicecommerror = sr.nanoslicecommerror;
2756  nanoslicedatanotpresent = sr.nanoslicedatanotpresent;
2757  nanoslicenolinkstatus = sr.nanoslicenolinkstatus;
2758  nanosliceoverflowerror = sr.nanosliceoverflowerror;
2759  nanoslicepacketerror = sr.nanoslicepacketerror;
2760  nbaddcmslg = sr.nbaddcmslg;
2761  ncosmiccvn = sr.ncosmiccvn;
2762  ndatablockmissingdata = sr.ndatablockmissingdata;
2763  ndcms = sr.ndcms;
2764  ndiblocks = sr.ndiblocks;
2765  ndroppedmicroblocks = sr.ndroppedmicroblocks;
2766  nemptymicroslice = sr.nemptymicroslice;
2767  nmicroblocks = sr.nmicroblocks;
2768  nmicroslicedatanotpresent = sr.nmicroslicedatanotpresent;
2769  nmicroslices = sr.nmicroslices;
2770  nmissingdcms = sr.nmissingdcms;
2771  nmissingdcmslg = sr.nmissingdcmslg;
2772  nnanoslices = sr.nnanoslices;
2773  nnoisyapds = sr.nnoisyapds;
2774  nouttimehits = sr.nouttimehits;
2775  posx = sr.posx;
2776  posy = sr.posy;
2777  run = sr.run;
2778  spillpot = sr.spillpot;
2779  spilltimensec = sr.spilltimensec;
2780  spilltimesec = sr.spilltimesec;
2781  subrun = sr.subrun;
2782  trigger = sr.trigger;
2783  widthx = sr.widthx;
2784  widthy = sr.widthy;
2785  return *this;
2786 }
2787 
2789 {
2790  bposx.CheckEquals(sr.bposx);
2791  bposy.CheckEquals(sr.bposy);
2792  cosmiccvn.CheckEquals(sr.cosmiccvn);
2793  dcmedgematchfrac.CheckEquals(sr.dcmedgematchfrac);
2794  deltaspilltimensec.CheckEquals(sr.deltaspilltimensec);
2795  det.CheckEquals(sr.det);
2796  dibfirst.CheckEquals(sr.dibfirst);
2797  diblast.CheckEquals(sr.diblast);
2798  dibmask.CheckEquals(sr.dibmask);
2799  emptydatablock.CheckEquals(sr.emptydatablock);
2800  eventincomplete.CheckEquals(sr.eventincomplete);
2801  evt.CheckEquals(sr.evt);
2802  fracdcm3hits.CheckEquals(sr.fracdcm3hits);
2803  gpsspilltimensec.CheckEquals(sr.gpsspilltimensec);
2804  gpsspilltimesec.CheckEquals(sr.gpsspilltimesec);
2805  hornI.CheckEquals(sr.hornI);
2806  intx.CheckEquals(sr.intx);
2807  inty.CheckEquals(sr.inty);
2808  is0HC.CheckEquals(sr.is0HC);
2809  isFHC.CheckEquals(sr.isFHC);
2810  isRHC.CheckEquals(sr.isRHC);
2811  isgoodspill.CheckEquals(sr.isgoodspill);
2812  ismc.CheckEquals(sr.ismc);
2813  livetime.CheckEquals(sr.livetime);
2814  maskstatus.CheckEquals(sr.maskstatus);
2815  nanosliceadcerror.CheckEquals(sr.nanosliceadcerror);
2816  nanoslicebufferempty.CheckEquals(sr.nanoslicebufferempty);
2817  nanoslicebufferfull.CheckEquals(sr.nanoslicebufferfull);
2818  nanoslicecommerror.CheckEquals(sr.nanoslicecommerror);
2819  nanoslicedatanotpresent.CheckEquals(sr.nanoslicedatanotpresent);
2820  nanoslicenolinkstatus.CheckEquals(sr.nanoslicenolinkstatus);
2821  nanosliceoverflowerror.CheckEquals(sr.nanosliceoverflowerror);
2822  nanoslicepacketerror.CheckEquals(sr.nanoslicepacketerror);
2823  nbaddcmslg.CheckEquals(sr.nbaddcmslg);
2824  ncosmiccvn.CheckEquals(sr.ncosmiccvn);
2825  ndatablockmissingdata.CheckEquals(sr.ndatablockmissingdata);
2826  ndcms.CheckEquals(sr.ndcms);
2827  ndiblocks.CheckEquals(sr.ndiblocks);
2828  ndroppedmicroblocks.CheckEquals(sr.ndroppedmicroblocks);
2829  nemptymicroslice.CheckEquals(sr.nemptymicroslice);
2830  nmicroblocks.CheckEquals(sr.nmicroblocks);
2831  nmicroslicedatanotpresent.CheckEquals(sr.nmicroslicedatanotpresent);
2832  nmicroslices.CheckEquals(sr.nmicroslices);
2833  nmissingdcms.CheckEquals(sr.nmissingdcms);
2834  nmissingdcmslg.CheckEquals(sr.nmissingdcmslg);
2835  nnanoslices.CheckEquals(sr.nnanoslices);
2836  nnoisyapds.CheckEquals(sr.nnoisyapds);
2837  nouttimehits.CheckEquals(sr.nouttimehits);
2838  posx.CheckEquals(sr.posx);
2839  posy.CheckEquals(sr.posy);
2840  run.CheckEquals(sr.run);
2841  spillpot.CheckEquals(sr.spillpot);
2842  spilltimensec.CheckEquals(sr.spilltimensec);
2843  spilltimesec.CheckEquals(sr.spilltimesec);
2844  subrun.CheckEquals(sr.subrun);
2845  trigger.CheckEquals(sr.trigger);
2846  widthx.CheckEquals(sr.widthx);
2847  widthy.CheckEquals(sr.widthy);
2848 }
2849 
2850 caf::Proxy<caf::SRCVNFeatures>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2851  components(d, tr, Join(name, "components"), base, offset),
2852  ncomponents(d, tr, Join(name, "ncomponents"), base, offset),
2853  noutput(d, tr, Join(name, "noutput"), base, offset),
2854  output(d, tr, Join(name, "output"), base, offset)
2855 {
2856 }
2857 
2859 {
2860  components = sr.components;
2861  ncomponents = sr.ncomponents;
2862  noutput = sr.noutput;
2863  output = sr.output;
2864  return *this;
2865 }
2866 
2868 {
2869  components.CheckEquals(sr.components);
2870  ncomponents.CheckEquals(sr.ncomponents);
2871  noutput.CheckEquals(sr.noutput);
2872  output.CheckEquals(sr.output);
2873 }
2874 
2875 caf::Proxy<caf::SRPixelObjMap>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2876  cvnlabmap(d, tr, Join(name, "cvnlabmap"), base, offset),
2877  cvnmap(d, tr, Join(name, "cvnmap"), base, offset),
2878  cvnobjmap(d, tr, Join(name, "cvnobjmap"), base, offset),
2879  firstcellx(d, tr, Join(name, "firstcellx"), base, offset),
2880  firstcelly(d, tr, Join(name, "firstcelly"), base, offset),
2881  firstplane(d, tr, Join(name, "firstplane"), base, offset),
2882  hitfracx(d, tr, Join(name, "hitfracx"), base, offset),
2883  hitfracy(d, tr, Join(name, "hitfracy"), base, offset),
2884  lastcellx(d, tr, Join(name, "lastcellx"), base, offset),
2885  lastcelly(d, tr, Join(name, "lastcelly"), base, offset),
2886  lastplane(d, tr, Join(name, "lastplane"), base, offset),
2887  ncells(d, tr, Join(name, "ncells"), base, offset),
2888  nchan(d, tr, Join(name, "nchan"), base, offset),
2889  nplanes(d, tr, Join(name, "nplanes"), base, offset)
2890 {
2891 }
2892 
2894 {
2895  cvnlabmap = sr.cvnlabmap;
2896  cvnmap = sr.cvnmap;
2897  cvnobjmap = sr.cvnobjmap;
2898  firstcellx = sr.firstcellx;
2899  firstcelly = sr.firstcelly;
2900  firstplane = sr.firstplane;
2901  hitfracx = sr.hitfracx;
2902  hitfracy = sr.hitfracy;
2903  lastcellx = sr.lastcellx;
2904  lastcelly = sr.lastcelly;
2905  lastplane = sr.lastplane;
2906  ncells = sr.ncells;
2907  nchan = sr.nchan;
2908  nplanes = sr.nplanes;
2909  return *this;
2910 }
2911 
2913 {
2914  cvnlabmap.CheckEquals(sr.cvnlabmap);
2915  cvnmap.CheckEquals(sr.cvnmap);
2916  cvnobjmap.CheckEquals(sr.cvnobjmap);
2917  firstcellx.CheckEquals(sr.firstcellx);
2918  firstcelly.CheckEquals(sr.firstcelly);
2919  firstplane.CheckEquals(sr.firstplane);
2920  hitfracx.CheckEquals(sr.hitfracx);
2921  hitfracy.CheckEquals(sr.hitfracy);
2922  lastcellx.CheckEquals(sr.lastcellx);
2923  lastcelly.CheckEquals(sr.lastcelly);
2924  lastplane.CheckEquals(sr.lastplane);
2925  ncells.CheckEquals(sr.ncells);
2926  nchan.CheckEquals(sr.nchan);
2927  nplanes.CheckEquals(sr.nplanes);
2928 }
2929 
2930 caf::Proxy<caf::SRSliceMap>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2931  slicemap(d, tr, Join(name, "slicemap"), base, offset)
2932 {
2933 }
2934 
2936 {
2937  slicemap = sr.slicemap;
2938  return *this;
2939 }
2940 
2942 {
2943  slicemap.CheckEquals(sr.slicemap);
2944 }
2945 
2946 caf::Proxy<caf::SRTrainingData>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2947  finalstate(d, tr, Join(name, "finalstate"), base, offset),
2948  finalstateprong(d, tr, Join(name, "finalstateprong"), base, offset),
2949  interaction(d, tr, Join(name, "interaction"), base, offset),
2950  lepenergy(d, tr, Join(name, "lepenergy"), base, offset),
2951  nuenergy(d, tr, Join(name, "nuenergy"), base, offset),
2952  parent(d, tr, Join(name, "parent"), base, offset),
2953  particles(d, tr, Join(name, "particles"), base, offset),
2954  vtxx(d, tr, Join(name, "vtxx"), base, offset),
2955  vtxy(d, tr, Join(name, "vtxy"), base, offset),
2956  vtxz(d, tr, Join(name, "vtxz"), base, offset)
2957 {
2958 }
2959 
2961 {
2962  finalstate = sr.finalstate;
2963  finalstateprong = sr.finalstateprong;
2964  interaction = sr.interaction;
2965  lepenergy = sr.lepenergy;
2966  nuenergy = sr.nuenergy;
2967  parent = sr.parent;
2968  particles = sr.particles;
2969  vtxx = sr.vtxx;
2970  vtxy = sr.vtxy;
2971  vtxz = sr.vtxz;
2972  return *this;
2973 }
2974 
2976 {
2977  finalstate.CheckEquals(sr.finalstate);
2978  finalstateprong.CheckEquals(sr.finalstateprong);
2979  interaction.CheckEquals(sr.interaction);
2980  lepenergy.CheckEquals(sr.lepenergy);
2981  nuenergy.CheckEquals(sr.nuenergy);
2982  parent.CheckEquals(sr.parent);
2983  particles.CheckEquals(sr.particles);
2984  vtxx.CheckEquals(sr.vtxx);
2985  vtxy.CheckEquals(sr.vtxy);
2986  vtxz.CheckEquals(sr.vtxz);
2987 }
2988 
2989 caf::Proxy<caf::SRTrainingBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
2990  cvnfeatures(d, tr, Join(name, "cvnfeatures"), base, offset),
2991  cvnmaps(d, tr, Join(name, "cvnmaps"), base, offset),
2992  cvnmapsfilled(d, tr, Join(name, "cvnmapsfilled"), base, offset),
2993  slicemaps(d, tr, Join(name, "slicemaps"), base, offset),
2994  trainingdata(d, tr, Join(name, "trainingdata"), base, offset)
2995 {
2996 }
2997 
2999 {
3000  cvnfeatures = sr.cvnfeatures;
3001  cvnmaps = sr.cvnmaps;
3002  cvnmapsfilled = sr.cvnmapsfilled;
3003  slicemaps = sr.slicemaps;
3004  trainingdata = sr.trainingdata;
3005  return *this;
3006 }
3007 
3009 {
3010  cvnfeatures.CheckEquals(sr.cvnfeatures);
3011  cvnmaps.CheckEquals(sr.cvnmaps);
3012  cvnmapsfilled.CheckEquals(sr.cvnmapsfilled);
3013  slicemaps.CheckEquals(sr.slicemaps);
3014  trainingdata.CheckEquals(sr.trainingdata);
3015 }
3016 
3017 caf::Proxy<caf::SRShower>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3018  calE(d, tr, Join(name, "calE"), base, offset),
3019  dir(d, tr, Join(name, "dir"), base, offset),
3020  gap(d, tr, Join(name, "gap"), base, offset),
3021  len(d, tr, Join(name, "len"), base, offset),
3022  maxplanecont(d, tr, Join(name, "maxplanecont"), base, offset),
3023  maxplanegap(d, tr, Join(name, "maxplanegap"), base, offset),
3024  nhit(d, tr, Join(name, "nhit"), base, offset),
3025  nhitx(d, tr, Join(name, "nhitx"), base, offset),
3026  nhity(d, tr, Join(name, "nhity"), base, offset),
3027  nplane(d, tr, Join(name, "nplane"), base, offset),
3028  nplanex(d, tr, Join(name, "nplanex"), base, offset),
3029  nplaney(d, tr, Join(name, "nplaney"), base, offset),
3030  start(d, tr, Join(name, "start"), base, offset),
3031  stop(d, tr, Join(name, "stop"), base, offset),
3032  truth(d, tr, Join(name, "truth"), base, offset),
3033  truthXView(d, tr, Join(name, "truthXView"), base, offset),
3034  truthYView(d, tr, Join(name, "truthYView"), base, offset),
3035  view(d, tr, Join(name, "view"), base, offset),
3036  width(d, tr, Join(name, "width"), base, offset)
3037 {
3038 }
3039 
3041 {
3042  calE = sr.calE;
3043  dir = sr.dir;
3044  gap = sr.gap;
3045  len = sr.len;
3046  maxplanecont = sr.maxplanecont;
3047  maxplanegap = sr.maxplanegap;
3048  nhit = sr.nhit;
3049  nhitx = sr.nhitx;
3050  nhity = sr.nhity;
3051  nplane = sr.nplane;
3052  nplanex = sr.nplanex;
3053  nplaney = sr.nplaney;
3054  start = sr.start;
3055  stop = sr.stop;
3056  truth = sr.truth;
3057  truthXView = sr.truthXView;
3058  truthYView = sr.truthYView;
3059  view = sr.view;
3060  width = sr.width;
3061  return *this;
3062 }
3063 
3065 {
3066  calE.CheckEquals(sr.calE);
3067  dir.CheckEquals(sr.dir);
3068  gap.CheckEquals(sr.gap);
3069  len.CheckEquals(sr.len);
3070  maxplanecont.CheckEquals(sr.maxplanecont);
3071  maxplanegap.CheckEquals(sr.maxplanegap);
3072  nhit.CheckEquals(sr.nhit);
3073  nhitx.CheckEquals(sr.nhitx);
3074  nhity.CheckEquals(sr.nhity);
3075  nplane.CheckEquals(sr.nplane);
3076  nplanex.CheckEquals(sr.nplanex);
3077  nplaney.CheckEquals(sr.nplaney);
3078  start.CheckEquals(sr.start);
3079  stop.CheckEquals(sr.stop);
3080  truth.CheckEquals(sr.truth);
3081  truthXView.CheckEquals(sr.truthXView);
3082  truthYView.CheckEquals(sr.truthYView);
3083  view.CheckEquals(sr.view);
3084  width.CheckEquals(sr.width);
3085 }
3086 
3087 caf::Proxy<caf::SRSLid>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3088  ann(d, tr, Join(name, "ann"), base, offset),
3089  anne(d, tr, Join(name, "anne"), base, offset),
3090  annecos(d, tr, Join(name, "annecos"), base, offset),
3091  annepi0(d, tr, Join(name, "annepi0"), base, offset),
3092  costheta(d, tr, Join(name, "costheta"), base, offset),
3093  dedx0(d, tr, Join(name, "dedx0"), base, offset),
3094  dedx1(d, tr, Join(name, "dedx1"), base, offset),
3095  dedx2(d, tr, Join(name, "dedx2"), base, offset),
3096  dedx3(d, tr, Join(name, "dedx3"), base, offset),
3097  dedx4(d, tr, Join(name, "dedx4"), base, offset),
3098  dedx5(d, tr, Join(name, "dedx5"), base, offset),
3099  dedxp0c0(d, tr, Join(name, "dedxp0c0"), base, offset),
3100  dedxp0c1(d, tr, Join(name, "dedxp0c1"), base, offset),
3101  dedxp1c0(d, tr, Join(name, "dedxp1c0"), base, offset),
3102  dedxp1c1(d, tr, Join(name, "dedxp1c1"), base, offset),
3103  dedxp2c0(d, tr, Join(name, "dedxp2c0"), base, offset),
3104  dedxp2c1(d, tr, Join(name, "dedxp2c1"), base, offset),
3105  dedxp3c0(d, tr, Join(name, "dedxp3c0"), base, offset),
3106  dedxp3c1(d, tr, Join(name, "dedxp3c1"), base, offset),
3107  dedxp4c0(d, tr, Join(name, "dedxp4c0"), base, offset),
3108  dedxp4c1(d, tr, Join(name, "dedxp4c1"), base, offset),
3109  dedxp5c0(d, tr, Join(name, "dedxp5c0"), base, offset),
3110  dedxp5c1(d, tr, Join(name, "dedxp5c1"), base, offset),
3111  eglll(d, tr, Join(name, "eglll"), base, offset),
3112  egllt(d, tr, Join(name, "egllt"), base, offset),
3113  elll(d, tr, Join(name, "elll"), base, offset),
3114  ellt(d, tr, Join(name, "ellt"), base, offset),
3115  emulll(d, tr, Join(name, "emulll"), base, offset),
3116  emullt(d, tr, Join(name, "emullt"), base, offset),
3117  enlll(d, tr, Join(name, "enlll"), base, offset),
3118  enllt(d, tr, Join(name, "enllt"), base, offset),
3119  epi0lll(d, tr, Join(name, "epi0lll"), base, offset),
3120  epi0llt(d, tr, Join(name, "epi0llt"), base, offset),
3121  epilll(d, tr, Join(name, "epilll"), base, offset),
3122  epillt(d, tr, Join(name, "epillt"), base, offset),
3123  eplll(d, tr, Join(name, "eplll"), base, offset),
3124  epllt(d, tr, Join(name, "epllt"), base, offset),
3125  gap(d, tr, Join(name, "gap"), base, offset),
3126  invglll(d, tr, Join(name, "invglll"), base, offset),
3127  ismuon(d, tr, Join(name, "ismuon"), base, offset),
3128  mulll(d, tr, Join(name, "mulll"), base, offset),
3129  mullt(d, tr, Join(name, "mullt"), base, offset),
3130  pi0mass(d, tr, Join(name, "pi0mass"), base, offset),
3131  shwEFrac(d, tr, Join(name, "shwEFrac"), base, offset),
3132  vtxgev(d, tr, Join(name, "vtxgev"), base, offset)
3133 {
3134 }
3135 
3137 {
3138  ann = sr.ann;
3139  anne = sr.anne;
3140  annecos = sr.annecos;
3141  annepi0 = sr.annepi0;
3142  costheta = sr.costheta;
3143  dedx0 = sr.dedx0;
3144  dedx1 = sr.dedx1;
3145  dedx2 = sr.dedx2;
3146  dedx3 = sr.dedx3;
3147  dedx4 = sr.dedx4;
3148  dedx5 = sr.dedx5;
3149  dedxp0c0 = sr.dedxp0c0;
3150  dedxp0c1 = sr.dedxp0c1;
3151  dedxp1c0 = sr.dedxp1c0;
3152  dedxp1c1 = sr.dedxp1c1;
3153  dedxp2c0 = sr.dedxp2c0;
3154  dedxp2c1 = sr.dedxp2c1;
3155  dedxp3c0 = sr.dedxp3c0;
3156  dedxp3c1 = sr.dedxp3c1;
3157  dedxp4c0 = sr.dedxp4c0;
3158  dedxp4c1 = sr.dedxp4c1;
3159  dedxp5c0 = sr.dedxp5c0;
3160  dedxp5c1 = sr.dedxp5c1;
3161  eglll = sr.eglll;
3162  egllt = sr.egllt;
3163  elll = sr.elll;
3164  ellt = sr.ellt;
3165  emulll = sr.emulll;
3166  emullt = sr.emullt;
3167  enlll = sr.enlll;
3168  enllt = sr.enllt;
3169  epi0lll = sr.epi0lll;
3170  epi0llt = sr.epi0llt;
3171  epilll = sr.epilll;
3172  epillt = sr.epillt;
3173  eplll = sr.eplll;
3174  epllt = sr.epllt;
3175  gap = sr.gap;
3176  invglll = sr.invglll;
3177  ismuon = sr.ismuon;
3178  mulll = sr.mulll;
3179  mullt = sr.mullt;
3180  pi0mass = sr.pi0mass;
3181  shwEFrac = sr.shwEFrac;
3182  vtxgev = sr.vtxgev;
3183  return *this;
3184 }
3185 
3187 {
3188  ann.CheckEquals(sr.ann);
3189  anne.CheckEquals(sr.anne);
3190  annecos.CheckEquals(sr.annecos);
3191  annepi0.CheckEquals(sr.annepi0);
3192  costheta.CheckEquals(sr.costheta);
3193  dedx0.CheckEquals(sr.dedx0);
3194  dedx1.CheckEquals(sr.dedx1);
3195  dedx2.CheckEquals(sr.dedx2);
3196  dedx3.CheckEquals(sr.dedx3);
3197  dedx4.CheckEquals(sr.dedx4);
3198  dedx5.CheckEquals(sr.dedx5);
3199  dedxp0c0.CheckEquals(sr.dedxp0c0);
3200  dedxp0c1.CheckEquals(sr.dedxp0c1);
3201  dedxp1c0.CheckEquals(sr.dedxp1c0);
3202  dedxp1c1.CheckEquals(sr.dedxp1c1);
3203  dedxp2c0.CheckEquals(sr.dedxp2c0);
3204  dedxp2c1.CheckEquals(sr.dedxp2c1);
3205  dedxp3c0.CheckEquals(sr.dedxp3c0);
3206  dedxp3c1.CheckEquals(sr.dedxp3c1);
3207  dedxp4c0.CheckEquals(sr.dedxp4c0);
3208  dedxp4c1.CheckEquals(sr.dedxp4c1);
3209  dedxp5c0.CheckEquals(sr.dedxp5c0);
3210  dedxp5c1.CheckEquals(sr.dedxp5c1);
3211  eglll.CheckEquals(sr.eglll);
3212  egllt.CheckEquals(sr.egllt);
3213  elll.CheckEquals(sr.elll);
3214  ellt.CheckEquals(sr.ellt);
3215  emulll.CheckEquals(sr.emulll);
3216  emullt.CheckEquals(sr.emullt);
3217  enlll.CheckEquals(sr.enlll);
3218  enllt.CheckEquals(sr.enllt);
3219  epi0lll.CheckEquals(sr.epi0lll);
3220  epi0llt.CheckEquals(sr.epi0llt);
3221  epilll.CheckEquals(sr.epilll);
3222  epillt.CheckEquals(sr.epillt);
3223  eplll.CheckEquals(sr.eplll);
3224  epllt.CheckEquals(sr.epllt);
3225  gap.CheckEquals(sr.gap);
3226  invglll.CheckEquals(sr.invglll);
3227  ismuon.CheckEquals(sr.ismuon);
3228  mulll.CheckEquals(sr.mulll);
3229  mullt.CheckEquals(sr.mullt);
3230  pi0mass.CheckEquals(sr.pi0mass);
3231  shwEFrac.CheckEquals(sr.shwEFrac);
3232  vtxgev.CheckEquals(sr.vtxgev);
3233 }
3234 
3235 caf::Proxy<caf::SRShowerLID>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3236  caf::Proxy<caf::SRShower>(d, tr, name, base, offset),
3237  lid(d, tr, Join(name, "lid"), base, offset),
3238  lidE(d, tr, Join(name, "lidE"), base, offset),
3239  shwE(d, tr, Join(name, "shwE"), base, offset),
3240  vtxE(d, tr, Join(name, "vtxE"), base, offset)
3241 {
3242 }
3243 
3245 {
3247  lid = sr.lid;
3248  lidE = sr.lidE;
3249  shwE = sr.shwE;
3250  vtxE = sr.vtxE;
3251  return *this;
3252 }
3253 
3255 {
3257  lid.CheckEquals(sr.lid);
3258  lidE.CheckEquals(sr.lidE);
3259  shwE.CheckEquals(sr.shwE);
3260  vtxE.CheckEquals(sr.vtxE);
3261 }
3262 
3263 caf::Proxy<caf::SRMRProperties>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3264  calE(d, tr, Join(name, "calE"), base, offset),
3265  cvnloosepreselptp(d, tr, Join(name, "cvnloosepreselptp"), base, offset),
3266  cvnnocosmics(d, tr, Join(name, "cvnnocosmics"), base, offset),
3267  cvnoldpresel(d, tr, Join(name, "cvnoldpresel"), base, offset),
3268  gap(d, tr, Join(name, "gap"), base, offset),
3269  isDiF(d, tr, Join(name, "isDiF"), base, offset),
3270  isShwDiF(d, tr, Join(name, "isShwDiF"), base, offset),
3271  lid(d, tr, Join(name, "lid"), base, offset),
3272  maxplane(d, tr, Join(name, "maxplane"), base, offset),
3273  maxplanecont(d, tr, Join(name, "maxplanecont"), base, offset),
3274  maxplanegap(d, tr, Join(name, "maxplanegap"), base, offset),
3275  minplane(d, tr, Join(name, "minplane"), base, offset),
3276  nhit(d, tr, Join(name, "nhit"), base, offset),
3277  nhitx(d, tr, Join(name, "nhitx"), base, offset),
3278  nhity(d, tr, Join(name, "nhity"), base, offset),
3279  nplane(d, tr, Join(name, "nplane"), base, offset),
3280  nplanex(d, tr, Join(name, "nplanex"), base, offset),
3281  nplaney(d, tr, Join(name, "nplaney"), base, offset),
3282  truth(d, tr, Join(name, "truth"), base, offset),
3283  truthXView(d, tr, Join(name, "truthXView"), base, offset),
3284  truthYView(d, tr, Join(name, "truthYView"), base, offset),
3285  view(d, tr, Join(name, "view"), base, offset)
3286 {
3287 }
3288 
3290 {
3291  calE = sr.calE;
3292  cvnloosepreselptp = sr.cvnloosepreselptp;
3293  cvnnocosmics = sr.cvnnocosmics;
3294  cvnoldpresel = sr.cvnoldpresel;
3295  gap = sr.gap;
3296  isDiF = sr.isDiF;
3297  isShwDiF = sr.isShwDiF;
3298  lid = sr.lid;
3299  maxplane = sr.maxplane;
3300  maxplanecont = sr.maxplanecont;
3301  maxplanegap = sr.maxplanegap;
3302  minplane = sr.minplane;
3303  nhit = sr.nhit;
3304  nhitx = sr.nhitx;
3305  nhity = sr.nhity;
3306  nplane = sr.nplane;
3307  nplanex = sr.nplanex;
3308  nplaney = sr.nplaney;
3309  truth = sr.truth;
3310  truthXView = sr.truthXView;
3311  truthYView = sr.truthYView;
3312  view = sr.view;
3313  return *this;
3314 }
3315 
3317 {
3318  calE.CheckEquals(sr.calE);
3319  cvnloosepreselptp.CheckEquals(sr.cvnloosepreselptp);
3320  cvnnocosmics.CheckEquals(sr.cvnnocosmics);
3321  cvnoldpresel.CheckEquals(sr.cvnoldpresel);
3322  gap.CheckEquals(sr.gap);
3323  isDiF.CheckEquals(sr.isDiF);
3324  isShwDiF.CheckEquals(sr.isShwDiF);
3325  lid.CheckEquals(sr.lid);
3326  maxplane.CheckEquals(sr.maxplane);
3327  maxplanecont.CheckEquals(sr.maxplanecont);
3328  maxplanegap.CheckEquals(sr.maxplanegap);
3329  minplane.CheckEquals(sr.minplane);
3330  nhit.CheckEquals(sr.nhit);
3331  nhitx.CheckEquals(sr.nhitx);
3332  nhity.CheckEquals(sr.nhity);
3333  nplane.CheckEquals(sr.nplane);
3334  nplanex.CheckEquals(sr.nplanex);
3335  nplaney.CheckEquals(sr.nplaney);
3336  truth.CheckEquals(sr.truth);
3337  truthXView.CheckEquals(sr.truthXView);
3338  truthYView.CheckEquals(sr.truthYView);
3339  view.CheckEquals(sr.view);
3340 }
3341 
3342 caf::Proxy<caf::SRTrack>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3343  avedEdxlast10cm(d, tr, Join(name, "avedEdxlast10cm"), base, offset),
3344  avedEdxlast20cm(d, tr, Join(name, "avedEdxlast20cm"), base, offset),
3345  avedEdxlast30cm(d, tr, Join(name, "avedEdxlast30cm"), base, offset),
3346  avedEdxlast40cm(d, tr, Join(name, "avedEdxlast40cm"), base, offset),
3347  calE(d, tr, Join(name, "calE"), base, offset),
3348  dir(d, tr, Join(name, "dir"), base, offset),
3349  enddist(d, tr, Join(name, "enddist"), base, offset),
3350  len(d, tr, Join(name, "len"), base, offset),
3351  lenE(d, tr, Join(name, "lenE"), base, offset),
3352  leninact(d, tr, Join(name, "leninact"), base, offset),
3353  lenincat(d, tr, Join(name, "lenincat"), base, offset),
3354  maxplanecont(d, tr, Join(name, "maxplanecont"), base, offset),
3355  maxplanegap(d, tr, Join(name, "maxplanegap"), base, offset),
3356  maxtime(d, tr, Join(name, "maxtime"), base, offset),
3357  me(d, tr, Join(name, "me"), base, offset),
3358  meantime(d, tr, Join(name, "meantime"), base, offset),
3359  meantimeRes(d, tr, Join(name, "meantimeRes"), base, offset),
3360  mintime(d, tr, Join(name, "mintime"), base, offset),
3361  mrbrem(d, tr, Join(name, "mrbrem"), base, offset),
3362  mrdif(d, tr, Join(name, "mrdif"), base, offset),
3363  nhit(d, tr, Join(name, "nhit"), base, offset),
3364  nhitx(d, tr, Join(name, "nhitx"), base, offset),
3365  nhity(d, tr, Join(name, "nhity"), base, offset),
3366  nplane(d, tr, Join(name, "nplane"), base, offset),
3367  nplanegap(d, tr, Join(name, "nplanegap"), base, offset),
3368  overlapE(d, tr, Join(name, "overlapE"), base, offset),
3369  pngmaxx(d, tr, Join(name, "pngmaxx"), base, offset),
3370  pngmaxy(d, tr, Join(name, "pngmaxy"), base, offset),
3371  pngminx(d, tr, Join(name, "pngminx"), base, offset),
3372  pngminy(d, tr, Join(name, "pngminy"), base, offset),
3373  start(d, tr, Join(name, "start"), base, offset),
3374  stop(d, tr, Join(name, "stop"), base, offset),
3375  stopdir(d, tr, Join(name, "stopdir"), base, offset),
3376  trkbakair(d, tr, Join(name, "trkbakair"), base, offset),
3377  trkbakcell(d, tr, Join(name, "trkbakcell"), base, offset),
3378  trkbakcellnd(d, tr, Join(name, "trkbakcellnd"), base, offset),
3379  trkbakdist(d, tr, Join(name, "trkbakdist"), base, offset),
3380  trkbaksteel(d, tr, Join(name, "trkbaksteel"), base, offset),
3381  trkfwdair(d, tr, Join(name, "trkfwdair"), base, offset),
3382  trkfwdcell(d, tr, Join(name, "trkfwdcell"), base, offset),
3383  trkfwdcellnd(d, tr, Join(name, "trkfwdcellnd"), base, offset),
3384  trkfwddist(d, tr, Join(name, "trkfwddist"), base, offset),
3385  trkfwdsteel(d, tr, Join(name, "trkfwdsteel"), base, offset),
3386  trkyposattrans(d, tr, Join(name, "trkyposattrans"), base, offset),
3387  truth(d, tr, Join(name, "truth"), base, offset),
3388  truthXView(d, tr, Join(name, "truthXView"), base, offset),
3389  truthYView(d, tr, Join(name, "truthYView"), base, offset),
3390  view(d, tr, Join(name, "view"), base, offset),
3391  vtxdist(d, tr, Join(name, "vtxdist"), base, offset)
3392 {
3393 }
3394 
3396 {
3397  avedEdxlast10cm = sr.avedEdxlast10cm;
3398  avedEdxlast20cm = sr.avedEdxlast20cm;
3399  avedEdxlast30cm = sr.avedEdxlast30cm;
3400  avedEdxlast40cm = sr.avedEdxlast40cm;
3401  calE = sr.calE;
3402  dir = sr.dir;
3403  enddist = sr.enddist;
3404  len = sr.len;
3405  lenE = sr.lenE;
3406  leninact = sr.leninact;
3407  lenincat = sr.lenincat;
3408  maxplanecont = sr.maxplanecont;
3409  maxplanegap = sr.maxplanegap;
3410  maxtime = sr.maxtime;
3411  me = sr.me;
3412  meantime = sr.meantime;
3413  meantimeRes = sr.meantimeRes;
3414  mintime = sr.mintime;
3415  mrbrem = sr.mrbrem;
3416  mrdif = sr.mrdif;
3417  nhit = sr.nhit;
3418  nhitx = sr.nhitx;
3419  nhity = sr.nhity;
3420  nplane = sr.nplane;
3421  nplanegap = sr.nplanegap;
3422  overlapE = sr.overlapE;
3423  pngmaxx = sr.pngmaxx;
3424  pngmaxy = sr.pngmaxy;
3425  pngminx = sr.pngminx;
3426  pngminy = sr.pngminy;
3427  start = sr.start;
3428  stop = sr.stop;
3429  stopdir = sr.stopdir;
3430  trkbakair = sr.trkbakair;
3431  trkbakcell = sr.trkbakcell;
3432  trkbakcellnd = sr.trkbakcellnd;
3433  trkbakdist = sr.trkbakdist;
3434  trkbaksteel = sr.trkbaksteel;
3435  trkfwdair = sr.trkfwdair;
3436  trkfwdcell = sr.trkfwdcell;
3437  trkfwdcellnd = sr.trkfwdcellnd;
3438  trkfwddist = sr.trkfwddist;
3439  trkfwdsteel = sr.trkfwdsteel;
3440  trkyposattrans = sr.trkyposattrans;
3441  truth = sr.truth;
3442  truthXView = sr.truthXView;
3443  truthYView = sr.truthYView;
3444  view = sr.view;
3445  vtxdist = sr.vtxdist;
3446  return *this;
3447 }
3448 
3450 {
3451  avedEdxlast10cm.CheckEquals(sr.avedEdxlast10cm);
3452  avedEdxlast20cm.CheckEquals(sr.avedEdxlast20cm);
3453  avedEdxlast30cm.CheckEquals(sr.avedEdxlast30cm);
3454  avedEdxlast40cm.CheckEquals(sr.avedEdxlast40cm);
3455  calE.CheckEquals(sr.calE);
3456  dir.CheckEquals(sr.dir);
3457  enddist.CheckEquals(sr.enddist);
3458  len.CheckEquals(sr.len);
3459  lenE.CheckEquals(sr.lenE);
3460  leninact.CheckEquals(sr.leninact);
3461  lenincat.CheckEquals(sr.lenincat);
3462  maxplanecont.CheckEquals(sr.maxplanecont);
3463  maxplanegap.CheckEquals(sr.maxplanegap);
3464  maxtime.CheckEquals(sr.maxtime);
3465  me.CheckEquals(sr.me);
3466  meantime.CheckEquals(sr.meantime);
3467  meantimeRes.CheckEquals(sr.meantimeRes);
3468  mintime.CheckEquals(sr.mintime);
3469  mrbrem.CheckEquals(sr.mrbrem);
3470  mrdif.CheckEquals(sr.mrdif);
3471  nhit.CheckEquals(sr.nhit);
3472  nhitx.CheckEquals(sr.nhitx);
3473  nhity.CheckEquals(sr.nhity);
3474  nplane.CheckEquals(sr.nplane);
3475  nplanegap.CheckEquals(sr.nplanegap);
3476  overlapE.CheckEquals(sr.overlapE);
3477  pngmaxx.CheckEquals(sr.pngmaxx);
3478  pngmaxy.CheckEquals(sr.pngmaxy);
3479  pngminx.CheckEquals(sr.pngminx);
3480  pngminy.CheckEquals(sr.pngminy);
3481  start.CheckEquals(sr.start);
3482  stop.CheckEquals(sr.stop);
3483  stopdir.CheckEquals(sr.stopdir);
3484  trkbakair.CheckEquals(sr.trkbakair);
3485  trkbakcell.CheckEquals(sr.trkbakcell);
3486  trkbakcellnd.CheckEquals(sr.trkbakcellnd);
3487  trkbakdist.CheckEquals(sr.trkbakdist);
3488  trkbaksteel.CheckEquals(sr.trkbaksteel);
3489  trkfwdair.CheckEquals(sr.trkfwdair);
3490  trkfwdcell.CheckEquals(sr.trkfwdcell);
3491  trkfwdcellnd.CheckEquals(sr.trkfwdcellnd);
3492  trkfwddist.CheckEquals(sr.trkfwddist);
3493  trkfwdsteel.CheckEquals(sr.trkfwdsteel);
3494  trkyposattrans.CheckEquals(sr.trkyposattrans);
3495  truth.CheckEquals(sr.truth);
3496  truthXView.CheckEquals(sr.truthXView);
3497  truthYView.CheckEquals(sr.truthYView);
3498  view.CheckEquals(sr.view);
3499  vtxdist.CheckEquals(sr.vtxdist);
3500 }
3501 
3502 caf::Proxy<caf::SRTrackBase>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3503  ntracks(d, tr, Join(name, "ntracks"), base, offset),
3504  tracks(d, tr, Join(name, "tracks"), base, offset)
3505 {
3506 }
3507 
3509 {
3510  ntracks = sr.ntracks;
3511  tracks = sr.tracks;
3512  return *this;
3513 }
3514 
3516 {
3517  ntracks.CheckEquals(sr.ntracks);
3518  tracks.CheckEquals(sr.tracks);
3519 }
3520 
3521 caf::Proxy<caf::SRKalmanTrack>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3522  caf::Proxy<caf::SRTrack>(d, tr, name, base, offset),
3523  activity15(d, tr, Join(name, "activity15"), base, offset),
3524  activity30(d, tr, Join(name, "activity30"), base, offset),
3525  activity45(d, tr, Join(name, "activity45"), base, offset),
3526  dedx15(d, tr, Join(name, "dedx15"), base, offset),
3527  dedx30(d, tr, Join(name, "dedx30"), base, offset),
3528  dedxllh(d, tr, Join(name, "dedxllh"), base, offset),
3529  measfrac(d, tr, Join(name, "measfrac"), base, offset),
3530  muonid(d, tr, Join(name, "muonid"), base, offset),
3531  mvapiE(d, tr, Join(name, "mvapiE"), base, offset),
3532  prox15(d, tr, Join(name, "prox15"), base, offset),
3533  prox30(d, tr, Join(name, "prox30"), base, offset),
3534  remavededx(d, tr, Join(name, "remavededx"), base, offset),
3535  remcont(d, tr, Join(name, "remcont"), base, offset),
3536  rempid(d, tr, Join(name, "rempid"), base, offset),
3537  scatllh(d, tr, Join(name, "scatllh"), base, offset),
3538  scatt15(d, tr, Join(name, "scatt15"), base, offset),
3539  scatt30(d, tr, Join(name, "scatt30"), base, offset)
3540 {
3541 }
3542 
3544 {
3546  activity15 = sr.activity15;
3547  activity30 = sr.activity30;
3548  activity45 = sr.activity45;
3549  dedx15 = sr.dedx15;
3550  dedx30 = sr.dedx30;
3551  dedxllh = sr.dedxllh;
3552  measfrac = sr.measfrac;
3553  muonid = sr.muonid;
3554  mvapiE = sr.mvapiE;
3555  prox15 = sr.prox15;
3556  prox30 = sr.prox30;
3557  remavededx = sr.remavededx;
3558  remcont = sr.remcont;
3559  rempid = sr.rempid;
3560  scatllh = sr.scatllh;
3561  scatt15 = sr.scatt15;
3562  scatt30 = sr.scatt30;
3563  return *this;
3564 }
3565 
3567 {
3569  activity15.CheckEquals(sr.activity15);
3570  activity30.CheckEquals(sr.activity30);
3571  activity45.CheckEquals(sr.activity45);
3572  dedx15.CheckEquals(sr.dedx15);
3573  dedx30.CheckEquals(sr.dedx30);
3574  dedxllh.CheckEquals(sr.dedxllh);
3575  measfrac.CheckEquals(sr.measfrac);
3576  muonid.CheckEquals(sr.muonid);
3577  mvapiE.CheckEquals(sr.mvapiE);
3578  prox15.CheckEquals(sr.prox15);
3579  prox30.CheckEquals(sr.prox30);
3580  remavededx.CheckEquals(sr.remavededx);
3581  remcont.CheckEquals(sr.remcont);
3582  rempid.CheckEquals(sr.rempid);
3583  scatllh.CheckEquals(sr.scatllh);
3584  scatt15.CheckEquals(sr.scatt15);
3585  scatt30.CheckEquals(sr.scatt30);
3586 }
3587 
3588 caf::Proxy<caf::SRKalman>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3589  idxlongest(d, tr, Join(name, "idxlongest"), base, offset),
3590  idxmuonid(d, tr, Join(name, "idxmuonid"), base, offset),
3591  idxremid(d, tr, Join(name, "idxremid"), base, offset),
3592  ntracks(d, tr, Join(name, "ntracks"), base, offset),
3593  ntracks2d(d, tr, Join(name, "ntracks2d"), base, offset),
3594  tracks(d, tr, Join(name, "tracks"), base, offset),
3595  tracks2d(d, tr, Join(name, "tracks2d"), base, offset)
3596 {
3597 }
3598 
3600 {
3601  idxlongest = sr.idxlongest;
3602  idxmuonid = sr.idxmuonid;
3603  idxremid = sr.idxremid;
3604  ntracks = sr.ntracks;
3605  ntracks2d = sr.ntracks2d;
3606  tracks = sr.tracks;
3607  tracks2d = sr.tracks2d;
3608  return *this;
3609 }
3610 
3612 {
3613  idxlongest.CheckEquals(sr.idxlongest);
3614  idxmuonid.CheckEquals(sr.idxmuonid);
3615  idxremid.CheckEquals(sr.idxremid);
3616  ntracks.CheckEquals(sr.ntracks);
3617  ntracks2d.CheckEquals(sr.ntracks2d);
3618  tracks.CheckEquals(sr.tracks);
3619  tracks2d.CheckEquals(sr.tracks2d);
3620 }
3621 
3622 caf::Proxy<caf::SRTrackBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3623  cosmic(d, tr, Join(name, "cosmic"), base, offset),
3624  discrete(d, tr, Join(name, "discrete"), base, offset),
3625  kalman(d, tr, Join(name, "kalman"), base, offset),
3626  window(d, tr, Join(name, "window"), base, offset)
3627 {
3628 }
3629 
3631 {
3632  cosmic = sr.cosmic;
3633  discrete = sr.discrete;
3634  kalman = sr.kalman;
3635  window = sr.window;
3636  return *this;
3637 }
3638 
3640 {
3641  cosmic.CheckEquals(sr.cosmic);
3642  discrete.CheckEquals(sr.discrete);
3643  kalman.CheckEquals(sr.kalman);
3644  window.CheckEquals(sr.window);
3645 }
3646 
3647 caf::Proxy<caf::SRPixelMap>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3648  cvnmap(d, tr, Join(name, "cvnmap"), base, offset),
3649  firstcellx(d, tr, Join(name, "firstcellx"), base, offset),
3650  firstcelly(d, tr, Join(name, "firstcelly"), base, offset),
3651  firstplane(d, tr, Join(name, "firstplane"), base, offset),
3652  hitfracx(d, tr, Join(name, "hitfracx"), base, offset),
3653  hitfracy(d, tr, Join(name, "hitfracy"), base, offset),
3654  lastcellx(d, tr, Join(name, "lastcellx"), base, offset),
3655  lastcelly(d, tr, Join(name, "lastcelly"), base, offset),
3656  lastplane(d, tr, Join(name, "lastplane"), base, offset),
3657  ncells(d, tr, Join(name, "ncells"), base, offset),
3658  nchan(d, tr, Join(name, "nchan"), base, offset),
3659  nplanes(d, tr, Join(name, "nplanes"), base, offset)
3660 {
3661 }
3662 
3664 {
3665  cvnmap = sr.cvnmap;
3666  firstcellx = sr.firstcellx;
3667  firstcelly = sr.firstcelly;
3668  firstplane = sr.firstplane;
3669  hitfracx = sr.hitfracx;
3670  hitfracy = sr.hitfracy;
3671  lastcellx = sr.lastcellx;
3672  lastcelly = sr.lastcelly;
3673  lastplane = sr.lastplane;
3674  ncells = sr.ncells;
3675  nchan = sr.nchan;
3676  nplanes = sr.nplanes;
3677  return *this;
3678 }
3679 
3681 {
3682  cvnmap.CheckEquals(sr.cvnmap);
3683  firstcellx.CheckEquals(sr.firstcellx);
3684  firstcelly.CheckEquals(sr.firstcelly);
3685  firstplane.CheckEquals(sr.firstplane);
3686  hitfracx.CheckEquals(sr.hitfracx);
3687  hitfracy.CheckEquals(sr.hitfracy);
3688  lastcellx.CheckEquals(sr.lastcellx);
3689  lastcelly.CheckEquals(sr.lastcelly);
3690  lastplane.CheckEquals(sr.lastplane);
3691  ncells.CheckEquals(sr.ncells);
3692  nchan.CheckEquals(sr.nchan);
3693  nplanes.CheckEquals(sr.nplanes);
3694 }
3695 
3696 caf::Proxy<caf::SRCVNNeutronDaughterResult>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3697  otherid(d, tr, Join(name, "otherid"), base, offset),
3698  photonid(d, tr, Join(name, "photonid"), base, offset),
3699  protonid(d, tr, Join(name, "protonid"), base, offset)
3700 {
3701 }
3702 
3704 {
3705  otherid = sr.otherid;
3706  photonid = sr.photonid;
3707  protonid = sr.protonid;
3708  return *this;
3709 }
3710 
3712 {
3713  otherid.CheckEquals(sr.otherid);
3714  photonid.CheckEquals(sr.photonid);
3715  protonid.CheckEquals(sr.protonid);
3716 }
3717 
3718 caf::Proxy<caf::SRCVNParticleResult>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3719  electronid(d, tr, Join(name, "electronid"), base, offset),
3720  emid(d, tr, Join(name, "emid"), base, offset),
3721  hadronid(d, tr, Join(name, "hadronid"), base, offset),
3722  maxval(d, tr, Join(name, "maxval"), base, offset),
3723  muonid(d, tr, Join(name, "muonid"), base, offset),
3724  neutronid(d, tr, Join(name, "neutronid"), base, offset),
3725  otherid(d, tr, Join(name, "otherid"), base, offset),
3726  pdgmax(d, tr, Join(name, "pdgmax"), base, offset),
3727  photonid(d, tr, Join(name, "photonid"), base, offset),
3728  pionid(d, tr, Join(name, "pionid"), base, offset),
3729  pizeroid(d, tr, Join(name, "pizeroid"), base, offset),
3730  protonid(d, tr, Join(name, "protonid"), base, offset)
3731 {
3732 }
3733 
3735 {
3736  electronid = sr.electronid;
3737  emid = sr.emid;
3738  hadronid = sr.hadronid;
3739  maxval = sr.maxval;
3740  muonid = sr.muonid;
3741  neutronid = sr.neutronid;
3742  otherid = sr.otherid;
3743  pdgmax = sr.pdgmax;
3744  photonid = sr.photonid;
3745  pionid = sr.pionid;
3746  pizeroid = sr.pizeroid;
3747  protonid = sr.protonid;
3748  return *this;
3749 }
3750 
3752 {
3753  electronid.CheckEquals(sr.electronid);
3754  emid.CheckEquals(sr.emid);
3755  hadronid.CheckEquals(sr.hadronid);
3756  maxval.CheckEquals(sr.maxval);
3757  muonid.CheckEquals(sr.muonid);
3758  neutronid.CheckEquals(sr.neutronid);
3759  otherid.CheckEquals(sr.otherid);
3760  pdgmax.CheckEquals(sr.pdgmax);
3761  photonid.CheckEquals(sr.photonid);
3762  pionid.CheckEquals(sr.pionid);
3763  pizeroid.CheckEquals(sr.pizeroid);
3764  protonid.CheckEquals(sr.protonid);
3765 }
3766 
3767 caf::Proxy<caf::SRProngTrainingData>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3768  isprimary(d, tr, Join(name, "isprimary"), base, offset),
3769  label3d(d, tr, Join(name, "label3d"), base, offset),
3770  labelx(d, tr, Join(name, "labelx"), base, offset),
3771  labely(d, tr, Join(name, "labely"), base, offset),
3772  ncellx(d, tr, Join(name, "ncellx"), base, offset),
3773  ncelly(d, tr, Join(name, "ncelly"), base, offset),
3774  pangle(d, tr, Join(name, "pangle"), base, offset),
3775  pgap(d, tr, Join(name, "pgap"), base, offset),
3776  plength(d, tr, Join(name, "plength"), base, offset),
3777  purity3d(d, tr, Join(name, "purity3d"), base, offset),
3778  purityx(d, tr, Join(name, "purityx"), base, offset),
3779  purityy(d, tr, Join(name, "purityy"), base, offset),
3780  rece(d, tr, Join(name, "rece"), base, offset),
3781  vertx(d, tr, Join(name, "vertx"), base, offset),
3782  verty(d, tr, Join(name, "verty"), base, offset),
3783  vertz(d, tr, Join(name, "vertz"), base, offset)
3784 {
3785 }
3786 
3788 {
3789  isprimary = sr.isprimary;
3790  label3d = sr.label3d;
3791  labelx = sr.labelx;
3792  labely = sr.labely;
3793  ncellx = sr.ncellx;
3794  ncelly = sr.ncelly;
3795  pangle = sr.pangle;
3796  pgap = sr.pgap;
3797  plength = sr.plength;
3798  purity3d = sr.purity3d;
3799  purityx = sr.purityx;
3800  purityy = sr.purityy;
3801  rece = sr.rece;
3802  vertx = sr.vertx;
3803  verty = sr.verty;
3804  vertz = sr.vertz;
3805  return *this;
3806 }
3807 
3809 {
3810  isprimary.CheckEquals(sr.isprimary);
3811  label3d.CheckEquals(sr.label3d);
3812  labelx.CheckEquals(sr.labelx);
3813  labely.CheckEquals(sr.labely);
3814  ncellx.CheckEquals(sr.ncellx);
3815  ncelly.CheckEquals(sr.ncelly);
3816  pangle.CheckEquals(sr.pangle);
3817  pgap.CheckEquals(sr.pgap);
3818  plength.CheckEquals(sr.plength);
3819  purity3d.CheckEquals(sr.purity3d);
3820  purityx.CheckEquals(sr.purityx);
3821  purityy.CheckEquals(sr.purityy);
3822  rece.CheckEquals(sr.rece);
3823  vertx.CheckEquals(sr.vertx);
3824  verty.CheckEquals(sr.verty);
3825  vertz.CheckEquals(sr.vertz);
3826 }
3827 
3828 caf::Proxy<caf::SRProng>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3829  calE(d, tr, Join(name, "calE"), base, offset),
3830  cvnmaps(d, tr, Join(name, "cvnmaps"), base, offset),
3831  cvnneutron(d, tr, Join(name, "cvnneutron"), base, offset),
3832  cvnpart(d, tr, Join(name, "cvnpart"), base, offset),
3833  cvnpart_opphorn(d, tr, Join(name, "cvnpart_opphorn"), base, offset),
3834  dir(d, tr, Join(name, "dir"), base, offset),
3835  len(d, tr, Join(name, "len"), base, offset),
3836  maxplanecont(d, tr, Join(name, "maxplanecont"), base, offset),
3837  maxplanegap(d, tr, Join(name, "maxplanegap"), base, offset),
3838  maxtime(d, tr, Join(name, "maxtime"), base, offset),
3839  meantime(d, tr, Join(name, "meantime"), base, offset),
3840  meantimeRes(d, tr, Join(name, "meantimeRes"), base, offset),
3841  mintime(d, tr, Join(name, "mintime"), base, offset),
3842  nhit(d, tr, Join(name, "nhit"), base, offset),
3843  nhitx(d, tr, Join(name, "nhitx"), base, offset),
3844  nhity(d, tr, Join(name, "nhity"), base, offset),
3845  nplane(d, tr, Join(name, "nplane"), base, offset),
3846  pngmaxx(d, tr, Join(name, "pngmaxx"), base, offset),
3847  pngmaxy(d, tr, Join(name, "pngmaxy"), base, offset),
3848  pngminx(d, tr, Join(name, "pngminx"), base, offset),
3849  pngminy(d, tr, Join(name, "pngminy"), base, offset),
3850  prongtrainingdata(d, tr, Join(name, "prongtrainingdata"), base, offset),
3851  spprongcvnpart5label(d, tr, Join(name, "spprongcvnpart5label"), base, offset),
3852  spprongcvnpartnumuccemid(d, tr, Join(name, "spprongcvnpartnumuccemid"), base, offset),
3853  start(d, tr, Join(name, "start"), base, offset),
3854  truth(d, tr, Join(name, "truth"), base, offset),
3855  truthXView(d, tr, Join(name, "truthXView"), base, offset),
3856  truthYView(d, tr, Join(name, "truthYView"), base, offset),
3857  view(d, tr, Join(name, "view"), base, offset),
3858  weightedCalE(d, tr, Join(name, "weightedCalE"), base, offset)
3859 {
3860 }
3861 
3863 {
3864  calE = sr.calE;
3865  cvnmaps = sr.cvnmaps;
3866  cvnneutron = sr.cvnneutron;
3867  cvnpart = sr.cvnpart;
3868  cvnpart_opphorn = sr.cvnpart_opphorn;
3869  dir = sr.dir;
3870  len = sr.len;
3871  maxplanecont = sr.maxplanecont;
3872  maxplanegap = sr.maxplanegap;
3873  maxtime = sr.maxtime;
3874  meantime = sr.meantime;
3875  meantimeRes = sr.meantimeRes;
3876  mintime = sr.mintime;
3877  nhit = sr.nhit;
3878  nhitx = sr.nhitx;
3879  nhity = sr.nhity;
3880  nplane = sr.nplane;
3881  pngmaxx = sr.pngmaxx;
3882  pngmaxy = sr.pngmaxy;
3883  pngminx = sr.pngminx;
3884  pngminy = sr.pngminy;
3885  prongtrainingdata = sr.prongtrainingdata;
3886  spprongcvnpart5label = sr.spprongcvnpart5label;
3887  spprongcvnpartnumuccemid = sr.spprongcvnpartnumuccemid;
3888  start = sr.start;
3889  truth = sr.truth;
3890  truthXView = sr.truthXView;
3891  truthYView = sr.truthYView;
3892  view = sr.view;
3893  weightedCalE = sr.weightedCalE;
3894  return *this;
3895 }
3896 
3898 {
3899  calE.CheckEquals(sr.calE);
3900  cvnmaps.CheckEquals(sr.cvnmaps);
3901  cvnneutron.CheckEquals(sr.cvnneutron);
3902  cvnpart.CheckEquals(sr.cvnpart);
3903  cvnpart_opphorn.CheckEquals(sr.cvnpart_opphorn);
3904  dir.CheckEquals(sr.dir);
3905  len.CheckEquals(sr.len);
3906  maxplanecont.CheckEquals(sr.maxplanecont);
3907  maxplanegap.CheckEquals(sr.maxplanegap);
3908  maxtime.CheckEquals(sr.maxtime);
3909  meantime.CheckEquals(sr.meantime);
3910  meantimeRes.CheckEquals(sr.meantimeRes);
3911  mintime.CheckEquals(sr.mintime);
3912  nhit.CheckEquals(sr.nhit);
3913  nhitx.CheckEquals(sr.nhitx);
3914  nhity.CheckEquals(sr.nhity);
3915  nplane.CheckEquals(sr.nplane);
3916  pngmaxx.CheckEquals(sr.pngmaxx);
3917  pngmaxy.CheckEquals(sr.pngmaxy);
3918  pngminx.CheckEquals(sr.pngminx);
3919  pngminy.CheckEquals(sr.pngminy);
3920  prongtrainingdata.CheckEquals(sr.prongtrainingdata);
3921  spprongcvnpart5label.CheckEquals(sr.spprongcvnpart5label);
3922  spprongcvnpartnumuccemid.CheckEquals(sr.spprongcvnpartnumuccemid);
3923  start.CheckEquals(sr.start);
3924  truth.CheckEquals(sr.truth);
3925  truthXView.CheckEquals(sr.truthXView);
3926  truthYView.CheckEquals(sr.truthYView);
3927  view.CheckEquals(sr.view);
3928  weightedCalE.CheckEquals(sr.weightedCalE);
3929 }
3930 
3931 caf::Proxy<caf::SRBpfTrack>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
3932  caf::Proxy<caf::SRTrack>(d, tr, name, base, offset),
3933  IsValid(d, tr, Join(name, "IsValid"), base, offset),
3934  activity15(d, tr, Join(name, "activity15"), base, offset),
3935  activity30(d, tr, Join(name, "activity30"), base, offset),
3936  activity45(d, tr, Join(name, "activity45"), base, offset),
3937  chi2Hit(d, tr, Join(name, "chi2Hit"), base, offset),
3938  chi2Scat(d, tr, Join(name, "chi2Scat"), base, offset),
3939  chi2T(d, tr, Join(name, "chi2T"), base, offset),
3940  dEdXLL(d, tr, Join(name, "dEdXLL"), base, offset),
3941  dedx15(d, tr, Join(name, "dedx15"), base, offset),
3942  dedx30(d, tr, Join(name, "dedx30"), base, offset),
3943  energy(d, tr, Join(name, "energy"), base, offset),
3944  hitRatio(d, tr, Join(name, "hitRatio"), base, offset),
3945  momentum(d, tr, Join(name, "momentum"), base, offset),
3946  mvapiE(d, tr, Join(name, "mvapiE"), base, offset),
3947  pdg(d, tr, Join(name, "pdg"), base, offset),
3948  pid(d, tr, Join(name, "pid"), base, offset),
3949  prox15(d, tr, Join(name, "prox15"), base, offset),
3950  prox30(d, tr, Join(name, "prox30"), base, offset),
3951  scatt15(d, tr, Join(name, "scatt15"), base, offset),
3952  scatt30(d, tr, Join(name, "scatt30"), base, offset)
3953 {
3954 }
3955 
3957 {
3959  IsValid = sr.IsValid;
3960  activity15 = sr.activity15;
3961  activity30 = sr.activity30;
3962  activity45 = sr.activity45;
3963  chi2Hit = sr.chi2Hit;
3964  chi2Scat = sr.chi2Scat;
3965  chi2T = sr.chi2T;
3966  dEdXLL = sr.dEdXLL;
3967  dedx15 = sr.dedx15;
3968  dedx30 = sr.dedx30;
3969  energy = sr.energy;
3970  hitRatio = sr.hitRatio;
3971  momentum = sr.momentum;
3972  mvapiE = sr.mvapiE;
3973  pdg = sr.pdg;
3974  pid = sr.pid;
3975  prox15 = sr.prox15;
3976  prox30 = sr.prox30;
3977  scatt15 = sr.scatt15;
3978  scatt30 = sr.scatt30;
3979  return *this;
3980 }
3981 
3983 {
3985  IsValid.CheckEquals(sr.IsValid);
3986  activity15.CheckEquals(sr.activity15);
3987  activity30.CheckEquals(sr.activity30);
3988  activity45.CheckEquals(sr.activity45);
3989  chi2Hit.CheckEquals(sr.chi2Hit);
3990  chi2Scat.CheckEquals(sr.chi2Scat);
3991  chi2T.CheckEquals(sr.chi2T);
3992  dEdXLL.CheckEquals(sr.dEdXLL);
3993  dedx15.CheckEquals(sr.dedx15);
3994  dedx30.CheckEquals(sr.dedx30);
3995  energy.CheckEquals(sr.energy);
3996  hitRatio.CheckEquals(sr.hitRatio);
3997  momentum.CheckEquals(sr.momentum);
3998  mvapiE.CheckEquals(sr.mvapiE);
3999  pdg.CheckEquals(sr.pdg);
4000  pid.CheckEquals(sr.pid);
4001  prox15.CheckEquals(sr.prox15);
4002  prox30.CheckEquals(sr.prox30);
4003  scatt15.CheckEquals(sr.scatt15);
4004  scatt30.CheckEquals(sr.scatt30);
4005 }
4006 
4007 caf::Proxy<caf::SRBpf>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4008  muon(d, tr, Join(name, "muon"), base, offset),
4009  pion(d, tr, Join(name, "pion"), base, offset),
4010  proton(d, tr, Join(name, "proton"), base, offset)
4011 {
4012 }
4013 
4015 {
4016  muon = sr.muon;
4017  pion = sr.pion;
4018  proton = sr.proton;
4019  return *this;
4020 }
4021 
4023 {
4024  muon.CheckEquals(sr.muon);
4025  pion.CheckEquals(sr.pion);
4026  proton.CheckEquals(sr.proton);
4027 }
4028 
4029 caf::Proxy<caf::SRRegCVNResult>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4030  prongE(d, tr, Join(name, "prongE"), base, offset)
4031 {
4032 }
4033 
4035 {
4036  prongE = sr.prongE;
4037  return *this;
4038 }
4039 
4041 {
4042  prongE.CheckEquals(sr.prongE);
4043 }
4044 
4045 caf::Proxy<caf::SRFuzzyKProng>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4046  caf::Proxy<caf::SRProng>(d, tr, name, base, offset),
4047  activity15(d, tr, Join(name, "activity15"), base, offset),
4048  activity30(d, tr, Join(name, "activity30"), base, offset),
4049  activity45(d, tr, Join(name, "activity45"), base, offset),
4050  bpf(d, tr, Join(name, "bpf"), base, offset),
4051  dedx15(d, tr, Join(name, "dedx15"), base, offset),
4052  dedx30(d, tr, Join(name, "dedx30"), base, offset),
4053  mvapiE(d, tr, Join(name, "mvapiE"), base, offset),
4054  prox15(d, tr, Join(name, "prox15"), base, offset),
4055  prox30(d, tr, Join(name, "prox30"), base, offset),
4056  regcvn(d, tr, Join(name, "regcvn"), base, offset),
4057  shwlid(d, tr, Join(name, "shwlid"), base, offset)
4058 {
4059 }
4060 
4062 {
4064  activity15 = sr.activity15;
4065  activity30 = sr.activity30;
4066  activity45 = sr.activity45;
4067  bpf = sr.bpf;
4068  dedx15 = sr.dedx15;
4069  dedx30 = sr.dedx30;
4070  mvapiE = sr.mvapiE;
4071  prox15 = sr.prox15;
4072  prox30 = sr.prox30;
4073  regcvn = sr.regcvn;
4074  shwlid = sr.shwlid;
4075  return *this;
4076 }
4077 
4079 {
4081  activity15.CheckEquals(sr.activity15);
4082  activity30.CheckEquals(sr.activity30);
4083  activity45.CheckEquals(sr.activity45);
4084  bpf.CheckEquals(sr.bpf);
4085  dedx15.CheckEquals(sr.dedx15);
4086  dedx30.CheckEquals(sr.dedx30);
4087  mvapiE.CheckEquals(sr.mvapiE);
4088  prox15.CheckEquals(sr.prox15);
4089  prox30.CheckEquals(sr.prox30);
4090  regcvn.CheckEquals(sr.regcvn);
4091  shwlid.CheckEquals(sr.shwlid);
4092 }
4093 
4094 caf::Proxy<caf::SRFuzzyK>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4095  longestidx(d, tr, Join(name, "longestidx"), base, offset),
4096  npng(d, tr, Join(name, "npng"), base, offset),
4097  npng2d(d, tr, Join(name, "npng2d"), base, offset),
4098  nshwlid(d, tr, Join(name, "nshwlid"), base, offset),
4099  ntot(d, tr, Join(name, "ntot"), base, offset),
4100  orphCalE(d, tr, Join(name, "orphCalE"), base, offset),
4101  png(d, tr, Join(name, "png"), base, offset),
4102  png2d(d, tr, Join(name, "png2d"), base, offset)
4103 {
4104 }
4105 
4107 {
4108  longestidx = sr.longestidx;
4109  npng = sr.npng;
4110  npng2d = sr.npng2d;
4111  nshwlid = sr.nshwlid;
4112  ntot = sr.ntot;
4113  orphCalE = sr.orphCalE;
4114  png = sr.png;
4115  png2d = sr.png2d;
4116  return *this;
4117 }
4118 
4120 {
4121  longestidx.CheckEquals(sr.longestidx);
4122  npng.CheckEquals(sr.npng);
4123  npng2d.CheckEquals(sr.npng2d);
4124  nshwlid.CheckEquals(sr.nshwlid);
4125  ntot.CheckEquals(sr.ntot);
4126  orphCalE.CheckEquals(sr.orphCalE);
4127  png.CheckEquals(sr.png);
4128  png2d.CheckEquals(sr.png2d);
4129 }
4130 
4131 caf::Proxy<caf::SRElastic>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4132  IsValid(d, tr, Join(name, "IsValid"), base, offset),
4133  fuzzyk(d, tr, Join(name, "fuzzyk"), base, offset),
4134  prong2dvertexenergyvolume10(d, tr, Join(name, "prong2dvertexenergyvolume10"), base, offset),
4135  prong2dvertexenergyvolume20(d, tr, Join(name, "prong2dvertexenergyvolume20"), base, offset),
4136  prong2dvertexenergyvolume30(d, tr, Join(name, "prong2dvertexenergyvolume30"), base, offset),
4137  prong2dvertexenergyvolume40(d, tr, Join(name, "prong2dvertexenergyvolume40"), base, offset),
4138  prong3dvertexenergyvolume10(d, tr, Join(name, "prong3dvertexenergyvolume10"), base, offset),
4139  prong3dvertexenergyvolume20(d, tr, Join(name, "prong3dvertexenergyvolume20"), base, offset),
4140  prong3dvertexenergyvolume30(d, tr, Join(name, "prong3dvertexenergyvolume30"), base, offset),
4141  prong3dvertexenergyvolume40(d, tr, Join(name, "prong3dvertexenergyvolume40"), base, offset),
4142  slicevertexenergyvolume10(d, tr, Join(name, "slicevertexenergyvolume10"), base, offset),
4143  slicevertexenergyvolume20(d, tr, Join(name, "slicevertexenergyvolume20"), base, offset),
4144  slicevertexenergyvolume30(d, tr, Join(name, "slicevertexenergyvolume30"), base, offset),
4145  slicevertexenergyvolume40(d, tr, Join(name, "slicevertexenergyvolume40"), base, offset),
4146  time(d, tr, Join(name, "time"), base, offset),
4147  vtx(d, tr, Join(name, "vtx"), base, offset)
4148 {
4149 }
4150 
4152 {
4153  IsValid = sr.IsValid;
4154  fuzzyk = sr.fuzzyk;
4155  prong2dvertexenergyvolume10 = sr.prong2dvertexenergyvolume10;
4156  prong2dvertexenergyvolume20 = sr.prong2dvertexenergyvolume20;
4157  prong2dvertexenergyvolume30 = sr.prong2dvertexenergyvolume30;
4158  prong2dvertexenergyvolume40 = sr.prong2dvertexenergyvolume40;
4159  prong3dvertexenergyvolume10 = sr.prong3dvertexenergyvolume10;
4160  prong3dvertexenergyvolume20 = sr.prong3dvertexenergyvolume20;
4161  prong3dvertexenergyvolume30 = sr.prong3dvertexenergyvolume30;
4162  prong3dvertexenergyvolume40 = sr.prong3dvertexenergyvolume40;
4163  slicevertexenergyvolume10 = sr.slicevertexenergyvolume10;
4164  slicevertexenergyvolume20 = sr.slicevertexenergyvolume20;
4165  slicevertexenergyvolume30 = sr.slicevertexenergyvolume30;
4166  slicevertexenergyvolume40 = sr.slicevertexenergyvolume40;
4167  time = sr.time;
4168  vtx = sr.vtx;
4169  return *this;
4170 }
4171 
4173 {
4174  IsValid.CheckEquals(sr.IsValid);
4175  fuzzyk.CheckEquals(sr.fuzzyk);
4176  prong2dvertexenergyvolume10.CheckEquals(sr.prong2dvertexenergyvolume10);
4177  prong2dvertexenergyvolume20.CheckEquals(sr.prong2dvertexenergyvolume20);
4178  prong2dvertexenergyvolume30.CheckEquals(sr.prong2dvertexenergyvolume30);
4179  prong2dvertexenergyvolume40.CheckEquals(sr.prong2dvertexenergyvolume40);
4180  prong3dvertexenergyvolume10.CheckEquals(sr.prong3dvertexenergyvolume10);
4181  prong3dvertexenergyvolume20.CheckEquals(sr.prong3dvertexenergyvolume20);
4182  prong3dvertexenergyvolume30.CheckEquals(sr.prong3dvertexenergyvolume30);
4183  prong3dvertexenergyvolume40.CheckEquals(sr.prong3dvertexenergyvolume40);
4184  slicevertexenergyvolume10.CheckEquals(sr.slicevertexenergyvolume10);
4185  slicevertexenergyvolume20.CheckEquals(sr.slicevertexenergyvolume20);
4186  slicevertexenergyvolume30.CheckEquals(sr.slicevertexenergyvolume30);
4187  slicevertexenergyvolume40.CheckEquals(sr.slicevertexenergyvolume40);
4188  time.CheckEquals(sr.time);
4189  vtx.CheckEquals(sr.vtx);
4190 }
4191 
4192 caf::Proxy<caf::SRHoughVertex>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4193  fuzzyk(d, tr, Join(name, "fuzzyk"), base, offset),
4194  time(d, tr, Join(name, "time"), base, offset),
4195  vtx(d, tr, Join(name, "vtx"), base, offset)
4196 {
4197 }
4198 
4200 {
4201  fuzzyk = sr.fuzzyk;
4202  time = sr.time;
4203  vtx = sr.vtx;
4204  return *this;
4205 }
4206 
4208 {
4209  fuzzyk.CheckEquals(sr.fuzzyk);
4210  time.CheckEquals(sr.time);
4211  vtx.CheckEquals(sr.vtx);
4212 }
4213 
4214 caf::Proxy<caf::SRVertexDT>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4215  time(d, tr, Join(name, "time"), base, offset),
4216  vtx(d, tr, Join(name, "vtx"), base, offset)
4217 {
4218 }
4219 
4221 {
4222  time = sr.time;
4223  vtx = sr.vtx;
4224  return *this;
4225 }
4226 
4228 {
4229  time.CheckEquals(sr.time);
4230  vtx.CheckEquals(sr.vtx);
4231 }
4232 
4233 caf::Proxy<caf::SRVertexBranch>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4234  elastic(d, tr, Join(name, "elastic"), base, offset),
4235  hough(d, tr, Join(name, "hough"), base, offset),
4236  nhough(d, tr, Join(name, "nhough"), base, offset),
4237  nvdt(d, tr, Join(name, "nvdt"), base, offset),
4238  vdt(d, tr, Join(name, "vdt"), base, offset)
4239 {
4240 }
4241 
4243 {
4244  elastic = sr.elastic;
4245  hough = sr.hough;
4246  nhough = sr.nhough;
4247  nvdt = sr.nvdt;
4248  vdt = sr.vdt;
4249  return *this;
4250 }
4251 
4253 {
4254  elastic.CheckEquals(sr.elastic);
4255  hough.CheckEquals(sr.hough);
4256  nhough.CheckEquals(sr.nhough);
4257  nvdt.CheckEquals(sr.nvdt);
4258  vdt.CheckEquals(sr.vdt);
4259 }
4260 
4261 caf::Proxy<caf::StandardRecord>::Proxy(TDirectory* d, TTree* tr, const std::string& name, const long& base, int offset) :
4262  energy(d, tr, Join(name, "energy"), base, offset),
4263  hdr(d, tr, Join(name, "hdr"), base, offset),
4264  mc(d, tr, Join(name, "mc"), base, offset),
4265  me(d, tr, Join(name, "me"), base, offset),
4266  parent(d, tr, Join(name, "parent"), base, offset),
4267  sel(d, tr, Join(name, "sel"), base, offset),
4268  slc(d, tr, Join(name, "slc"), base, offset),
4269  spill(d, tr, Join(name, "spill"), base, offset),
4270  training(d, tr, Join(name, "training"), base, offset),
4271  trk(d, tr, Join(name, "trk"), base, offset),
4272  vtx(d, tr, Join(name, "vtx"), base, offset)
4273 {
4274 }
4275 
4277 {
4278  energy = sr.energy;
4279  hdr = sr.hdr;
4280  mc = sr.mc;
4281  me = sr.me;
4282  parent = sr.parent;
4283  sel = sr.sel;
4284  slc = sr.slc;
4285  spill = sr.spill;
4286  training = sr.training;
4287  trk = sr.trk;
4288  vtx = sr.vtx;
4289  return *this;
4290 }
4291 
4293 {
4294  energy.CheckEquals(sr.energy);
4295  hdr.CheckEquals(sr.hdr);
4296  mc.CheckEquals(sr.mc);
4297  me.CheckEquals(sr.me);
4298  parent.CheckEquals(sr.parent);
4299  sel.CheckEquals(sr.sel);
4300  slc.CheckEquals(sr.slc);
4301  spill.CheckEquals(sr.spill);
4302  training.CheckEquals(sr.training);
4303  trk.CheckEquals(sr.trk);
4304  vtx.CheckEquals(sr.vtx);
4305 }
unsigned short nhit
number of hits
std::vector< float > intx
Definition: SRSpill.h:47
int cosfwdcell
cosmictrack projected # cells from end point forwards to det edge
Definition: SRContain.h:30
NuonE output.
Definition: SRNuonEResult.h:13
float x
Bjorken x = (k-k&#39;)^2 / (2*p.q), [Dimensionless].
Definition: SRNeutrino.h:78
const XML_Char int len
Definition: expat.h:262
float nshwlid