test
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

Author
N. Neumeister Purdue University

Definition at line 24 of file MuonSeedDetLayer.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 29 of file MuonSeedDetLayer.h.

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

destructor

Definition at line 36 of file MuonSeedDetLayer.h.

36 {}

Member Function Documentation

int MuonSeedDetLayer::id ( void  ) const
inline

return layer identifyer

Definition at line 45 of file MuonSeedDetLayer.h.

References theID.

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

return layer

Definition at line 39 of file MuonSeedDetLayer.h.

References theLayer.

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

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

return impact point

Definition at line 42 of file MuonSeedDetLayer.h.

References thePoint.

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

return radius of impact point

Definition at line 51 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()().

51 { 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:18
T x() const
Definition: PV3DBase.h:62
const TrajectoryStateOnSurface& MuonSeedDetLayer::state ( ) const
inline

return trajectory state on layer

Definition at line 48 of file MuonSeedDetLayer.h.

References theState.

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

return z coordinate of impact point

Definition at line 54 of file MuonSeedDetLayer.h.

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

Referenced by geometryXMLparser.Alignable::pos().

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

Member Data Documentation

int MuonSeedDetLayer::theID
private

Definition at line 78 of file MuonSeedDetLayer.h.

Referenced by id().

const DetLayer* MuonSeedDetLayer::theLayer
private

Definition at line 76 of file MuonSeedDetLayer.h.

Referenced by layer().

GlobalPoint MuonSeedDetLayer::thePoint
private

Definition at line 77 of file MuonSeedDetLayer.h.

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

TrajectoryStateOnSurface MuonSeedDetLayer::theState
private

Definition at line 79 of file MuonSeedDetLayer.h.

Referenced by state().