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