CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
MuonSeedDetLayer Class Reference

#include <MuonSeedDetLayer.h>

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...
 

Static Public Member Functions

static bool getHigherR (const MuonSeedDetLayer first, const MuonSeedDetLayer second)
 sort More...
 
static bool getLowerR (const MuonSeedDetLayer first, const MuonSeedDetLayer second)
 sort 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 22 of file MuonSeedDetLayer.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 27 of file MuonSeedDetLayer.h.

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

destructor

Definition at line 34 of file MuonSeedDetLayer.h.

34 {}

Member Function Documentation

static bool MuonSeedDetLayer::getHigherR ( const MuonSeedDetLayer  first,
const MuonSeedDetLayer  second 
)
inlinestatic

sort

Definition at line 55 of file MuonSeedDetLayer.h.

References radius().

55  {
56  return first.radius() < second.radius();
57  }
double radius() const
return radius of impact point
static bool MuonSeedDetLayer::getLowerR ( const MuonSeedDetLayer  first,
const MuonSeedDetLayer  second 
)
inlinestatic

sort

Definition at line 60 of file MuonSeedDetLayer.h.

References radius().

60  {
61  return first.radius() > second.radius();
62  }
double radius() const
return radius of impact point
int MuonSeedDetLayer::id ( void  ) const
inline

return layer identifyer

Definition at line 43 of file MuonSeedDetLayer.h.

References theID.

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

return layer

Definition at line 37 of file MuonSeedDetLayer.h.

References theLayer.

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

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

return impact point

Definition at line 40 of file MuonSeedDetLayer.h.

References thePoint.

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

return radius of impact point

Definition at line 49 of file MuonSeedDetLayer.h.

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

Referenced by getHigherR(), and getLowerR().

49 { return sqrt(thePoint.x()*thePoint.x()+thePoint.y()*thePoint.y()); }
GlobalPoint thePoint
T y() const
Definition: PV3DBase.h:60
T sqrt(T t)
Definition: SSEVec.h:19
T x() const
Definition: PV3DBase.h:59
const TrajectoryStateOnSurface& MuonSeedDetLayer::state ( ) const
inline

return trajectory state on layer

Definition at line 46 of file MuonSeedDetLayer.h.

References theState.

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

return z coordinate of impact point

Definition at line 52 of file MuonSeedDetLayer.h.

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

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

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

Member Data Documentation

int MuonSeedDetLayer::theID
private

Definition at line 68 of file MuonSeedDetLayer.h.

Referenced by id().

const DetLayer* MuonSeedDetLayer::theLayer
private

Definition at line 66 of file MuonSeedDetLayer.h.

Referenced by layer().

GlobalPoint MuonSeedDetLayer::thePoint
private

Definition at line 67 of file MuonSeedDetLayer.h.

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

TrajectoryStateOnSurface MuonSeedDetLayer::theState
private

Definition at line 69 of file MuonSeedDetLayer.h.

Referenced by state().