@@ -38,7 +38,7 @@ namespace iguana::clas12 {
38
38
void Run (hipo::banklist& banks) const override ;
39
39
void Stop () override ;
40
40
41
- // / **Method**: Applies forward detector cut using REC::Particle Theta
41
+ // / Applies forward detector cut using REC::Particle Theta
42
42
// / @param theta lab angle of the particle with respect to the beam direction (radians)
43
43
// / @returns `true` if the particle's theta is within the forward detector coverage, `false` otherwise
44
44
bool ForwardDetectorFilter (float const theta) const ;
@@ -66,14 +66,14 @@ namespace iguana::clas12 {
66
66
double ecout_m2v = 0 ;
67
67
};
68
68
69
- // / **Method**: Applies pid purity cuts to photons, compatible to how the GBT models are trained
69
+ // / Applies pid purity cuts to photons, compatible to how the GBT models are trained
70
70
// / @param E energy of the photon
71
71
// / @param Epcal energy the photon has deposited in the pre-shower calorimeter
72
72
// / @param theta lab angle of the photon with respect to the beam direction (radians)
73
73
// / @returns `true` if the photon passes the pid purity cuts, `false` otherwise
74
74
bool PidPurityPhotonFilter (float const E, float const Epcal, float const theta) const ;
75
75
76
- // / **Action function**: Classifies the photon for a given event as signal or background
76
+ // / Classifies the photon for a given event as signal or background
77
77
// / @param particleBank the REC::Particle hipo bank
78
78
// / @param caloBank the REC::Calorimeter hipo bank
79
79
// / @param calo_map the std::map<> of calorimeter data for the event, indexed by pindex
@@ -83,32 +83,32 @@ namespace iguana::clas12 {
83
83
bool Filter (hipo::bank const &particleBank, hipo::bank const &caloBank, std::map<int , PhotonGBTFilter::calo_row_data> calo_map, int const row, int const runnum) const ;
84
84
85
85
86
- // / **Method**: Calls the appropriate CatBoost model for the given run group, classifying the photon of interest
86
+ // / Calls the appropriate CatBoost model for the given run group, classifying the photon of interest
87
87
// / @param input_data the input features of the model
88
88
// / @param runnum the run number associated to the event
89
89
// / @returns `true` if the
90
90
bool ClassifyPhoton (std::vector<float > const &input_data, int const runnum) const ;
91
91
92
92
93
- // / **Method**: Gets calorimeter data for particles in the event
93
+ // / Gets calorimeter data for particles in the event
94
94
// / @param bank the bank to get data from
95
95
// / @returns a map with keys as particle indices (pindex) and values as calo_row_data structs
96
96
std::map<int , PhotonGBTFilter::calo_row_data> GetCaloMap (hipo::bank const &bank) const ;
97
97
98
98
99
- // / **Method**: Gets the calorimeter vector for a particle in the event
99
+ // / Gets the calorimeter vector for a particle in the event
100
100
// / @param crd data struct of a single REC::Calorimeter's row data
101
101
// / @returns a ROOT::Math::XYZVector with the coordinates of the particle in the calorimeter
102
102
ROOT::Math::XYZVector GetParticleCaloVector (PhotonGBTFilter::calo_row_data calo_row) const ;
103
103
104
104
105
- // / **Method**: Gets the mass of a particle given its PID
105
+ // / Gets the mass of a particle given its PID
106
106
// / @param pid the particle ID to get the mass for
107
107
// / @returns the mass of the particle in GeV; returns -1.0 if the PID is not recognized
108
108
double GetMass (int pid) const ;
109
109
110
110
111
- // / **Method**: Gets the model function for the run number
111
+ // / Gets the model function for the run number
112
112
// / @param runnum the run of the associated event
113
113
// / @returns GBT function for the run period
114
114
std::function<double (std::vector<float > const &)> getModelFunction (int runnum) const ;
0 commit comments