CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
MuonSeedDetLayer Class Reference

#include <MuonSeedDetLayer.h>

Classes

class  HigherR
 sort More...
 
class  LowerR
 sort More...
 

Public Member Functions

int id () const
 return layer identifyer More...
 
const DetLayerlayer () const
 return layer More...
 
 MuonSeedDetLayer (const DetLayer *layer, GlobalPoint &point, int id, TrajectoryStateOnSurface &state)
 constructor More...
 
const GlobalPointpoint () const
 return impact point More...
 
double radius () const
 return radius of impact point More...
 
const TrajectoryStateOnSurfacestate () const
 return trajectory state on layer More...
 
double z () const
 return z coordinate of impact point More...
 
virtual ~MuonSeedDetLayer ()
 destructor More...
 

Private Attributes

int theID
 
const DetLayertheLayer
 
GlobalPoint thePoint
 
TrajectoryStateOnSurface theState
 

Detailed Description

Muon seed detector layer Helper class for seed generation

Date:
2007/02/18 16:01:47
Revision:
1.3
Author
N. Neumeister Purdue University

Definition at line 26 of file MuonSeedDetLayer.h.

Constructor & Destructor Documentation

MuonSeedDetLayer::MuonSeedDetLayer ( const DetLayer layer,
GlobalPoint point,
int  id,
TrajectoryStateOnSurface state 
)
inline

constructor

Definition at line 31 of file MuonSeedDetLayer.h.

34  :
35  theLayer(layer), thePoint(point), theID(id), theState(state) {}
const DetLayer * theLayer
GlobalPoint thePoint
TrajectoryStateOnSurface theState
virtual MuonSeedDetLayer::~MuonSeedDetLayer ( )
inlinevirtual

destructor

Definition at line 38 of file MuonSeedDetLayer.h.

38 {}

Member Function Documentation

int MuonSeedDetLayer::id ( void  ) const
inline

return layer identifyer

Definition at line 47 of file MuonSeedDetLayer.h.

References theID.

47 { return theID; }
const DetLayer* MuonSeedDetLayer::layer ( ) const
inline

return layer

Definition at line 41 of file MuonSeedDetLayer.h.

References theLayer.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

41 { return theLayer; }
const DetLayer * theLayer
const GlobalPoint& MuonSeedDetLayer::point ( ) const
inline

return impact point

Definition at line 44 of file MuonSeedDetLayer.h.

References thePoint.

44 { return thePoint; }
GlobalPoint thePoint
double MuonSeedDetLayer::radius ( void  ) const
inline

return radius of impact point

Definition at line 53 of file MuonSeedDetLayer.h.

References mathSSE::sqrt(), thePoint, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().

Referenced by MuonSeedDetLayer::HigherR::operator()(), and MuonSeedDetLayer::LowerR::operator()().

53 { return sqrt(thePoint.x()*thePoint.x()+thePoint.y()*thePoint.y()); }
GlobalPoint thePoint
T y() const
Definition: PV3DBase.h:63
T sqrt(T t)
Definition: SSEVec.h:48
T x() const
Definition: PV3DBase.h:62
const TrajectoryStateOnSurface& MuonSeedDetLayer::state ( ) const
inline

return trajectory state on layer

Definition at line 50 of file MuonSeedDetLayer.h.

References theState.

50 { return theState; }
TrajectoryStateOnSurface theState
double MuonSeedDetLayer::z ( ) const
inline

return z coordinate of impact point

Definition at line 56 of file MuonSeedDetLayer.h.

References thePoint, and PV3DBase< T, PVType, FrameType >::z().

Referenced by geometryXMLparser.Alignable::pos().

56 { return thePoint.z(); }
GlobalPoint thePoint
T z() const
Definition: PV3DBase.h:64

Member Data Documentation

int MuonSeedDetLayer::theID
private

Definition at line 80 of file MuonSeedDetLayer.h.

Referenced by id().

const DetLayer* MuonSeedDetLayer::theLayer
private

Definition at line 78 of file MuonSeedDetLayer.h.

Referenced by layer().

GlobalPoint MuonSeedDetLayer::thePoint
private

Definition at line 79 of file MuonSeedDetLayer.h.

Referenced by point(), radius(), and z().

TrajectoryStateOnSurface MuonSeedDetLayer::theState
private

Definition at line 81 of file MuonSeedDetLayer.h.

Referenced by state().