19 return StatusCode::SUCCESS;
30 return StatusCode::SUCCESS;
91 u_int16_t mynp_endcap = 0;
92 u_int16_t mynp_forward = 0;
95 for (
const auto *
const e_iter : *
electrons) {
98 if (! e_iter->passSelection(isGood,
m_RecoName)) {
107 Float_t myet = e_iter->pt();
108 Float_t myeta = e_iter->eta();
109 Float_t myphi = e_iter->phi();
111 bool myis_pt_gt_2_5gev = myet > 2500. ;
112 bool myis_pt_gt_10gev = myet > 10000. ;
114 is_pt_gt_2_5gev = myis_pt_gt_2_5gev ;
115 is_pt_gt_10gev = myis_pt_gt_10gev ;
121 double myfirstENGdens=-999.;
122 double myfracMax=-999.;
123 double mylateral=-999.;
124 double mylongitudinal=-999.;
125 double mysecondLambda=-999.;
126 double mysecondR=-999.;
127 double mycenterLambda=-999.;
128 double mytime= -999.;
139 mytime = aCluster->
time();
142 firstENGdens = (Float_t) myfirstENGdens;
143 fracMax = (Float_t) myfracMax;
144 lateral = (Float_t) mylateral;
145 longitudinal = (Float_t) mylongitudinal;
146 secondLambda = (Float_t) mysecondLambda;
147 secondR = (Float_t) mysecondR;
148 centerLambda = (Float_t) mycenterLambda;
157 et_endcap = myet ; eta_endcap = myeta ;
158 phi_endcap = myphi ; time_endcap = mytime;
159 fill(
"MonitorFwdElectron",et_endcap,eta_endcap,phi_endcap,time_endcap,is_pt_gt_2_5gev_endcap,is_pt_gt_10gev_endcap);
163 et_forward = myet ; eta_forward = myeta ;
164 phi_forward = myphi ; time_forward = mytime;
165 fill(
"MonitorFwdElectron",et_forward,eta_forward,phi_forward,time_forward,is_pt_gt_2_5gev_forward,is_pt_gt_10gev_forward);
174 et = myet ;
eta = myeta ;
phi = myphi ;
176 firstENGdens, fracMax, lateral, longitudinal, secondLambda,
177 secondR, centerLambda,
time,
178 is_pt_gt_2_5gev, is_pt_gt_10gev);
183 np = mynp; np_endcap = mynp_endcap ; np_forward = mynp_forward ;
184 fill(
"MonitorFwdElectron",
np,np_endcap);
186 return StatusCode::SUCCESS;