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 )
70 {
_states.insert( std::make_pair(iter->first, static_cast<SvtxTrackState*>(iter->second->CloneMe() ) ) ); }
104 os <<
"SvtxTrack_v3 Object ";
105 os <<
"id: " <<
get_id() <<
" ";
111 os <<
"(px,py,pz) = ("
114 <<
get_pz() <<
")" << std::endl;
116 os <<
"(x,y,z) = (" <<
get_x() <<
"," <<
get_y() <<
"," <<
get_z() <<
")" << std::endl;
120 os <<
"list of cluster IDs ";
125 unsigned int cluster_id = *iter;
126 os << cluster_id <<
" ";
129 os <<
"list of cluster keys ";
135 os << cluster_key <<
" ";
139 os <<
" track has no clusters " << std::endl;
148 for(
const auto& pair:
_states )
149 {
delete pair.second; }
161 const auto iter =
_states.find(pathlength);
162 return (iter ==
_states.end()) ?
nullptr:iter->second;
167 const auto iter =
_states.find(pathlength);
168 return (iter ==
_states.end()) ?
nullptr:iter->second;
175 auto iterator =
_states.lower_bound( pathlength );
176 if( iterator ==
_states.end() || pathlength < iterator->first )
180 iterator =
_states.insert(iterator, std::make_pair( pathlength, copy ));
184 return iterator->second;
199 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_dphi.find(layer);
200 if (citer ==
_cal_dphi.end())
return NAN;
201 return citer->second;
206 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_deta.find(layer);
207 if (citer ==
_cal_deta.end())
return NAN;
208 return citer->second;
213 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_3x3.find(layer);
215 return citer->second;
220 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_5x5.find(layer);
222 return citer->second;
227 std::map<SvtxTrack::CAL_LAYER, int>::const_iterator citer =
_cal_cluster_id.find(layer);
229 return citer->second;
234 std::map<SvtxTrack::CAL_LAYER, TrkrDefs::cluskey>::const_iterator citer =
_cal_cluster_key.find(layer);
236 return citer->second;
241 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_cluster_e.find(layer);
243 return citer->second;