Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimCalorimetry
EcalSimAlgos
interface
APDSimParameters.h
Go to the documentation of this file.
1
#ifndef EcalSimAlgos_APDSimParameters_h
2
#define EcalSimAlgos_APDSimParameters_h
3
4
5
class
APDSimParameters
6
{
7
public
:
8
9
APDSimParameters
(
bool
addToBarrel
,
10
bool
separateDigi
,
11
double
simToPELow
,
12
double
simToPEHigh
,
13
double
timeOffset
,
14
double
timeOffWidth
,
15
bool
doPEStats
,
16
const
std::string&
digiTag
,
17
const
std::vector<double>&
nonlParms
) :
18
19
m_addToBarrel
( addToBarrel ) ,
20
m_separateDigi
( separateDigi ) ,
21
m_simToPELow
( simToPELow ) ,
22
m_simToPEHigh
( simToPEHigh ) ,
23
m_timeOffset
( timeOffset ) ,
24
m_timeOffWidth
( fabs( timeOffWidth ) ) ,
25
m_doPEStats
( doPEStats ) ,
26
m_digiTag
( digiTag ) ,
27
m_nonlParms
( nonlParms ) {}
28
29
virtual
~APDSimParameters
() {}
30
31
bool
addToBarrel
()
const
{
return
m_addToBarrel
; }
32
bool
separateDigi
()
const
{
return
m_separateDigi
; }
33
double
simToPELow
()
const
{
return
m_simToPELow
; }
34
double
simToPEHigh
()
const
{
return
m_simToPEHigh
; }
35
double
timeOffset
()
const
{
return
m_timeOffset
; }
36
double
timeOffWidth
()
const
{
return
m_timeOffWidth
; }
37
bool
doPEStats
()
const
{
return
m_doPEStats
; }
38
39
const
std::string&
digiTag
()
const
{
return
m_digiTag
; }
40
41
const
std::vector<double>&
nonlParms
()
const
{
return
m_nonlParms
; }
42
43
private
:
44
45
bool
m_addToBarrel
;
46
bool
m_separateDigi
;
47
double
m_simToPELow
;
48
double
m_simToPEHigh
;
49
double
m_timeOffset
;
50
double
m_timeOffWidth
;
51
bool
m_doPEStats
;
52
std::string
m_digiTag
;
53
std::vector<double>
m_nonlParms
;
54
};
55
56
#endif
57
APDSimParameters::nonlParms
const std::vector< double > & nonlParms() const
Definition:
APDSimParameters.h:41
APDSimParameters::m_simToPELow
double m_simToPELow
Definition:
APDSimParameters.h:47
APDSimParameters::simToPEHigh
double simToPEHigh() const
Definition:
APDSimParameters.h:34
APDSimParameters::m_digiTag
std::string m_digiTag
Definition:
APDSimParameters.h:52
APDSimParameters::APDSimParameters
APDSimParameters(bool addToBarrel, bool separateDigi, double simToPELow, double simToPEHigh, double timeOffset, double timeOffWidth, bool doPEStats, const std::string &digiTag, const std::vector< double > &nonlParms)
Definition:
APDSimParameters.h:9
APDSimParameters::m_timeOffWidth
double m_timeOffWidth
Definition:
APDSimParameters.h:50
APDSimParameters::~APDSimParameters
virtual ~APDSimParameters()
Definition:
APDSimParameters.h:29
APDSimParameters::m_nonlParms
std::vector< double > m_nonlParms
Definition:
APDSimParameters.h:53
APDSimParameters::m_doPEStats
bool m_doPEStats
Definition:
APDSimParameters.h:51
APDSimParameters::m_timeOffset
double m_timeOffset
Definition:
APDSimParameters.h:49
APDSimParameters::separateDigi
bool separateDigi() const
Definition:
APDSimParameters.h:32
APDSimParameters::m_separateDigi
bool m_separateDigi
Definition:
APDSimParameters.h:46
APDSimParameters::timeOffset
double timeOffset() const
Definition:
APDSimParameters.h:35
APDSimParameters::m_addToBarrel
bool m_addToBarrel
Definition:
APDSimParameters.h:45
APDSimParameters
Definition:
APDSimParameters.h:5
APDSimParameters::addToBarrel
bool addToBarrel() const
Definition:
APDSimParameters.h:31
APDSimParameters::doPEStats
bool doPEStats() const
Definition:
APDSimParameters.h:37
APDSimParameters::digiTag
const std::string & digiTag() const
Definition:
APDSimParameters.h:39
APDSimParameters::timeOffWidth
double timeOffWidth() const
Definition:
APDSimParameters.h:36
APDSimParameters::m_simToPEHigh
double m_simToPEHigh
Definition:
APDSimParameters.h:48
APDSimParameters::simToPELow
double simToPELow() const
Definition:
APDSimParameters.h:33
Generated for CMSSW Reference Manual by
1.8.5