SimCalorimetry
EcalSimAlgos
interface
ESShape.h
Go to the documentation of this file.
1
#ifndef EcalSimAlgos_ESShape_h
2
#define EcalSimAlgos_ESShape_h
3
4
#include "
SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h
"
5
6
/* \class ESShape
7
* \brief preshower pulse-shape
8
*
9
* Preshower pulse shape
10
* - Gain = 1 : shape for low gain for data taking
11
* - Gain = 2 : shape for high gain for calibration and low energy runs
12
*
13
* Preshower three time samples happen at -5, 20 and 45 ns
14
*
15
*/
16
class
ESShape
:
public
CaloVShape
{
17
public
:
19
ESShape
();
21
~ESShape
()
override
{}
22
23
void
setGain
(
const
int
gain
) {
theGain_
=
gain
; }
24
double
operator()
(
double
time
)
const override
;
25
double
timeToRise
()
const override
;
26
27
void
display
()
const
{}
28
29
private
:
30
int
theGain_
;
31
};
32
33
#endif
ESShape::operator()
double operator()(double time) const override
Definition:
ESShape.cc:6
ESShape::ESShape
ESShape()
ctor
Definition:
ESShape.cc:4
ESShape::timeToRise
double timeToRise() const override
Definition:
ESShape.cc:20
ESShape::theGain_
int theGain_
Definition:
ESShape.h:30
CaloVShape
Electronic response of the preamp.
Definition:
CaloVShape.h:11
ESShape::display
void display() const
Definition:
ESShape.h:27
PedestalClient_cfi.gain
gain
Definition:
PedestalClient_cfi.py:37
CaloVShape.h
ESShape::~ESShape
~ESShape() override
dtor
Definition:
ESShape.h:21
ESShape::setGain
void setGain(const int gain)
Definition:
ESShape.h:23
ntuplemaker.time
time
Definition:
ntuplemaker.py:310
ESShape
Definition:
ESShape.h:16
Generated for CMSSW Reference Manual by
1.8.16