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

Definition at line 19 of file MSLayersKeeper.h.

Constructor & Destructor Documentation

virtual MSLayersKeeper::~MSLayersKeeper ( )
inlinevirtual

Definition at line 13 of file MSLayersKeeper.h.

13 {}

Member Function Documentation

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

Definition at line 20 of file MSLayersKeeper.h.

References MSLayer::theX0Data.

Referenced by MSLayersKeeperX0Averaged::init().

20 { return l.theX0Data; }
DataX0 theX0Data
Definition: MSLayer.h:75
virtual void MSLayersKeeper::init ( const edm::EventSetup iSetup)
inlinevirtual
virtual MSLayer MSLayersKeeper::layer ( const DetLayer dl) const
inlinevirtual

Reimplemented in MSLayersKeeperX0DetLayer, and MSLayersKeeperX0Averaged.

Definition at line 14 of file MSLayersKeeper.h.

References hgcalTopologyTester_cfi::layers.

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

14 { return MSLayer(dl, DataX0(this)); }
MSLayer::DataX0 DataX0
virtual const MSLayersAtAngle& MSLayersKeeper::layers ( float  cotTheta) const
pure virtual
static void MSLayersKeeper::setDataX0 ( MSLayer l,
const DataX0 x0Data 
)
inlinestaticprotected

Definition at line 21 of file MSLayersKeeper.h.

References MSLayer::theX0Data.

Referenced by MSLayersKeeperX0Averaged::init().

21 { l.theX0Data = x0Data; }
DataX0 theX0Data
Definition: MSLayer.h:75