CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingRecHitInfo.cc
Go to the documentation of this file.
3 
4 using namespace reco;
5 
7  TrackingStates::const_iterator state=states_.find(statetype);
8  if(state!=states_.end())return state->second.localTrackMomentumOnMono();
9  else edm::LogError("TrackingRecHitInfo")<<"This state does not exist";
10  return LocalVector(0,0,0);
11 }
12 
13 
15  TrackingStates::const_iterator state=states_.find(statetype);
16  if(state!=states_.end())return state->second.localTrackMomentumOnStereo();
17  else edm::LogError("TrackingRecHitInfo")<<"This state does not exist";
18  return LocalVector(0,0,0);
19 }
20 
22  TrackingStates::const_iterator state=states_.find(statetype);
23  if(state!=states_.end())return state->second.localTrackPositionOnMono();
24  else edm::LogError("TrackingRecHitInfo")<<"This state does not exist";
25  return LocalPoint(0,0,0);
26 }
27 
29  TrackingStates::const_iterator state=states_.find(statetype);
30  if(state!=states_.end())return state->second.localTrackPositionOnStereo();
31  else edm::LogError("TrackingRecHitInfo")<<"This state does not exist";
32  return LocalPoint(0,0,0);
33 }
34 
36  TrackingStates::const_iterator state=states_.find(statetype);
37  if(state!=states_.end())return state->second.stateOnDet();
38  else edm::LogError("TrackInfo")<<"This rechit does not exist";
39  return 0;
40 }
const LocalPoint localTrackPositionOnStereo(StateType statetype) const
const LocalVector localTrackMomentumOnStereo(StateType statetype) const
Local3DVector LocalVector
Definition: LocalVector.h:12
const PTrajectoryStateOnDet * stateOnDet(StateType statetype) const
const LocalPoint localTrackPositionOnMono(StateType statetype) const
const LocalVector localTrackMomentumOnMono(StateType statetype) const
char state
Definition: procUtils.cc:75
Local3DPoint LocalPoint
Definition: LocalPoint.h:11
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
Definition: Point3D.h:16
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalVector
vector in local coordinate system
Definition: Vector3D.h:26