15 for(
int i = 0;
i < 6;
i++)
16 for(
int j = 0;
j < 6;
j++)
34 {
if(
this != &source )
CopyFrom( source );
return *
this; }
42 if(
this == &source )
return;
48 for(
int i = 0;
i<6; ++
i )
49 for(
int j = 0;
j<6; ++
j )
69 {
_states.insert( std::make_pair(iter->first, static_cast<SvtxTrackState*>(iter->second->CloneMe() ) ) ); }
103 os <<
"SvtxTrack_v2 Object ";
104 os <<
"id: " <<
get_id() <<
" ";
110 os <<
"(px,py,pz) = ("
113 <<
get_pz() <<
")" << std::endl;
115 os <<
"(x,y,z) = (" <<
get_x() <<
"," <<
get_y() <<
"," <<
get_z() <<
")" << std::endl;
119 os <<
"list of cluster IDs ";
124 unsigned int cluster_id = *iter;
125 os << cluster_id <<
" ";
128 os <<
"list of cluster keys ";
134 os << cluster_key <<
" ";
138 os <<
" track has no clusters " << std::endl;
147 for(
const auto& pair:
_states )
148 {
delete pair.second; }
160 const auto iter =
_states.find(pathlength);
161 return (iter ==
_states.end()) ?
nullptr:iter->second;
166 const auto iter =
_states.find(pathlength);
167 return (iter ==
_states.end()) ?
nullptr:iter->second;
174 auto iterator =
_states.lower_bound( pathlength );
175 if( iterator ==
_states.end() || pathlength < iterator->first )
179 iterator =
_states.insert(iterator, std::make_pair( pathlength, copy ));
183 return iterator->second;
198 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_dphi.find(layer);
199 if (citer ==
_cal_dphi.end())
return NAN;
200 return citer->second;
205 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_deta.find(layer);
206 if (citer ==
_cal_deta.end())
return NAN;
207 return citer->second;
212 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_3x3.find(layer);
214 return citer->second;
219 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_5x5.find(layer);
221 return citer->second;
226 std::map<SvtxTrack::CAL_LAYER, int>::const_iterator citer =
_cal_cluster_id.find(layer);
228 return citer->second;
233 std::map<SvtxTrack::CAL_LAYER, TrkrDefs::cluskey>::const_iterator citer =
_cal_cluster_key.find(layer);
235 return citer->second;
240 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_cluster_e.find(layer);
242 return citer->second;