Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimCalorimetry
CaloSimAlgos
interface
CaloShapes.h
Go to the documentation of this file.
1
#ifndef CaloSimAlgos_CaloShapes_h
2
#define CaloSimAlgos_CaloShapes_h
3
6
#include "
DataFormats/DetId/interface/DetId.h
"
7
class
CaloVShape
;
8
9
class
CaloShapes
10
{
11
public
:
12
CaloShapes
():
theShape
(0) {}
13
// doesn't take ownership of the pointer
14
CaloShapes
(
const
CaloVShape
*
shape
) :
theShape
(shape) {}
15
virtual
const
CaloVShape
*
shape
(
const
DetId
& detId)
const
{
return
theShape
;}
16
17
private
:
18
const
CaloVShape
*
theShape
;
19
};
20
21
#endif
22
CaloShapes
Definition:
CaloShapes.h:9
CaloVShape
Electronic response of the preamp.
Definition:
CaloVShape.h:11
CaloShapes::CaloShapes
CaloShapes(const CaloVShape *shape)
Definition:
CaloShapes.h:14
CaloShapes::CaloShapes
CaloShapes()
Definition:
CaloShapes.h:12
DetId
Definition:
DetId.h:18
CaloShapes::theShape
const CaloVShape * theShape
Definition:
CaloShapes.h:18
DetId.h
CaloShapes::shape
virtual const CaloVShape * shape(const DetId &detId) const
Definition:
CaloShapes.h:15
Generated for CMSSW Reference Manual by
1.8.5