15 for(
int i = 0; i < 6; i++)
16 for(
int j = 0; j < 6; j++)
33 {
if(
this != &source )
CopyFrom( source );
return *
this; }
41 if(
this == &source )
return;
47 for(
int i = 0; i<6; ++i )
48 for(
int j = 0; j<6; ++j )
68 {
_states.insert( std::make_pair(iter->first, static_cast<SvtxTrackState*>(iter->second->CloneMe() ) ) ); }
102 os <<
"SvtxTrack_v2 Object ";
103 os <<
"id: " <<
get_id() <<
" ";
109 os <<
"(px,py,pz) = ("
112 <<
get_pz() <<
")" << std::endl;
114 os <<
"(x,y,z) = (" <<
get_x() <<
"," <<
get_y() <<
"," <<
get_z() <<
")" << std::endl;
118 os <<
"list of cluster IDs ";
123 unsigned int cluster_id = *iter;
124 os << cluster_id <<
" ";
127 os <<
"list of cluster keys ";
133 os << cluster_key <<
" ";
137 os <<
" track has no clusters " << std::endl;
146 for(
const auto& pair:
_states )
147 {
delete pair.second; }
159 const auto iter =
_states.find(pathlength);
160 return (iter ==
_states.end()) ?
nullptr:iter->second;
165 const auto iter =
_states.find(pathlength);
166 return (iter ==
_states.end()) ?
nullptr:iter->second;
173 auto iterator =
_states.lower_bound( pathlength );
174 if( iterator ==
_states.end() || pathlength < iterator->first )
178 iterator =
_states.insert(iterator, std::make_pair( pathlength,
copy ));
182 return iterator->second;
197 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_dphi.find(layer);
198 if (citer ==
_cal_dphi.end())
return NAN;
199 return citer->second;
204 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_deta.find(layer);
205 if (citer ==
_cal_deta.end())
return NAN;
206 return citer->second;
211 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_3x3.find(layer);
213 return citer->second;
218 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_5x5.find(layer);
220 return citer->second;
225 std::map<SvtxTrack::CAL_LAYER, int>::const_iterator citer =
_cal_cluster_id.find(layer);
227 return citer->second;
232 std::map<SvtxTrack::CAL_LAYER, TrkrDefs::cluskey>::const_iterator citer =
_cal_cluster_key.find(layer);
234 return citer->second;
239 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_cluster_e.find(layer);
241 return citer->second;