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