CMS 3D CMS Logo

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

#include <CaloShapes.h>

Inheritance diagram for CaloShapes:
HcalShapes

Public Member Functions

 CaloShapes ()
 
 CaloShapes (const CaloVShape *shape)
 
virtual const CaloVShapeshape (const DetId &detId, bool precise=false) const
 
virtual ~CaloShapes ()=default
 

Private Attributes

const CaloVShapetheShape
 

Detailed Description

Definition at line 9 of file CaloShapes.h.

Constructor & Destructor Documentation

◆ CaloShapes() [1/2]

CaloShapes::CaloShapes ( )
inline

Definition at line 11 of file CaloShapes.h.

11 : theShape(nullptr) {}

◆ CaloShapes() [2/2]

CaloShapes::CaloShapes ( const CaloVShape shape)
inline

Definition at line 13 of file CaloShapes.h.

13 : theShape(shape) {}

◆ ~CaloShapes()

virtual CaloShapes::~CaloShapes ( )
virtualdefault

Member Function Documentation

◆ shape()

virtual const CaloVShape* CaloShapes::shape ( const DetId detId,
bool  precise = false 
) const
inlinevirtual

Reimplemented in HcalShapes.

Definition at line 14 of file CaloShapes.h.

14 { return theShape; }

References theShape.

Referenced by HPDIonFeedbackSim::addThermalNoise(), and CaloHitResponse::makeAnalogSignal().

Member Data Documentation

◆ theShape

const CaloVShape* CaloShapes::theShape
private

Definition at line 18 of file CaloShapes.h.

Referenced by shape().

CaloShapes::theShape
const CaloVShape * theShape
Definition: CaloShapes.h:18
CaloShapes::shape
virtual const CaloVShape * shape(const DetId &detId, bool precise=false) const
Definition: CaloShapes.h:14