28 {
if(
this != &source )
CopyFrom( source );
return *
this; }
38 if(
this == &source )
return;
60 {
_states.insert( std::make_pair(iter->first, static_cast<SvtxTrackState*>(iter->second->CloneMe() ) ) ); }
95 os <<
"SvtxTrack_v1 Object ";
96 os <<
"id: " <<
get_id() <<
" ";
102 os <<
"(px,py,pz) = ("
105 <<
get_pz() <<
")" << std::endl;
107 os <<
"(x,y,z) = (" <<
get_x() <<
"," <<
get_y() <<
"," <<
get_z() <<
")" << std::endl;
111 os <<
"list of cluster IDs ";
116 unsigned int cluster_id = *iter;
117 os << cluster_id <<
" ";
120 os <<
"list of cluster keys ";
126 os << cluster_key <<
" ";
130 os <<
" track has no clusters " << std::endl;
139 for(
const auto& pair:
_states )
140 {
delete pair.second; }
153 if (iter ==
_states.end())
return nullptr;
160 if (iter ==
_states.end())
return nullptr;
168 if( !inserted )
delete copy;
169 return iterator->second;
184 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_dphi.find(layer);
185 if (citer ==
_cal_dphi.end())
return NAN;
186 return citer->second;
191 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_deta.find(layer);
192 if (citer ==
_cal_deta.end())
return NAN;
193 return citer->second;
198 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_3x3.find(layer);
200 return citer->second;
205 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_energy_5x5.find(layer);
207 return citer->second;
212 std::map<SvtxTrack::CAL_LAYER, int>::const_iterator citer =
_cal_cluster_id.find(layer);
214 return citer->second;
219 std::map<SvtxTrack::CAL_LAYER, TrkrDefs::cluskey>::const_iterator citer =
_cal_cluster_key.find(layer);
221 return citer->second;
226 std::map<SvtxTrack::CAL_LAYER, float>::const_iterator citer =
_cal_cluster_e.find(layer);
228 return citer->second;