39 {
40
41 MsgStream log(
msgSvc(), name());
42 log << MSG::INFO << "in execute()" <<endreq;
43
44
45 SmartDataPtr<Event::EventHeader> eventHeader(eventSvc(),"/Event/EventHeader");
48
49 bool save2TDS = false;
51 if ( !recPi0Col ) {
53 save2TDS = true;
54 }
56
58
59
60
62
63
66
69
71
72 if ( save2TDS ) {
74 if ( sc.isFailure() ) {
75 log << MSG::ERROR << "could not register EvtRecPi0Col in TDS" <<endreq;
76 return StatusCode::FAILURE;
77 }
78 }
79 return StatusCode::SUCCESS;
80}
ObjectVector< EvtRecPi0 > EvtRecPi0Col
_EXTERN_ std::string EvtRecPi0Col
_EXTERN_ std::string EvtRecEvent
_EXTERN_ std::string EvtRecTrackCol
Pi0List & make_pi0_list(const GammaList &gamma_list)
GammaList & make_gamma_list(UserPi0Cut &cut)
void Pi0ListToTDS(const Pi0List &pi0list, EvtRecPi0Col *recPi0Col)
GammaList & GetDefaultGammaList()
Pi0List & GetCandidatePi0List()
Pi0List & apply_criteria(const Criteria &cri)
static void SetForTrack(EvtRecEvent *_recEvt, EvtRecTrackCol *_recTrkCol)