FastSimulation
ShowerDevelopment
interface
HDShowerParametrization.h
Go to the documentation of this file.
1
#ifndef HDShowerParametrization_H
2
#define HDShowerParametrization_H
3
4
#include "
FastSimulation/CalorimeterProperties/interface/ECALProperties.h
"
5
#include "
FastSimulation/CalorimeterProperties/interface/HCALProperties.h
"
6
#include "
FastSimulation/ShowerDevelopment/interface/HSParameters.h
"
15
class
HDShowerParametrization
{
16
public
:
17
HDShowerParametrization
(
const
ECALProperties
*
ecal
,
const
HCALProperties
*
hcal
,
const
HSParameters
* hadronshower)
18
:
theECAL
(
ecal
),
theHCAL
(
hcal
),
theHSParameters
(hadronshower) {}
19
20
virtual
~HDShowerParametrization
() {}
21
22
const
ECALProperties
*
ecalProperties
()
const
{
return
theECAL
; }
23
24
const
HCALProperties
*
hcalProperties
()
const
{
return
theHCAL
; }
25
26
const
HSParameters
*
hsParameters
()
const
{
return
theHSParameters
; }
27
28
// to distinguish between low- and high-energy case
29
void
setCase
(
int
choice) {
30
if
(choice < 1 || choice > 2)
31
theCase
= 2;
32
else
33
theCase
= choice;
34
}
35
36
// Minimal energy for the parameters calculation ( e < emin)
37
double
emin
()
const
{
return
2.; }
38
// First range for the parameters calculation ( emin < e < mid)
39
double
emid
()
const
{
return
10.; }
40
// Second range for the parameters calculation ( emid < e < emax)
41
double
emax
()
const
{
return
500.; }
42
43
double
e1
()
const
{
return
0.35; }
44
double
e2
()
const
{
return
0.09; }
45
double
alpe1
()
const
{
46
if
(
theCase
== 1)
47
return
1.08;
48
else
49
return
1.30;
50
}
51
double
alpe2
()
const
{
52
if
(
theCase
== 1)
53
return
0.24;
54
else
55
return
0.255;
56
}
57
double
bete1
()
const
{
58
if
(
theCase
== 1)
59
return
0.478;
60
else
61
return
0.289;
62
}
63
double
bete2
()
const
{
64
if
(
theCase
== 1)
65
return
0.135;
66
else
67
return
0.010;
68
}
69
double
alph1
()
const
{
70
if
(
theCase
== 1)
71
return
1.17;
72
else
73
return
0.38;
74
}
75
double
alph2
()
const
{
76
if
(
theCase
== 1)
77
return
0.21;
78
else
79
return
0.23;
80
}
81
double
beth1
()
const
{
82
if
(
theCase
== 1)
83
return
2.10;
84
else
85
return
0.83;
86
}
87
double
beth2
()
const
{
88
if
(
theCase
== 1)
89
return
0.72;
90
else
91
return
0.049;
92
}
93
double
part1
()
const
{
94
if
(
theCase
== 1)
95
return
0.751;
96
else
97
return
0.509;
98
}
99
double
part2
()
const
{
100
if
(
theCase
== 1)
101
return
0.177;
102
else
103
return
0.021;
104
}
105
double
r1
()
const
{
return
0.0124; }
106
double
r2
()
const
{
return
0.359; }
107
double
r3
()
const
{
return
0.0511; }
108
109
private
:
110
const
ECALProperties
*
theECAL
;
111
const
HCALProperties
*
theHCAL
;
112
const
HSParameters
*
theHSParameters
;
113
114
int
theCase
;
115
};
116
117
#endif
HDShowerParametrization::theHSParameters
const HSParameters * theHSParameters
Definition:
HDShowerParametrization.h:112
HSParameters.h
HDShowerParametrization::theECAL
const ECALProperties * theECAL
Definition:
HDShowerParametrization.h:110
hcal
Definition:
ConfigurationDatabase.cc:13
HDShowerParametrization::HDShowerParametrization
HDShowerParametrization(const ECALProperties *ecal, const HCALProperties *hcal, const HSParameters *hadronshower)
Definition:
HDShowerParametrization.h:17
HDShowerParametrization::beth1
double beth1() const
Definition:
HDShowerParametrization.h:81
HDShowerParametrization::bete2
double bete2() const
Definition:
HDShowerParametrization.h:63
HDShowerParametrization::part1
double part1() const
Definition:
HDShowerParametrization.h:93
ecal
Definition:
ElectronicsMappingGPU.h:13
HDShowerParametrization::r2
double r2() const
Definition:
HDShowerParametrization.h:106
HDShowerParametrization::alph1
double alph1() const
Definition:
HDShowerParametrization.h:69
HDShowerParametrization::emax
double emax() const
Definition:
HDShowerParametrization.h:41
ECALProperties
Definition:
ECALProperties.h:15
HDShowerParametrization::r1
double r1() const
Definition:
HDShowerParametrization.h:105
HDShowerParametrization::part2
double part2() const
Definition:
HDShowerParametrization.h:99
HDShowerParametrization::setCase
void setCase(int choice)
Definition:
HDShowerParametrization.h:29
HDShowerParametrization
Definition:
HDShowerParametrization.h:15
HDShowerParametrization::hsParameters
const HSParameters * hsParameters() const
Definition:
HDShowerParametrization.h:26
HDShowerParametrization::theHCAL
const HCALProperties * theHCAL
Definition:
HDShowerParametrization.h:111
HDShowerParametrization::e1
double e1() const
Definition:
HDShowerParametrization.h:43
HDShowerParametrization::theCase
int theCase
Definition:
HDShowerParametrization.h:114
HDShowerParametrization::hcalProperties
const HCALProperties * hcalProperties() const
Definition:
HDShowerParametrization.h:24
HCALProperties.h
HDShowerParametrization::alph2
double alph2() const
Definition:
HDShowerParametrization.h:75
HDShowerParametrization::alpe1
double alpe1() const
Definition:
HDShowerParametrization.h:45
HDShowerParametrization::alpe2
double alpe2() const
Definition:
HDShowerParametrization.h:51
HSParameters
Definition:
HSParameters.h:12
HCALProperties
Definition:
HCALProperties.h:21
HDShowerParametrization::ecalProperties
const ECALProperties * ecalProperties() const
Definition:
HDShowerParametrization.h:22
HDShowerParametrization::bete1
double bete1() const
Definition:
HDShowerParametrization.h:57
HDShowerParametrization::~HDShowerParametrization
virtual ~HDShowerParametrization()
Definition:
HDShowerParametrization.h:20
HDShowerParametrization::e2
double e2() const
Definition:
HDShowerParametrization.h:44
HDShowerParametrization::emin
double emin() const
Definition:
HDShowerParametrization.h:37
HDShowerParametrization::emid
double emid() const
Definition:
HDShowerParametrization.h:39
ECALProperties.h
HDShowerParametrization::r3
double r3() const
Definition:
HDShowerParametrization.h:107
HDShowerParametrization::beth2
double beth2() const
Definition:
HDShowerParametrization.h:87
Generated for CMSSW Reference Manual by
1.8.16