CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Types | Static Protected Member Functions
MSLayersKeeper Class Referenceabstract

#include <MSLayersKeeper.h>

Inheritance diagram for MSLayersKeeper:
MSLayersKeeperX0AtEta MSLayersKeeperX0Averaged MSLayersKeeperX0DetLayer

Public Member Functions

virtual void init (const edm::EventSetup &iSetup)
 
virtual MSLayer layer (const DetLayer *dl) const
 
virtual const MSLayersAtAnglelayers (float cotTheta) const =0
 
virtual ~MSLayersKeeper ()
 

Protected Types

typedef MSLayer::DataX0 DataX0
 

Static Protected Member Functions

static const DataX0getDataX0 (const MSLayer &l)
 
static void setDataX0 (MSLayer &l, const DataX0 &x0Data)
 

Detailed Description

Definition at line 11 of file MSLayersKeeper.h.

Member Typedef Documentation

◆ DataX0

Definition at line 19 of file MSLayersKeeper.h.

Constructor & Destructor Documentation

◆ ~MSLayersKeeper()

virtual MSLayersKeeper::~MSLayersKeeper ( )
inlinevirtual

Definition at line 13 of file MSLayersKeeper.h.

13 {}

Member Function Documentation

◆ getDataX0()

static const DataX0& MSLayersKeeper::getDataX0 ( const MSLayer l)
inlinestaticprotected

Definition at line 20 of file MSLayersKeeper.h.

20 { return l.theX0Data; }

References cmsLHEtoEOSManager::l.

Referenced by MSLayersKeeperX0Averaged::init().

◆ init()

virtual void MSLayersKeeper::init ( const edm::EventSetup iSetup)
inlinevirtual

◆ layer()

virtual MSLayer MSLayersKeeper::layer ( const DetLayer dl) const
inlinevirtual

Reimplemented in MSLayersKeeperX0DetLayer, and MSLayersKeeperX0Averaged.

Definition at line 14 of file MSLayersKeeper.h.

14 { return MSLayer(dl, DataX0(this)); }

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

◆ layers()

virtual const MSLayersAtAngle& MSLayersKeeper::layers ( float  cotTheta) const
pure virtual

◆ setDataX0()

static void MSLayersKeeper::setDataX0 ( MSLayer l,
const DataX0 x0Data 
)
inlinestaticprotected

Definition at line 21 of file MSLayersKeeper.h.

21 { l.theX0Data = x0Data; }

References cmsLHEtoEOSManager::l.

Referenced by MSLayersKeeperX0Averaged::init().

MSLayer
Definition: MSLayer.h:13
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
MSLayersKeeper::DataX0
MSLayer::DataX0 DataX0
Definition: MSLayersKeeper.h:19