#include <DataFormats/TrackAnalysisInfo/interface/TrackingRecHitInfo.h>
Public Types | |
typedef reco::StateType | StateType |
typedef std::map< StateType, TrackingStateInfo > | TrackingStates |
Public Member Functions | |
const LocalVector | localTrackMomentumOnMono (StateType statetype) const |
const LocalVector | localTrackMomentumOnStereo (StateType statetype) const |
const LocalPoint | localTrackPositionOnMono (StateType statetype) const |
const LocalPoint | localTrackPositionOnStereo (StateType statetype) const |
const PTrajectoryStateOnDet * | stateOnDet (StateType statetype) const |
const TrackingStates & | statesOnDet () const |
TrackingRecHitInfo (RecHitType type, TrackingStates &states) | |
TrackingRecHitInfo () | |
const RecHitType | type () const |
Private Attributes | |
TrackingStates | states_ |
RecHitType | type_ |
Definition at line 24 of file TrackingRecHitInfo.h.
Definition at line 27 of file TrackingRecHitInfo.h.
typedef std::map<StateType, TrackingStateInfo > reco::TrackingRecHitInfo::TrackingStates |
Definition at line 28 of file TrackingRecHitInfo.h.
reco::TrackingRecHitInfo::TrackingRecHitInfo | ( | ) | [inline] |
reco::TrackingRecHitInfo::TrackingRecHitInfo | ( | RecHitType | type, | |
TrackingStates & | states | |||
) | [inline] |
const LocalVector TrackingRecHitInfo::localTrackMomentumOnMono | ( | StateType | statetype | ) | const |
Definition at line 6 of file TrackingRecHitInfo.cc.
References state, and states_.
00006 { 00007 TrackingStates::const_iterator state=states_.find(statetype); 00008 if(state!=states_.end())return state->second.localTrackMomentumOnMono(); 00009 else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; 00010 return LocalVector(0,0,0); 00011 }
const LocalVector TrackingRecHitInfo::localTrackMomentumOnStereo | ( | StateType | statetype | ) | const |
Definition at line 14 of file TrackingRecHitInfo.cc.
References state, and states_.
00014 { 00015 TrackingStates::const_iterator state=states_.find(statetype); 00016 if(state!=states_.end())return state->second.localTrackMomentumOnStereo(); 00017 else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; 00018 return LocalVector(0,0,0); 00019 }
const LocalPoint TrackingRecHitInfo::localTrackPositionOnMono | ( | StateType | statetype | ) | const |
Definition at line 21 of file TrackingRecHitInfo.cc.
References state, and states_.
00021 { 00022 TrackingStates::const_iterator state=states_.find(statetype); 00023 if(state!=states_.end())return state->second.localTrackPositionOnMono(); 00024 else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; 00025 return LocalPoint(0,0,0); 00026 }
const LocalPoint TrackingRecHitInfo::localTrackPositionOnStereo | ( | StateType | statetype | ) | const |
Definition at line 28 of file TrackingRecHitInfo.cc.
References state, and states_.
00028 { 00029 TrackingStates::const_iterator state=states_.find(statetype); 00030 if(state!=states_.end())return state->second.localTrackPositionOnStereo(); 00031 else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; 00032 return LocalPoint(0,0,0); 00033 }
const PTrajectoryStateOnDet * TrackingRecHitInfo::stateOnDet | ( | StateType | statetype | ) | const |
Definition at line 35 of file TrackingRecHitInfo.cc.
References state, and states_.
00035 { 00036 TrackingStates::const_iterator state=states_.find(statetype); 00037 if(state!=states_.end())return state->second.stateOnDet(); 00038 else edm::LogError("TrackInfo")<<"This rechit does not exist"; 00039 return 0; 00040 }
const TrackingStates& reco::TrackingRecHitInfo::statesOnDet | ( | ) | const [inline] |
const RecHitType reco::TrackingRecHitInfo::type | ( | ) | const [inline] |
Definition at line 42 of file TrackingRecHitInfo.h.
Referenced by localTrackMomentumOnMono(), localTrackMomentumOnStereo(), localTrackPositionOnMono(), localTrackPositionOnStereo(), stateOnDet(), and statesOnDet().
RecHitType reco::TrackingRecHitInfo::type_ [private] |