29 {
if(
this != &source )
CopyFrom( source );
return *
this; }
39 if(
this == &source )
return;
61 {
_states.insert( std::make_pair(iter->first, static_cast<SvtxTrackState*>(iter->second->CloneMe() ) ) ); }
96 os <<
"SvtxTrack_v1 Object ";
97 os <<
"id: " <<
get_id() <<
" ";
103 os <<
"(px,py,pz) = ("
106 <<
get_pz() <<
")" << std::endl;
108 os <<
"(x,y,z) = (" <<
get_x() <<
"," <<
get_y() <<
"," <<
get_z() <<
")" << std::endl;
112 os <<
"list of cluster IDs ";
117 unsigned int cluster_id = *iter;
118 os << cluster_id <<
" ";
121 os <<
"list of cluster keys ";
127 os << cluster_key <<
" ";
131 os <<
" track has no clusters " << std::endl;
140 for(
const auto& pair:
_states )
141 {
delete pair.second; }
154 if (iter ==
_states.end())
return nullptr;
161 if (iter ==
_states.end())
return nullptr;
169 if( !inserted )
delete copy;
170 return iterator->second;
185 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_dphi.find(layer);
186 if (citer ==
_cal_dphi.end())
return NAN;
187 return citer->second;
192 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_deta.find(layer);
193 if (citer ==
_cal_deta.end())
return NAN;
194 return citer->second;
199 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_3x3.find(layer);
201 return citer->second;
206 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_5x5.find(layer);
208 return citer->second;
213 std::map<SvtxTrack::CAL_LAYER, int>::const_iterator citer =
_cal_cluster_id.find(layer);
215 return citer->second;
220 std::map<SvtxTrack::CAL_LAYER, TrkrDefs::cluskey>::const_iterator citer =
_cal_cluster_key.find(layer);
222 return citer->second;
227 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_cluster_e.find(layer);
229 return citer->second;