77 MsgStream log(
msgSvc(), name());
78 SmartDataPtr<RecTofTrackCol> tofTracks(eventSvc(),
"/Event/Recon/RecTofTrackCol");
80 log << MSG::ERROR <<
"Unable to retrieve RecTofTrackCol" << endreq;
81 return StatusCode::FAILURE;
84 log << MSG::DEBUG <<
"RecTofTrackCol retrieved of size "<< tofTracks->size() << endreq;
85 for(RecTofTrackCol::iterator it=tofTracks->begin(); it!=tofTracks->end(); it++) {
88 m_tofTrackID = (*it)->tofTrackID();
89 m_trackID = (*it)->trackID();
90 m_tofID = (*it)->tofID();
91 unsigned int status = (*it)->status();
94 m_status = (*it)->status();
101 m_layer = tofhits->
layer();
103 m_neast = tofhits->
neast();
104 m_nwest = tofhits->
nwest();
106 m_path = (*it)->path();
107 m_zrhit = (*it)->zrhit();
109 m_tof = (*it)->tof();
110 m_errtof = (*it)->errtof();
111 m_beta = (*it)->beta();
112 m_texpe = (*it)->texpElectron();
113 m_texpmu = (*it)->texpMuon();
114 m_texppi = (*it)->texpPion();
115 m_texpk = (*it)->texpKaon();
116 m_texpp = (*it)->texpProton();
117 m_toffe = (*it)->toffsetElectron();
118 m_toffmu = (*it)->toffsetMuon();
119 m_toffpi = (*it)->toffsetPion();
120 m_toffk = (*it)->toffsetKaon();
121 m_toffp = (*it)->toffsetProton();
122 m_toffpb = (*it)->toffsetAntiProton();
123 m_sigmae = (*it)->sigmaElectron();
124 m_sigmamu = (*it)->sigmaMuon();
125 m_sigmapi = (*it)->sigmaPion();
126 m_sigmak = (*it)->sigmaKaon();
127 m_sigmap = (*it)->sigmaProton();
128 m_sigmapb = (*it)->sigmaAntiProton();
129 m_quality = (*it)->quality();
131 m_errt0 = (*it)->errt0();
132 m_errz = (*it)->errz();
133 m_phi = (*it)->phi();
134 m_errphi = (*it)->errphi();
135 m_energy = (*it)->energy();
136 m_errenergy = (*it)->errenergy();
138 m_tuple_tof->write();
141 return StatusCode::SUCCESS;