73 int n_readout_hits,
int deepest_layer_hit,
int n_tracking_hits,
74 float summed_det,
float summed_tight_iso,
float max_cell_dep,
75 float shower_rms,
float x_std,
float y_std,
float avg_layer_hit,
76 float std_layer_hit,
float ecal_back_energy,
float ep_ang,
77 float ep_ang_at_target,
float ep_sep,
float ep_dot,
float ep_dot_at_target,
79 std::vector<float> electron_containment_energy,
80 std::vector<float> photon_containment_energy,
81 std::vector<float> outside_containment_energy,
82 std::vector<int> outside_containment_n_hits,
83 std::vector<float> outside_containment_x_std,
84 std::vector<float> outside_containment_y_std,
86 std::vector<float> energy_seg, std::vector<float> x_mean_seg,
87 std::vector<float> y_mean_seg, std::vector<float> x_std_seg,
88 std::vector<float> y_std_seg, std::vector<float> layer_mean_seg,
89 std::vector<float> layer_std_seg,
91 std::vector<std::vector<float>> e_cont_energy,
92 std::vector<std::vector<float>> e_cont_x_mean,
93 std::vector<std::vector<float>> e_cont_y_mean,
94 std::vector<std::vector<float>> g_cont_energy,
95 std::vector<std::vector<int>> g_cont_n_hits,
96 std::vector<std::vector<float>> g_cont_x_mean,
97 std::vector<std::vector<float>> g_cont_y_mean,
98 std::vector<std::vector<float>> o_cont_energy,
99 std::vector<std::vector<int>> o_cont_n_hits,
100 std::vector<std::vector<float>> o_cont_x_mean,
101 std::vector<std::vector<float>> o_cont_y_mean,
102 std::vector<std::vector<float>> o_cont_x_std,
103 std::vector<std::vector<float>> o_cont_y_std,
104 std::vector<std::vector<float>> o_cont_layer_mean,
105 std::vector<std::vector<float>> o_cont_layer_std,
107 std::vector<float> ecal_layer_edep_readout, std::array<float, 3> recoil_p,
108 std::array<float, 3> recoil_pos) {
109 n_readout_hits_ = n_readout_hits;
110 summed_det_ = summed_det;
111 summed_tight_iso_ = summed_tight_iso;
112 max_cell_dep_ = max_cell_dep;
113 shower_rms_ = shower_rms;
116 avg_layer_hit_ = avg_layer_hit;
117 std_layer_hit_ = std_layer_hit;
118 deepest_layer_hit_ = deepest_layer_hit;
119 ecal_back_energy_ = ecal_back_energy;
127 electron_containment_energy_ = electron_containment_energy;
128 photon_containment_energy_ = photon_containment_energy;
129 outside_containment_energy_ = outside_containment_energy;
130 outside_containment_n_hits_ = outside_containment_n_hits;
131 outside_containment_x_std_ = outside_containment_x_std;
132 outside_containment_y_std_ = outside_containment_y_std;
134 energy_seg_ = energy_seg;
135 x_mean_seg_ = x_mean_seg;
136 y_mean_seg_ = y_mean_seg;
137 x_std_seg_ = x_std_seg;
138 y_std_seg_ = y_std_seg;
139 layer_mean_seg_ = layer_mean_seg;
140 layer_std_seg_ = layer_std_seg;
142 e_cont_energy_ = e_cont_energy;
143 e_cont_x_mean_ = e_cont_x_mean;
144 e_cont_y_mean_ = e_cont_y_mean;
145 g_cont_energy_ = g_cont_energy;
146 g_cont_n_hits_ = g_cont_n_hits;
147 g_cont_x_mean_ = g_cont_x_mean;
148 g_cont_y_mean_ = g_cont_y_mean;
149 o_cont_energy_ = o_cont_energy;
150 o_cont_n_hits_ = o_cont_n_hits;
151 o_cont_x_mean_ = o_cont_x_mean;
152 o_cont_y_mean_ = o_cont_y_mean;
153 o_cont_x_std_ = o_cont_x_std;
154 o_cont_y_std_ = o_cont_y_std;
155 o_cont_layer_mean_ = o_cont_layer_mean;
156 o_cont_layer_std_ = o_cont_layer_std;
160 if (!recoil_p.empty()) {
165 if (!recoil_pos.empty()) {
170 ecal_layer_edep_readout_ = ecal_layer_edep_readout;
void setVariables(int n_readout_hits, int deepest_layer_hit, int n_tracking_hits, float summed_det, float summed_tight_iso, float max_cell_dep, float shower_rms, float x_std, float y_std, float avg_layer_hit, float std_layer_hit, float ecal_back_energy, float ep_ang, float ep_ang_at_target, float ep_sep, float ep_dot, float ep_dot_at_target, std::vector< float > electron_containment_energy, std::vector< float > photon_containment_energy, std::vector< float > outside_containment_energy, std::vector< int > outside_containment_n_hits, std::vector< float > outside_containment_x_std, std::vector< float > outside_containment_y_std, std::vector< float > energy_seg, std::vector< float > x_mean_seg, std::vector< float > y_mean_seg, std::vector< float > x_std_seg, std::vector< float > y_std_seg, std::vector< float > layer_mean_seg, std::vector< float > layer_std_seg, std::vector< std::vector< float > > e_cont_energy, std::vector< std::vector< float > > e_cont_x_mean, std::vector< std::vector< float > > e_cont_y_mean, std::vector< std::vector< float > > g_cont_energy, std::vector< std::vector< int > > g_cont_n_hits, std::vector< std::vector< float > > g_cont_x_mean, std::vector< std::vector< float > > g_cont_y_mean, std::vector< std::vector< float > > o_cont_energy, std::vector< std::vector< int > > o_cont_n_hits, std::vector< std::vector< float > > o_cont_x_mean, std::vector< std::vector< float > > o_cont_y_mean, std::vector< std::vector< float > > o_cont_x_std, std::vector< std::vector< float > > o_cont_y_std, std::vector< std::vector< float > > o_cont_layer_mean, std::vector< std::vector< float > > o_cont_layer_std, std::vector< float > ecal_layer_edep_readout, std::array< float, 3 > recoil_p, std::array< float, 3 > recoil_pos)
Set the sim particle and 'is findable' flag.