#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 () | |
TrackingRecHitInfo (RecHitType type, TrackingStates &states) | |
const RecHitType | type () const |
Private Attributes | |
TrackingStates | states_ |
RecHitType | type_ |
It contains additional info for tracker studies
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] |
Definition at line 30 of file TrackingRecHitInfo.h.
{}
reco::TrackingRecHitInfo::TrackingRecHitInfo | ( | RecHitType | type, |
TrackingStates & | states | ||
) | [inline] |
Definition at line 31 of file TrackingRecHitInfo.h.
const LocalVector TrackingRecHitInfo::localTrackMomentumOnMono | ( | StateType | statetype | ) | const |
Definition at line 6 of file TrackingRecHitInfo.cc.
References states_.
{ TrackingStates::const_iterator state=states_.find(statetype); if(state!=states_.end())return state->second.localTrackMomentumOnMono(); else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; return LocalVector(0,0,0); }
const LocalVector TrackingRecHitInfo::localTrackMomentumOnStereo | ( | StateType | statetype | ) | const |
Definition at line 14 of file TrackingRecHitInfo.cc.
References states_.
{ TrackingStates::const_iterator state=states_.find(statetype); if(state!=states_.end())return state->second.localTrackMomentumOnStereo(); else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; return LocalVector(0,0,0); }
const LocalPoint TrackingRecHitInfo::localTrackPositionOnMono | ( | StateType | statetype | ) | const |
Definition at line 21 of file TrackingRecHitInfo.cc.
References states_.
{ TrackingStates::const_iterator state=states_.find(statetype); if(state!=states_.end())return state->second.localTrackPositionOnMono(); else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; return LocalPoint(0,0,0); }
const LocalPoint TrackingRecHitInfo::localTrackPositionOnStereo | ( | StateType | statetype | ) | const |
Definition at line 28 of file TrackingRecHitInfo.cc.
References states_.
{ TrackingStates::const_iterator state=states_.find(statetype); if(state!=states_.end())return state->second.localTrackPositionOnStereo(); else edm::LogError("TrackingRecHitInfo")<<"This state does not exist"; return LocalPoint(0,0,0); }
const PTrajectoryStateOnDet * TrackingRecHitInfo::stateOnDet | ( | StateType | statetype | ) | const |
Definition at line 35 of file TrackingRecHitInfo.cc.
References states_.
{ TrackingStates::const_iterator state=states_.find(statetype); if(state!=states_.end())return state->second.stateOnDet(); else edm::LogError("TrackInfo")<<"This rechit does not exist"; return 0; }
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] |
Definition at line 41 of file TrackingRecHitInfo.h.
Referenced by type().