CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

reco::TrackingRecHitInfo Class Reference

#include <DataFormats/TrackAnalysisInfo/interface/TrackingRecHitInfo.h>

List of all members.

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 PTrajectoryStateOnDetstateOnDet (StateType statetype) const
const TrackingStatesstatesOnDet () const
 TrackingRecHitInfo ()
 TrackingRecHitInfo (RecHitType type, TrackingStates &states)
const RecHitType type () const

Private Attributes

TrackingStates states_
RecHitType type_

Detailed Description

It contains additional info for tracker studies

Author:
Chiara Genta
Version:
Id:
TrackingRecHitInfo.h,v 1.4 2007/04/18 16:46:37 genta Exp

Definition at line 24 of file TrackingRecHitInfo.h.


Member Typedef Documentation

Definition at line 27 of file TrackingRecHitInfo.h.

Definition at line 28 of file TrackingRecHitInfo.h.


Constructor & Destructor Documentation

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.

:type_(type),states_(states){}

Member Function Documentation

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]

Definition at line 37 of file TrackingRecHitInfo.h.

References states_.

{return states_;}
const RecHitType reco::TrackingRecHitInfo::type ( ) const [inline]

Definition at line 32 of file TrackingRecHitInfo.h.

References type_.

{return type_;}

Member Data Documentation

Definition at line 41 of file TrackingRecHitInfo.h.

Referenced by type().