189 return StatusCode::SUCCESS;
213 if (
sc.isFailure()) {
214 LogStream << MSG::WARNING <<
"ALFA digi, Truth_info failed" <<
endmsg;
215 return StatusCode::SUCCESS;
224 if (
sc.isFailure()) {
225 msg(MSG::ERROR) <<
"Could not create the empty LocRecEv collection in StoreGate" <<
endmsg;
234 if(
sc.isFailure() || !pLocRecCorrCol)
247 for(; mcColBeg!=mcColEnd; ++mcColBeg) {
248 HepGeom::Point3D<double> PointInAtlasCS;
263 hits.ApplyPathPattern(l_pathpattern.Data());
265 for(
int i = 0 ;
i <
hits.GetNpaths() ;
i++){
296 return StatusCode::SUCCESS;
316 if(
sc.isFailure() || !mcTru){
318 return StatusCode::FAILURE;
329 for(;mcTruBeg!=mcTruEnd;++mcTruBeg){
335 if(((std::abs(begGen->pdg_id())==2212)||(std::abs(begGen->pdg_id())==211))){
338 px = begGen->momentum().px();
339 py = begGen->momentum().py();
340 pz = begGen->momentum().pz();
342 x = l_prodvert->position().x();
343 y = l_prodvert->position().y();
344 z = l_prodvert->position().z();
353 }
else if(
z < -236000.){
374 return StatusCode::SUCCESS;
435 double x_g, y_g, z_g, px_g, py_g, pz_g;
451 ATH_MSG_ERROR(
"ALFA_GloRec::FillTrackCandHistos : Track candidate neither left nor right !!!");
463 double px_norm = px_g / pz_g;
464 double py_norm = py_g / pz_g;
479 double genxextrtonearpot = x_g + px_norm * (nearhitz - z_g);
480 double genyextrtonearpot = y_g + py_norm * (nearhitz - z_g);
492 double genxextrtofarpot = x_g + px_norm * (farhitz - z_g);
493 double genyextrtofarpot = y_g + py_norm * (farhitz - z_g);
550 fw_glorecanalysis.Write();
551 fw_glorecanalysis.Close();