CosRejObj.cxx
Go to the documentation of this file.
1 #include "CosRej/CosRejObj.h"
2 
3 namespace cosrej
4 {
5  //---------------------------------------------------------
7  fAngleKal (-5.0)
8  ,fAngleCos (-5.0)
9 
10  ,fConCosPID (-5.0)
11  ,fOldCosPID (-5.0)
12  ,fUnconTunedCosPID (-5.0)
13 
14  ,fNTracks3D (-5)
15  ,fKFitSpeed (-5.0)
16  ,fCFitSpeed (-5.0)
17  ,fKDirScore (-5.0)
18  ,fCDirScore (-5.0)
19  ,fKScoreDiff (-5.0)
20  ,fCScoreDiff (-5.0)
21  ,fKalSlope (-5.0)
22  ,fKalChisq (-5.0)
23  ,fCosSlope (-5.0)
24  ,fCosChisq (-5.0)
25  ,fCosFwdDist (-5.0)
26  ,fCosFwdAir (-5.0)
27  ,fCosFwdSteel (-5.0)
28  ,fCosBakDist (-5.0)
29  ,fCosFwdCell (-5)
30  ,fCosFwdCellND(-5)
31  ,fCosBakCell (-5)
32  ,fCosBakCellND(-5)
33  ,fCosBakAir (-5.0)
34  ,fCosBakSteel (-5.0)
35  ,fKalFwdDist (-5.0)
36  ,fKalBakDist (-5.0)
37  ,fKalFwdCell (-5)
38  ,fKalFwdCellND(-5)
39  ,fKalBakCell (-5)
40  ,fKalBakCellND(-5)
41  ,fKalFwdAir (-5.0)
42  ,fKalFwdSteel (-5.0)
43  ,fKalBakAir (-5.0)
44  ,fKalBakSteel (-5.0)
45  ,fCosYPosAtTrans (-5.0)
46  ,fKalYPosAtTrans (-5.0)
47  ,fMinDist (999999.0)
48  ,fMinCell (999999)
49  ,fNHadTracks (-5)
50  ,fERatio (-5.0)
51  ,fScatt (-5.0)
52  ,fStartAct (-5.0)
53  ,fCosThetaTrue(-5.0)
54  ,fKalThetaTrue(-5.0)
55  ,fPDGBest (-5)
56  ,fKalChiDiff (-5.0)
57  ,fCosChiDiff (-5.0)
58  ,fVtxDist (-5.0)
59  ,fEndDist (-5.0)
60  ,fFScattMax (-5.0)
61  ,fFScattSum (-5.0)
62  ,fFScattExt (-5.0)
63  ,fFScattSig (-5.0)
64  ,fCosHitRatio (-5.0)
65  ,fTrackLenKal(-5.0)
66  ,fTrackLenKal2nd(-5.0)
67  ,fTrackE2nd(-5.0)
68  ,fAngleKal2nd(-5.0)
69  ,fAngleBtwKalTrks(-5.0)
70  ,fTrkEPerNHit(-5.0)
71  {
72  }
73 
74  //---------------------------------------------------------
76  {
77  }
78 
79  //---------------------------------------------------------
80  void CosRejObj::SetAngleKal(float anglek)
81  {
82  fAngleKal = anglek;
83  }
84 
85  //---------------------------------------------------------
86  void CosRejObj::SetAngleCos(float anglec)
87  {
88  fAngleCos = anglec;
89  }
90 
91  //---------------------------------------------------------
92  void CosRejObj::SetConCosPID(float concospid)
93  {
94  fConCosPID = concospid;
95  }
96 
97  //---------------------------------------------------------
98  void CosRejObj::SetOldCosPID(float oldcospid)
99  {
100  fOldCosPID = oldcospid;
101  }
102 
103  //---------------------------------------------------------
104 
105  void CosRejObj::SetUnconTunedCosPID(float uncontunedcospid)
106  {
107  fUnconTunedCosPID = uncontunedcospid;
108  }
109 
110  //---------------------------------------------------------
111  void CosRejObj::SetNTracks3D(int ntracks3d)
112  {
113  fNTracks3D = ntracks3d;
114  }
115 
116  //---------------------------------------------------------
117  void CosRejObj::SetNHadTracks(int nhadtracks)
118  {
119  fNHadTracks = nhadtracks;
120  }
121 
122  //---------------------------------------------------------
123  void CosRejObj::SetKFitSpeed(float kfitspeed)
124  {
125  fKFitSpeed = kfitspeed;
126  }
127 
128  //---------------------------------------------------------
129  void CosRejObj::SetCFitSpeed(float cfitspeed)
130  {
131  fCFitSpeed = cfitspeed;
132  }
133 
134  //---------------------------------------------------------
135  void CosRejObj::SetKDirScore(float kdirscore)
136  {
137  fKDirScore = kdirscore;
138  }
139 
140  //---------------------------------------------------------
141  void CosRejObj::SetCDirScore(float cdirscore)
142  {
143  fCDirScore = cdirscore;
144  }
145 
146  //---------------------------------------------------------
147  void CosRejObj::SetKScoreDiff(float kscorediff)
148  {
149  fKScoreDiff = kscorediff;
150  }
151 
152  //---------------------------------------------------------
153  void CosRejObj::SetCScoreDiff(float cscorediff)
154  {
155  fCScoreDiff = cscorediff;
156  }
157 
158  //---------------------------------------------------------
159  void CosRejObj::SetKalSlope(float kalslope)
160  {
161  fKalSlope = kalslope;
162  }
163 
164  //---------------------------------------------------------
165  void CosRejObj::SetKalChisq(float kalchisq)
166  {
167  fKalChisq = kalchisq;
168  }
169 
170  //---------------------------------------------------------
171  void CosRejObj::SetCosSlope(float cosslope)
172  {
173  fCosSlope = cosslope;
174  }
175 
176  //---------------------------------------------------------
177  void CosRejObj::SetCosChisq(float coschisq)
178  {
179  fCosChisq = coschisq;
180  }
181 
182  //---------------------------------------------------------
183  void CosRejObj::SetCosFwdDist(float cfdist)
184  {
185  fCosFwdDist = cfdist;
186  }
187 
188  //---------------------------------------------------------
189  void CosRejObj::SetCosFwdAir(float cfair)
190  {
191  fCosFwdAir = cfair;
192  }
193 
194  //---------------------------------------------------------
195  void CosRejObj::SetCosFwdSteel(float cfsteel)
196  {
197  fCosFwdSteel = cfsteel;
198  }
199 
200  //---------------------------------------------------------
201  void CosRejObj::SetCosBakDist(float cbdist)
202  {
203  fCosBakDist = cbdist;
204  }
205 
206  //---------------------------------------------------------
207  void CosRejObj::SetCosBakAir(float cbair)
208  {
209  fCosBakAir = cbair;
210  }
211 
212  //---------------------------------------------------------
213  void CosRejObj::SetCosBakSteel(float cbsteel)
214  {
215  fCosBakSteel = cbsteel;
216  }
217 
218  //---------------------------------------------------------
219  void CosRejObj::SetKalFwdDist(float kfdist)
220  {
221  fKalFwdDist = kfdist;
222  }
223 
224  //---------------------------------------------------------
225  void CosRejObj::SetKalFwdAir(float kfair)
226  {
227  fKalFwdAir = kfair;
228  }
229 
230  //---------------------------------------------------------
231  void CosRejObj::SetKalFwdSteel(float kfsteel)
232  {
233  fKalFwdSteel = kfsteel;
234  }
235 
236  //---------------------------------------------------------
237  void CosRejObj::SetKalBakDist(float kbdist)
238  {
239  fKalBakDist = kbdist;
240  }
241 
242  //---------------------------------------------------------
243  void CosRejObj::SetKalBakAir(float kbair)
244  {
245  fKalBakAir = kbair;
246  }
247 
248  //---------------------------------------------------------
249  void CosRejObj::SetKalBakSteel(float kbsteel)
250  {
251  fKalBakSteel = kbsteel;
252  }
253 
254  //---------------------------------------------------------
255  void CosRejObj::SetCosFwdCell(int cfcell)
256  {
257  fCosFwdCell = cfcell;
258  }
259 
260  //---------------------------------------------------------
261  void CosRejObj::SetCosFwdCellND(int cfcellnd)
262  {
263  fCosFwdCellND = cfcellnd;
264  }
265 
266  //---------------------------------------------------------
267  void CosRejObj::SetCosBakCell(int cbcell)
268  {
269  fCosBakCell = cbcell;
270  }
271 
272  //---------------------------------------------------------
273  void CosRejObj::SetCosBakCellND(int cbcellnd)
274  {
275  fCosBakCellND = cbcellnd;
276  }
277 
278  //---------------------------------------------------------
279  void CosRejObj::SetKalFwdCell(int kfcell)
280  {
281  fKalFwdCell = kfcell;
282  }
283 
284  //---------------------------------------------------------
285  void CosRejObj::SetKalFwdCellND(int kfcellnd)
286  {
287  fKalFwdCellND = kfcellnd;
288  }
289 
290  //---------------------------------------------------------
291  void CosRejObj::SetKalBakCell(int kbcell)
292  {
293  fKalBakCell = kbcell;
294  }
295 
296  //---------------------------------------------------------
297  void CosRejObj::SetKalBakCellND(int kbcellnd)
298  {
299  fKalBakCellND = kbcellnd;
300  }
301 
302  //---------------------------------------------------------
303  void CosRejObj::SetCosYPosAtTrans(float cosytrans)
304  {
305  fCosYPosAtTrans = cosytrans;
306  }
307 
308  //---------------------------------------------------------
309  void CosRejObj::SetKalYPosAtTrans(float kalytrans)
310  {
311  fKalYPosAtTrans = kalytrans;
312  }
313 
314  //---------------------------------------------------------
315  void CosRejObj::SetMinDist(float mindist)
316  {
317  fMinDist = mindist;
318  }
319 
320  //---------------------------------------------------------
321  void CosRejObj::SetMinCell(int mincell)
322  {
323  fMinCell = mincell;
324  }
325 
326  //---------------------------------------------------------
327  void CosRejObj::SetERatio(float eratio)
328  {
329  fERatio = eratio;
330  }
331 
332  //---------------------------------------------------------
333  void CosRejObj::SetScatt(float scatt)
334  {
335  fScatt = scatt;
336  }
337 
338  //---------------------------------------------------------
339  void CosRejObj::SetStartAct(float startact)
340  {
341  fStartAct = startact;
342  }
343 
344  //---------------------------------------------------------
345  void CosRejObj::SetCosThetaTrue(float cosqtrue)
346  {
347  fCosThetaTrue = cosqtrue;
348  }
349 
350  //---------------------------------------------------------
351  void CosRejObj::SetKalThetaTrue(float kalqtrue)
352  {
353  fKalThetaTrue = kalqtrue;
354  }
355 
356  //---------------------------------------------------------
357  void CosRejObj::SetPDGBest(int pdgbest)
358  {
359  fPDGBest = pdgbest;
360  }
361 
362  //---------------------------------------------------------
363  void CosRejObj::SetKalChiDiff(float kalchidiff)
364  {
365  fKalChiDiff = kalchidiff;
366  }
367 
368  //---------------------------------------------------------
369  void CosRejObj::SetCosChiDiff(float coschidiff)
370  {
371  fCosChiDiff = coschidiff;
372  }
373 
374  //---------------------------------------------------------
375  void CosRejObj::SetVtxDist(float vtxdist)
376  {
377  fVtxDist = vtxdist;
378  }
379 
380  //---------------------------------------------------------
381  void CosRejObj::SetEndDist(float enddist)
382  {
383  fEndDist = enddist;
384  }
385 
386  //---------------------------------------------------------
387  void CosRejObj::SetFScattMax(float fscattmax)
388  {
389  fFScattMax = fscattmax;
390  }
391 
392  //---------------------------------------------------------
393  void CosRejObj::SetFScattSum(float fscattsum)
394  {
395  fFScattSum = fscattsum;
396  }
397 
398  //---------------------------------------------------------
399  void CosRejObj::SetFScattExt(float fscattext)
400  {
401  fFScattExt = fscattext;
402  }
403 
404  //---------------------------------------------------------
405  void CosRejObj::SetFScattSig(float fscattsig)
406  {
407  fFScattSig = fscattsig;
408  }
409 
410  //---------------------------------------------------------
412  {
414  }
415 
416  //---------------------------------------------------------
417  void CosRejObj::SetTrackLenKal(float tracklenkal)
418  {
419  fTrackLenKal = tracklenkal;
420  }
421 
422  //---------------------------------------------------------
423  void CosRejObj::SetTrackLenKal2nd(float tracklenkal2nd)
424  {
425  fTrackLenKal2nd = tracklenkal2nd;
426  }
427 
428  //---------------------------------------------------------
429  void CosRejObj::SetTrackE2nd(float tracke2nd)
430  {
431  fTrackE2nd = tracke2nd;
432  }
433 
434  //---------------------------------------------------------
435  void CosRejObj::SetAngleKal2nd(float angle2nd)
436  {
437  fAngleKal2nd = angle2nd;
438  }
439 
440  //---------------------------------------------------------
441  void CosRejObj::SetAngleBtwKalTrks(float anglebtw)
442  {
443  fAngleBtwKalTrks = anglebtw;
444  }
445 
446  //---------------------------------------------------------
447  void CosRejObj::SetTrkEPerNHit(float trkepernhit)
448  {
449  fTrkEPerNHit = trkepernhit;
450  }
451 
452  //---------------------------------------------------------
453  float CosRejObj::AngleKal() const
454  {
455  return fAngleKal;
456  }
457 
458  //---------------------------------------------------------
459  float CosRejObj::AngleCos() const
460  {
461  return fAngleCos;
462  }
463 
464  //---------------------------------------------------------
465  float CosRejObj::ConCosPID() const
466  {
467  return fConCosPID;
468  }
469 
470  //---------------------------------------------------------
471  float CosRejObj::OldCosPID() const
472  {
473  return fOldCosPID;
474  }
475 
476  //---------------------------------------------------------
477 
479  {
480  return fUnconTunedCosPID;
481  }
482 
483  //---------------------------------------------------------
485  {
486  return fNTracks3D;
487  }
488 
489  //---------------------------------------------------------
490  float CosRejObj::KFitSpeed() const
491  {
492  return fKFitSpeed;
493  }
494 
495  //---------------------------------------------------------
496  float CosRejObj::CFitSpeed() const
497  {
498  return fCFitSpeed;
499  }
500 
501  //---------------------------------------------------------
502  float CosRejObj::KDirScore() const
503  {
504  return fKDirScore;
505  }
506 
507  //---------------------------------------------------------
508  float CosRejObj::CDirScore() const
509  {
510  return fCDirScore;
511  }
512 
513  //---------------------------------------------------------
514  float CosRejObj::KScoreDiff() const
515  {
516  return fKScoreDiff;
517  }
518 
519  //---------------------------------------------------------
520  float CosRejObj::CScoreDiff() const
521  {
522  return fCScoreDiff;
523  }
524 
525  //---------------------------------------------------------
527  {
528  return fNHadTracks;
529  }
530 
531  //---------------------------------------------------------
532  float CosRejObj::KalSlope() const
533  {
534  return fKalSlope;
535  }
536 
537  //---------------------------------------------------------
538  float CosRejObj::KalChisq() const
539  {
540  return fKalChisq;
541  }
542 
543  //---------------------------------------------------------
544  float CosRejObj::CosSlope() const
545  {
546  return fCosSlope;
547  }
548 
549  //---------------------------------------------------------
550  float CosRejObj::CosChisq() const
551  {
552  return fCosChisq;
553  }
554 
555  //---------------------------------------------------------
556  float CosRejObj::CosFwdDist() const
557  {
558  return fCosFwdDist;
559  }
560 
561  //---------------------------------------------------------
562  float CosRejObj::CosFwdAir() const
563  {
564  return fCosFwdAir;
565  }
566 
567  //---------------------------------------------------------
569  {
570  return fCosFwdSteel;
571  }
572 
573  //---------------------------------------------------------
574  float CosRejObj::CosBakDist() const
575  {
576  return fCosBakDist;
577  }
578 
579  //---------------------------------------------------------
580  float CosRejObj::CosBakAir() const
581  {
582  return fCosBakAir;
583  }
584 
585  //---------------------------------------------------------
587  {
588  return fCosBakSteel;
589  }
590 
591  //---------------------------------------------------------
592  float CosRejObj::KalFwdDist() const
593  {
594  return fKalFwdDist;
595  }
596 
597  //---------------------------------------------------------
598  float CosRejObj::KalFwdAir() const
599  {
600  return fKalFwdAir;
601  }
602 
603  //---------------------------------------------------------
605  {
606  return fKalFwdSteel;
607  }
608 
609  //---------------------------------------------------------
610  float CosRejObj::KalBakDist() const
611  {
612  return fKalBakDist;
613  }
614 
615  //---------------------------------------------------------
616  float CosRejObj::KalBakAir() const
617  {
618  return fKalBakAir;
619  }
620 
621  //---------------------------------------------------------
623  {
624  return fKalBakSteel;
625  }
626 
627  //---------------------------------------------------------
629  {
630  return fCosFwdCell;
631  }
632 
633  //---------------------------------------------------------
635  {
636  return fCosFwdCellND;
637  }
638 
639  //---------------------------------------------------------
641  {
642  return fCosBakCell;
643  }
644 
645  //---------------------------------------------------------
647  {
648  return fCosBakCellND;
649  }
650 
651  //---------------------------------------------------------
653  {
654  return fKalFwdCell;
655  }
656 
657  //---------------------------------------------------------
659  {
660  return fKalFwdCellND;
661  }
662 
663  //---------------------------------------------------------
665  {
666  return fKalBakCell;
667  }
668 
669  //---------------------------------------------------------
671  {
672  return fKalBakCellND;
673  }
674 
675  //---------------------------------------------------------
677  {
678  return fCosYPosAtTrans;
679  }
680 
681  //---------------------------------------------------------
683  {
684  return fKalYPosAtTrans;
685  }
686 
687  //---------------------------------------------------------
688  int CosRejObj::MinCell() const
689  {
690  return fMinCell;
691  }
692 
693  //---------------------------------------------------------
694  float CosRejObj::MinDist() const
695  {
696  return fMinDist;
697  }
698 
699  //---------------------------------------------------------
700  float CosRejObj::ERatio() const
701  {
702  return fERatio;
703  }
704 
705  //---------------------------------------------------------
706  float CosRejObj::Scatt() const
707  {
708  return fScatt;
709  }
710 
711  //---------------------------------------------------------
712  float CosRejObj::StartAct() const
713  {
714  return fStartAct;
715  }
716 
717  //---------------------------------------------------------
718  float CosRejObj::EndAct() const
719  {
720  return fEndAct;
721  }
722 
723  //---------------------------------------------------------
725  {
726  return fCosThetaTrue;
727  }
728 
729  //---------------------------------------------------------
731  {
732  return fKalThetaTrue;
733  }
734 
735  //---------------------------------------------------------
736  int CosRejObj::PDGBest() const
737  {
738  return fPDGBest;
739  }
740 
741 
742  //---------------------------------------------------------
743  float CosRejObj::KalChiDiff() const
744  {
745  return fKalChiDiff;
746  }
747 
748  //---------------------------------------------------------
749  float CosRejObj::CosChiDiff() const
750  {
751  return fCosChiDiff;
752  }
753 
754  //---------------------------------------------------------
755  float CosRejObj::VtxDist() const
756  {
757  return fVtxDist;
758  }
759 
760  //---------------------------------------------------------
761  float CosRejObj::EndDist() const
762  {
763  return fEndDist;
764  }
765 
766  //---------------------------------------------------------
767  float CosRejObj::FScattMax() const
768  {
769  return fFScattMax;
770  }
771 
772  //---------------------------------------------------------
773  float CosRejObj::FScattSum() const
774  {
775  return fFScattSum;
776  }
777 
778  //---------------------------------------------------------
779  float CosRejObj::FScattExt() const
780  {
781  return fFScattExt;
782  }
783 
784  //---------------------------------------------------------
785  float CosRejObj::FScattSig() const
786  {
787  return fFScattSig;
788  }
789 
790  //---------------------------------------------------------
792  {
793  return fCosHitRatio;
794  }
795 
796  //---------------------------------------------------------
798  {
799  return fTrackLenKal;
800  }
801 
802  //---------------------------------------------------------
804  {
805  return fTrackLenKal2nd;
806  }
807 
808  //---------------------------------------------------------
809  float CosRejObj::TrackE2nd() const
810  {
811  return fTrackE2nd;
812  }
813 
814  //---------------------------------------------------------
816  {
817  return fAngleKal2nd;
818  }
819 
820  //---------------------------------------------------------
822  {
823  return fAngleBtwKalTrks;
824  }
825 
826  //---------------------------------------------------------
828  {
829  return fTrkEPerNHit;
830  }
831 
832  //---------------------------------------------------------
833 
834 }
void SetKalChisq(float kalchisq)
chisq result associated with slope fit. Mostly not useful
Definition: CosRejObj.cxx:165
int PDGBest() const
Definition: CosRejObj.cxx:736
float KalThetaTrue() const
Definition: CosRejObj.cxx:730
void SetCDirScore(float cdirscore)
chisq diff between assuming forwards going and backwards going for Cosmic Track
Definition: CosRejObj.cxx:141
float KalChisq() const
Definition: CosRejObj.cxx:538
void SetKalFwdDist(float kalfwddist)
distance (dist,cm) of best track from end to det wall projected forwards (Fwd), based on Kalman Track...
Definition: CosRejObj.cxx:219
void SetKFitSpeed(float kfitspeed)
inverse speed (ns/cm) of track fit by TimingFit module (negative indicates backwards track) for best ...
Definition: CosRejObj.cxx:123
float CosSlope() const
Definition: CosRejObj.cxx:544
float KalSlope() const
Definition: CosRejObj.cxx:532
float TrackE2nd() const
Definition: CosRejObj.cxx:809
float CosChisq() const
Definition: CosRejObj.cxx:550
float CosFwdDist() const
Definition: CosRejObj.cxx:556
float KalYPosAtTrans() const
Definition: CosRejObj.cxx:682
float KalBakDist() const
Definition: CosRejObj.cxx:610
void SetKalSlope(float kalslope)
slope of timing fit; a positive slope indicates track is properly directed
Definition: CosRejObj.cxx:159
void SetTrackE2nd(float tracke2nd)
Calorimetric energy of 2nd highest ReMId kalman track.
Definition: CosRejObj.cxx:429
void SetKalBakSteel(float kalbaksteel)
distance (dist,cm) through muon catcher traveled, when projected forwards to detector edge...
Definition: CosRejObj.cxx:249
float KalBakSteel() const
Definition: CosRejObj.cxx:622
float UnconTunedCosPID() const
Definition: CosRejObj.cxx:478
float KalFwdSteel() const
Definition: CosRejObj.cxx:604
void SetCosBakAir(float cosbakair)
distance (dist,cm) through air traveled, when projected backwards to detector edge. For ND only, muon catcher air gap. NYI - just use ytrans
Definition: CosRejObj.cxx:207
void SetKalChiDiff(float kalchidiff)
chisq difference of assuming + or - c as slope. A positive chisqdiff means the track is backwards...
Definition: CosRejObj.cxx:363
void SetOldCosPID(float oldcospid)
PID for contained cosmic rejection (Old Alg, Prod 3 training)
Definition: CosRejObj.cxx:98
void SetKScoreDiff(float kscorediff)
chisq diff between best directed fit and free fit (may indicate if things are wonky) for best ReMId K...
Definition: CosRejObj.cxx:147
void SetCosFwdCell(int cosfwdcell)
cells in that line segment instead of distance of line segment
Definition: CosRejObj.cxx:255
float StartAct() const
Definition: CosRejObj.cxx:712
TH1 * ratio(TH1 *h1, TH1 *h2)
void SetAngleKal(float angleb)
cos of angle of best Kalman track wrt beam
Definition: CosRejObj.cxx:80
float TrackLenKal2nd() const
Definition: CosRejObj.cxx:803
void SetNHadTracks(int nhadtracks)
number of 3D Kalman tracks with ReMId value of < 0.4 (not mu-like, or hadronic-like) ...
Definition: CosRejObj.cxx:117
int CosBakCellND() const
Definition: CosRejObj.cxx:646
void SetCosFwdDist(float cosfwddist)
distance (dist,cm) of track from end to det wall projected forwards (Fwd), based on Cosmic Tracker (C...
Definition: CosRejObj.cxx:183
void SetTrackLenKal2nd(float tracklenkal2nd)
Total length of 2nd highest ReMId kalman track.
Definition: CosRejObj.cxx:423
float fAngleBtwKalTrks
Definition: CosRejObj.h:216
float AngleBtwKalTrks() const
Definition: CosRejObj.cxx:821
void SetScatt(float scatt)
basic scattering variable; sum of all angular deviations between best kal track trajectory points / t...
Definition: CosRejObj.cxx:333
float Scatt() const
Definition: CosRejObj.cxx:706
float FScattMax() const
Definition: CosRejObj.cxx:767
void SetCosFwdAir(float cosfwdair)
distance (dist,cm) through air traveled, when projected forwards to detector edge. For ND only, muon catcher air gap. NYI
Definition: CosRejObj.cxx:189
void SetCosYPosAtTrans(float cosyposattrans)
Y position at transition to muon catcher, for determining if track went through air gap (ND only) ...
Definition: CosRejObj.cxx:303
int KalBakCellND() const
Definition: CosRejObj.cxx:670
float KalFwdDist() const
Definition: CosRejObj.cxx:592
float AngleCos() const
Definition: CosRejObj.cxx:459
int NHadTracks() const
Definition: CosRejObj.cxx:526
float CosBakSteel() const
Definition: CosRejObj.cxx:586
void SetMinDist(float mindist)
minimum projected distance, forwards or backwards, of ANY Kalman track with more than 15 hits ...
Definition: CosRejObj.cxx:315
float AngleKal2nd() const
Definition: CosRejObj.cxx:815
void SetKalBakCellND(int kalbakcellnd)
note that fwd<->bak values are interchanged if track direction is backwards, including MC...
Definition: CosRejObj.cxx:297
void SetCosBakCell(int cosbakcell)
note that fwd<->bak values are interchanged if track direction is backwards
Definition: CosRejObj.cxx:267
void SetUnconTunedCosPID(float uncontunedcospid)
Tuned PID for uncontained cosmic rejection (TMVA) - Jose&#39;s.
Definition: CosRejObj.cxx:105
int KalFwdCell() const
Definition: CosRejObj.cxx:652
float KalBakAir() const
Definition: CosRejObj.cxx:616
void SetNTracks3D(int ntracks3d)
Definition: CosRejObj.cxx:111
void SetStartAct(float startact)
measure of activity near best Kalman track start position; start pos is a good measure of vertex ...
Definition: CosRejObj.cxx:339
float TrkEPerNHit() const
Definition: CosRejObj.cxx:827
void SetKalFwdCell(int kalfwdcell)
cells in that line segment instead of distance of line segment
Definition: CosRejObj.cxx:279
void SetAngleBtwKalTrks(float anglebtw)
cos of angle of 2nd best Kalman track wrt beam
Definition: CosRejObj.cxx:441
void SetCosChiDiff(float coschidiff)
same for Cosmic track
Definition: CosRejObj.cxx:369
float CScoreDiff() const
Definition: CosRejObj.cxx:520
float CosBakAir() const
Definition: CosRejObj.cxx:580
float CosChiDiff() const
Definition: CosRejObj.cxx:749
void SetCosThetaTrue(float cosqtrue)
cosine of angle between true particle (bt most contributing) and reco track dir; use to tell if track...
Definition: CosRejObj.cxx:345
float CosBakDist() const
Definition: CosRejObj.cxx:574
float FScattSig() const
Definition: CosRejObj.cxx:785
float fTrackLenKal2nd
Definition: CosRejObj.h:213
void SetCosBakCellND(int cosbakcellnd)
note that fwd<->bak values are interchanged if track direction is backwards, including MC...
Definition: CosRejObj.cxx:273
float VtxDist() const
Definition: CosRejObj.cxx:755
float EndAct() const
Definition: CosRejObj.cxx:718
float fUnconTunedCosPID
Definition: CosRejObj.h:158
float ConCosPID() const
Definition: CosRejObj.cxx:465
float FScattSum() const
Definition: CosRejObj.cxx:773
float KDirScore() const
Definition: CosRejObj.cxx:502
float CosFwdAir() const
Definition: CosRejObj.cxx:562
int KalBakCell() const
Definition: CosRejObj.cxx:664
void SetCFitSpeed(float cfitspeed)
inverse speed (ns/cm) of track fit by TimingFit module (negative indicates backwards track) for Cosmi...
Definition: CosRejObj.cxx:129
float CosThetaTrue() const
Definition: CosRejObj.cxx:724
int CosBakCell() const
Definition: CosRejObj.cxx:640
int CosFwdCell() const
Definition: CosRejObj.cxx:628
float EndDist() const
Definition: CosRejObj.cxx:761
void SetTrackLenKal(float tracklenkal)
Total length of kalman track.
Definition: CosRejObj.cxx:417
void SetKalYPosAtTrans(float kalyposattrans)
Y position at transition to muon catcher, for determining if track went through air gap (ND only) ...
Definition: CosRejObj.cxx:309
float CDirScore() const
Definition: CosRejObj.cxx:508
void SetCosFwdSteel(float cosfwdsteel)
distance (dist,cm) through muon catcher traveled, when projected forwards to detector edge...
Definition: CosRejObj.cxx:195
void SetMinCell(int mincell)
minimum projected number of cell, forwards or backwards, of ANY Kalman track with more than 15 hits ...
Definition: CosRejObj.cxx:321
int MinCell() const
Definition: CosRejObj.cxx:688
float CosFwdSteel() const
Definition: CosRejObj.cxx:568
float KScoreDiff() const
Definition: CosRejObj.cxx:514
float FScattExt() const
Definition: CosRejObj.cxx:779
void SetCScoreDiff(float cscorediff)
chisq diff between best directed fit and free fit (may indicate if things are wonky) for Cosmic Track...
Definition: CosRejObj.cxx:153
void SetKDirScore(float kdirscore)
chisq diff between assuming forwards going and backwards going for best ReMId Kalman track ...
Definition: CosRejObj.cxx:135
void SetKalThetaTrue(float kalqtrue)
cosine of angle between true particle (bt most contributing) and reco track dir; use to tell if track...
Definition: CosRejObj.cxx:351
void SetPDGBest(int pdgbest)
pdg code of true most contributing particle to reco track hits. Calculate for best Kalman track...
Definition: CosRejObj.cxx:357
void SetFScattSum(float fscattsum)
sum of scattering angles (Fernanda&#39;s)
Definition: CosRejObj.cxx:393
Cosmic Rejection PIDs for Numu analysis.
Definition: FillParentInfo.h:9
float TrackLenKal() const
Definition: CosRejObj.cxx:797
void SetKalBakAir(float kalbakair)
distance (dist,cm) through air traveled, when projected forwards to detector edge. For ND only, muon catcher air gap. NYI
Definition: CosRejObj.cxx:243
void SetKalFwdAir(float kalfwdair)
distance (dist,cm) through air traveled, when projected forwards to detector edge. For ND only, muon catcher air gap. NYI
Definition: CosRejObj.cxx:225
float fCosYPosAtTrans
Definition: CosRejObj.h:191
void SetVtxDist(float vtxdist)
minimum distance of start position of best Kalman track to detector wall. Negative indicates outside ...
Definition: CosRejObj.cxx:375
int NTracks3D() const
Definition: CosRejObj.cxx:484
float CosYPosAtTrans() const
Definition: CosRejObj.cxx:676
float CFitSpeed() const
Definition: CosRejObj.cxx:496
float CosHitRatio() const
Definition: CosRejObj.cxx:791
void SetKalBakCell(int kalbakcell)
note that fwd<->bak values are interchanged if track direction is backwards
Definition: CosRejObj.cxx:291
void SetCosFwdCellND(int cosfwdcellnd)
cells in that line segment instead of distance of line segment, including MC, ND only
Definition: CosRejObj.cxx:261
float MinDist() const
Definition: CosRejObj.cxx:694
void SetKalFwdCellND(int kalfwdcellnd)
cells in that line segment instead of distance of line segment, including MC, ND only
Definition: CosRejObj.cxx:285
int KalFwdCellND() const
Definition: CosRejObj.cxx:658
void SetFScattMax(float fscattmax)
maximum scattering angle (Fernanda&#39;s)
Definition: CosRejObj.cxx:387
float KFitSpeed() const
Definition: CosRejObj.cxx:490
void SetEndDist(float enddist)
minimum distance of end position of best Kalman track to detector wall. Negative indicates outside of...
Definition: CosRejObj.cxx:381
float KalFwdAir() const
Definition: CosRejObj.cxx:598
void SetCosHitRatio(float coshitratio)
ratio of hits in cosmic track to hits in slice
Definition: CosRejObj.cxx:411
void SetAngleCos(float anglel)
cos of angle of Cosmic track wrt beam
Definition: CosRejObj.cxx:86
int CosFwdCellND() const
Definition: CosRejObj.cxx:634
float ERatio() const
Definition: CosRejObj.cxx:700
void SetCosChisq(float coschisq)
same for Cosmic track
Definition: CosRejObj.cxx:177
void SetTrkEPerNHit(float trkepernhit)
Track energy per kalman track hit.
Definition: CosRejObj.cxx:447
void SetCosSlope(float cosslope)
same for Cosmic track
Definition: CosRejObj.cxx:171
void SetKalBakDist(float kalbakdist)
cosmic track distance projected backwards from track start
Definition: CosRejObj.cxx:237
void SetCosBakDist(float cosbakdist)
cosmic track distance projected backwards from track start
Definition: CosRejObj.cxx:201
void SetFScattSig(float fscattsig)
sigma of scattering angles (Fernanda&#39;s);
Definition: CosRejObj.cxx:405
void SetAngleKal2nd(float angle2nd)
cos of angle of 2nd best Kalman track wrt beam
Definition: CosRejObj.cxx:435
float KalChiDiff() const
Definition: CosRejObj.cxx:743
float OldCosPID() const
Definition: CosRejObj.cxx:471
float fKalYPosAtTrans
Definition: CosRejObj.h:192
void SetConCosPID(float concospid)
PID for contained cosmic rejection (The one to use - P5 train)
Definition: CosRejObj.cxx:92
void SetFScattExt(float fscattext)
scattering variable (Fernanda&#39;s)
Definition: CosRejObj.cxx:399
void SetERatio(float eratio)
ratio of visible E in best track/ visible E in whole slice
Definition: CosRejObj.cxx:327
void SetKalFwdSteel(float kalfwdsteel)
distance (dist,cm) through muon catcher traveled, when projected forwards to detector edge...
Definition: CosRejObj.cxx:231
void SetCosBakSteel(float cosbaksteel)
distance (dist,cm) through muon catcher traveled, when projected backwards to detector edge...
Definition: CosRejObj.cxx:213
float AngleKal() const
Definition: CosRejObj.cxx:453