14 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
15 if(states!=
trajstates_.end())
return states->second.type();
16 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
21 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
22 if(states!=
trajstates_.end())
return states->second.stateOnDet(statetype);
23 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
29 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
35 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
41 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
42 if(states!=
trajstates_.end())
return states->second.localTrackMomentumOnMono(statetype);
43 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
49 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
50 if(states!=
trajstates_.end())
return states->second.localTrackMomentumOnStereo(statetype);
56 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
62 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
69 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
70 if(states!=
trajstates_.end())
return states->second.localTrackPositionOnMono(statetype);
71 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
77 TrajectoryInfo::const_iterator states=
trajstates_.find(hit);
78 if(states!=
trajstates_.end())
return states->second.localTrackPositionOnStereo(statetype);
79 else edm::LogError(
"TrackInfo")<<
"This rechit does not exist";
Local3DVector LocalVector
const TrajectorySeed & seed() const
LocalPoint position() const
Local x and y position coordinates.
const TrajectoryInfo & trajStateMap() const
const LocalVector localTrackMomentumOnStereo(StateType, TrackingRecHitRef) const
const LocalPoint localTrackPositionOnStereo(StateType, TrackingRecHitRef) const
const RecHitType type(TrackingRecHitRef) const
const LocalVector localTrackMomentum(StateType, TrackingRecHitRef) const
const LocalPoint localTrackPosition(StateType, TrackingRecHitRef) const
LocalVector momentum() const
Momentum vector in the local frame.
const LocalPoint localTrackPositionOnMono(StateType, TrackingRecHitRef) const
const PTrajectoryStateOnDet * stateOnDet(StateType, TrackingRecHitRef) const
TrajectoryInfo trajstates_
const LocalVector localTrackMomentumOnMono(StateType, TrackingRecHitRef) const
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalVector
vector in local coordinate system
const LocalTrajectoryParameters & parameters() const
std::map< TrackingRecHitRef, TrackingRecHitInfo > TrajectoryInfo
default constructor