SRCosRej.h
Go to the documentation of this file.
1 #ifndef SRCOSREJ_H
2 #define SRCOSREJ_H
3 
4 
5 namespace caf
6 {
7  /// Output from Cosmic Rejection (CosRej) module
8  class SRCosRej{
9  public:
10  SRCosRej();
11  ~SRCosRej();
12 
13  void setDefault();
14 
15  /// \name Track Projections
16  //@
17  float mindist; ///< minimum projected distance to edge of any Kalman track with > 15 hits
18  int mincell; ///< minimum projected cells to edge of any Kalman track with > 15 hits
19  //@}
20 
21  /// \name Other Track Information
22  //@
23  float anglekal; ///< cos of angle of best ReMId Kalman track
24  float anglecos; ///< cos of angle of Cosmic Track
25  int nkal3d; ///< number of 3D tracks as determined by Kalman tracker
26  float costhetatrue; ///< cosine of angle between cosmic trk dir and true dir of most contributing particle
27  float kalthetatrue; ///< cosine of angle between kalman trk dir and true dir of most contributing particle
28  int pdgbest; ///< pdg code of most contributing true particle to best kalman trk
29  //@}
30 
31 
32  /// \name PIDs
33  //@
34  float numucontpid2020; ///< cosmic rejection PID for contained events; 2020 Analysis
35  float numucontpid2019; ///< cosmic rejection PID for contained events; 2019 Analysis
36  float numuunconttunedpid; ///< tuned cosmic rejection PID for uncontained events - Jose's;
37  //@}
38 
39  /// \name Scattering Variables
40  //@
41  float scatt; ///< sum of all all angular deviation (looping over kaltrk traj pts) / trk len
42  float fscattmax; ///< maximum scattering angle (Fernanda)
43  float fscattsum; ///< sum of scattering angles (Fernanda)
44  float fscattext; ///< scattering variable (Fernanda)
45  float fscattsig; ///< sigma of scattering variable distribution (Fernanda)
46  //@}
47 
48  /// \name Energy and Activity
49  //@
50  float eratio; ///< ratio of best kalman track GeV / slice GeV
51  float hadE; ///< GeV sum of non (Kalman best ReMId) track E
52  //@}
53 
54  // track timing fits - disabled until fast timing is implemented
55  float kfitspeed; ///< fit inverse speed (ns/cm) of Hough timing fit (TimingFit module) for best ReMId Kalman track
56  float cfitspeed; ///< fit inverse speed (ns/cm) of Hough timing fit (TimingFit module) for cosmic track
57  float kdirscore; ///< chisq score difference between +c and -c assumptions in Hough timing fit (TimingFit module) for best ReMId Kalman track
58  float cdirscore; ///< chisq score difference between +c and -c assumptions in Hough timing fit (TimingFit module) for cosmic track
59  float kscorediff; ///< chisq score difference between best +c/-c assumption and free fit in Hough timing fit (TimingFit module) for best ReMId Kalman track
60  float cscorediff; ///< chisq score difference between best +c/-c assumption and free fit in Hough timing fit (TimingFit module) for Cosmic track
61  float kalslope; ///< slope of track timing fit (kalmantrack)
62  float kalchisq; ///< chisq value of slope fit (kalmantrack)
63  float kalchidiff; ///< chisq difference of track timing fits (kalmantrack)
64  float cosslope; ///< slope of track timing fit (cosmictrack)
65  float coschisq; ///< chisq value of slope fit (cosmictrack)
66  float coschidiff; ///< chisq difference of track timing fits (cosmictrack)
67 
68  };
69 
70 } // end namespace
71 
72 #endif // SRCOSREJ_H
73 //////////////////////////////////////////////////////////////////////////////
float fscattsum
sum of scattering angles (Fernanda)
Definition: SRCosRej.h:43
float kalchisq
chisq value of slope fit (kalmantrack)
Definition: SRCosRej.h:62
float costhetatrue
cosine of angle between cosmic trk dir and true dir of most contributing particle ...
Definition: SRCosRej.h:26
float cfitspeed
fit inverse speed (ns/cm) of Hough timing fit (TimingFit module) for cosmic track ...
Definition: SRCosRej.h:56
float cosslope
slope of track timing fit (cosmictrack)
Definition: SRCosRej.h:64
int pdgbest
pdg code of most contributing true particle to best kalman trk
Definition: SRCosRej.h:28
float fscattsig
sigma of scattering variable distribution (Fernanda)
Definition: SRCosRej.h:45
Output from Cosmic Rejection (CosRej) module.
Definition: SRCosRej.h:8
float scatt
sum of all all angular deviation (looping over kaltrk traj pts) / trk len
Definition: SRCosRej.h:41
float cscorediff
chisq score difference between best +c/-c assumption and free fit in Hough timing fit (TimingFit modu...
Definition: SRCosRej.h:60
void setDefault()
Definition: SRCosRej.cxx:44
float kalslope
slope of track timing fit (kalmantrack)
Definition: SRCosRej.h:61
float hadE
GeV sum of non (Kalman best ReMId) track E.
Definition: SRCosRej.h:51
float mindist
minimum projected distance to edge of any Kalman track with > 15 hits
Definition: SRCosRej.h:17
float anglekal
cos of angle of best ReMId Kalman track
Definition: SRCosRej.h:23
int mincell
minimum projected cells to edge of any Kalman track with > 15 hits
Definition: SRCosRej.h:18
float kdirscore
chisq score difference between +c and -c assumptions in Hough timing fit (TimingFit module) for best ...
Definition: SRCosRej.h:57
float kalchidiff
chisq difference of track timing fits (kalmantrack)
Definition: SRCosRej.h:63
float coschidiff
chisq difference of track timing fits (cosmictrack)
Definition: SRCosRej.h:66
float coschisq
chisq value of slope fit (cosmictrack)
Definition: SRCosRej.h:65
int nkal3d
number of 3D tracks as determined by Kalman tracker
Definition: SRCosRej.h:25
float eratio
ratio of best kalman track GeV / slice GeV
Definition: SRCosRej.h:50
float kalthetatrue
cosine of angle between kalman trk dir and true dir of most contributing particle ...
Definition: SRCosRej.h:27
float numuunconttunedpid
tuned cosmic rejection PID for uncontained events - Jose&#39;s;
Definition: SRCosRej.h:36
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float numucontpid2019
cosmic rejection PID for contained events; 2019 Analysis
Definition: SRCosRej.h:35
float numucontpid2020
cosmic rejection PID for contained events; 2020 Analysis
Definition: SRCosRej.h:34
float kfitspeed
fit inverse speed (ns/cm) of Hough timing fit (TimingFit module) for best ReMId Kalman track ...
Definition: SRCosRej.h:55
float anglecos
cos of angle of Cosmic Track
Definition: SRCosRej.h:24
float kscorediff
chisq score difference between best +c/-c assumption and free fit in Hough timing fit (TimingFit modu...
Definition: SRCosRej.h:59
float fscattext
scattering variable (Fernanda)
Definition: SRCosRej.h:44
float cdirscore
chisq score difference between +c and -c assumptions in Hough timing fit (TimingFit module) for cosmi...
Definition: SRCosRej.h:58
float fscattmax
maximum scattering angle (Fernanda)
Definition: SRCosRej.h:42