CMS 3D CMS Logo

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

#include <MSLayer.h>

Classes

struct  DataX0
 

Public Types

typedef PixelRecoRange< float > Range
 

Public Member Functions

std::pair< PixelRecoPointRZ, bool > crossing (const PixelRecoLineRZ &line) const
 
std::pair< PixelRecoPointRZ, bool > crossing (const SimpleLineRZ &line) const
 
float distance2 (const PixelRecoPointRZ &point) const
 
const
GeomDetEnumerators::Location
face () const
 
float halfThickness () const
 
 MSLayer (const DetLayer *layer, const DataX0 &dataX0=DataX0(0))
 
 MSLayer ()
 
 MSLayer (GeomDetEnumerators::Location part, float position, Range range, float halfThickness=0., const DataX0 &dataX0=DataX0(0))
 
bool operator< (const MSLayer &o) const
 
bool operator== (const MSLayer &o) const
 
float position () const
 
const Rangerange () const
 
int seqNum () const
 
float sumX0D (float cotTheta) const
 
float x0 (float cotTheta) const
 

Private Attributes

GeomDetEnumerators::Location theFace
 
float theHalfThickness
 
float thePosition
 
Range theRange
 
int theSeqNum
 
DataX0 theX0Data
 

Friends

class MSLayersKeeper
 
std::ostream & operator<< (std::ostream &s, const MSLayer &l)
 

Detailed Description

Definition at line 14 of file MSLayer.h.

Member Typedef Documentation

Definition at line 16 of file MSLayer.h.

Constructor & Destructor Documentation

MSLayer::MSLayer ( const DetLayer layer,
const DataX0 dataX0 = DataX0(0) 
)

Definition at line 33 of file MSLayer.cc.

MSLayer::MSLayer ( )
inline

Definition at line 33 of file MSLayer.h.

33 { }
MSLayer::MSLayer ( GeomDetEnumerators::Location  part,
float  position,
Range  range,
float  halfThickness = 0.,
const DataX0 dataX0 = DataX0(0) 
)

Definition at line 59 of file MSLayer.cc.

Member Function Documentation

pair< PixelRecoPointRZ, bool > MSLayer::crossing ( const PixelRecoLineRZ line) const

Definition at line 90 of file MSLayer.cc.

pair< PixelRecoPointRZ, bool > MSLayer::crossing ( const SimpleLineRZ line) const

Definition at line 105 of file MSLayer.cc.

float MSLayer::distance2 ( const PixelRecoPointRZ point) const

Definition at line 122 of file MSLayer.cc.

const GeomDetEnumerators::Location& MSLayer::face ( ) const
inline

Definition at line 47 of file MSLayer.h.

References theFace.

47 { return theFace; }
GeomDetEnumerators::Location theFace
Definition: MSLayer.h:66
float MSLayer::halfThickness ( ) const
inline

Definition at line 49 of file MSLayer.h.

References theHalfThickness.

49 { return theHalfThickness; }
float theHalfThickness
Definition: MSLayer.h:69
bool MSLayer::operator< ( const MSLayer o) const

Definition at line 76 of file MSLayer.cc.

bool MSLayer::operator== ( const MSLayer o) const

Definition at line 71 of file MSLayer.cc.

float MSLayer::position ( ) const
inline

Definition at line 48 of file MSLayer.h.

References thePosition.

48 { return thePosition; }
float thePosition
Definition: MSLayer.h:67
const Range& MSLayer::range ( ) const
inline

Definition at line 45 of file MSLayer.h.

References theRange.

45 { return theRange; }
Range theRange
Definition: MSLayer.h:68
int MSLayer::seqNum ( ) const
inline

Definition at line 41 of file MSLayer.h.

References theSeqNum.

41 { return theSeqNum;}
int theSeqNum
Definition: MSLayer.h:70
float MSLayer::sumX0D ( float  cotTheta) const

Definition at line 152 of file MSLayer.cc.

Referenced by MSLayersKeeperX0Averaged::init().

float MSLayer::x0 ( float  cotTheta) const

Definition at line 137 of file MSLayer.cc.

Friends And Related Function Documentation

friend class MSLayersKeeper
friend

Definition at line 74 of file MSLayer.h.

std::ostream& operator<< ( std::ostream &  s,
const MSLayer l 
)
friend

Member Data Documentation

GeomDetEnumerators::Location MSLayer::theFace
private

Definition at line 66 of file MSLayer.h.

Referenced by face().

float MSLayer::theHalfThickness
private

Definition at line 69 of file MSLayer.h.

Referenced by halfThickness().

float MSLayer::thePosition
private

Definition at line 67 of file MSLayer.h.

Referenced by position().

Range MSLayer::theRange
private

Definition at line 68 of file MSLayer.h.

Referenced by range().

int MSLayer::theSeqNum
private

Definition at line 70 of file MSLayer.h.

Referenced by seqNum().

DataX0 MSLayer::theX0Data
private

Definition at line 72 of file MSLayer.h.

Referenced by MSLayersKeeper::getDataX0(), and MSLayersKeeper::setDataX0().