src
FastSimulation
ShowerDevelopment
interface
HDRShower.h
Go to the documentation of this file.
1
#ifndef HDRShower_H
2
#define HDRShower_H
3
4
//FastSimulation Headers
5
#include "
FastSimulation/ShowerDevelopment/interface/HDShowerParametrization.h
"
6
7
#include <vector>
8
14
#define NEnergyScan 7
15
// 7 lambda
16
#define R_range 100
17
18
class
EcalHitMaker
;
19
class
HcalHitMaker
;
20
class
RandomEngineAndDistribution
;
21
22
class
HDRShower
{
23
public
:
24
HDRShower
(
const
RandomEngineAndDistribution
* engine,
25
HDShowerParametrization
* myParam,
26
EcalHitMaker
* myGrid,
27
HcalHitMaker
* myHcalHitMaker,
28
int
onECAL,
29
double
epart);
30
31
virtual
~HDRShower
() { ; }
32
33
bool
computeShower
();
34
bool
setHit
(
float
espot,
float
theta
);
35
void
thetaFunction
(
int
nthetaStep
);
36
float
getR
();
37
void
setFuncParam
();
38
39
private
:
40
// Input
41
HDShowerParametrization
*
theParam
;
42
EcalHitMaker
*
theGrid
;
43
HcalHitMaker
*
theHcalHitMaker
;
44
int
onEcal
;
45
double
e
;
// Input energy to distribute
46
47
private
:
48
// const ECALProperties* theECALproperties;
49
// const HCALProperties* theHCALproperties;
50
51
double
lambdaEM
,
lambdaHD
,
x0EM
,
x0HD
;
52
double
depthStart
;
53
float
eHDspot
;
54
float
EsCut
;
55
float
EcalShift
;
56
int
nthetaStep
;
57
58
float
thetaStep
;
59
float
depthECAL
,
depthGAP
,
maxDepth
;
60
std::vector<int>
thetaSpots
;
61
std::vector<float>
elastspot
;
62
float
rpdf
[
R_range
];
63
bool
qstatus
;
64
float
decal
;
65
66
float
EgridTable
[
NEnergyScan
];
67
float
Theta1amp
[
NEnergyScan
];
68
float
Theta1ampSig
[
NEnergyScan
];
69
float
Theta1Lambda
[
NEnergyScan
];
70
float
Theta1LambdaSig
[
NEnergyScan
];
71
float
ThetaLam21
[
NEnergyScan
];
72
float
ThetaLam21Sig
[
NEnergyScan
];
73
74
// The famos random engine
75
const
RandomEngineAndDistribution
*
random
;
76
};
77
78
#endif
HDShowerParametrization.h
HDRShower::Theta1amp
float Theta1amp[7]
Definition:
HDRShower.h:67
HDRShower::lambdaHD
double lambdaHD
Definition:
HDRShower.h:51
HDRShower
Definition:
HDRShower.h:22
HDRShower::nthetaStep
int nthetaStep
Definition:
HDRShower.h:56
HDRShower::x0HD
double x0HD
Definition:
HDRShower.h:51
HDRShower::theHcalHitMaker
HcalHitMaker * theHcalHitMaker
Definition:
HDRShower.h:43
R_range
#define R_range
Definition:
HDRShower.h:16
HDShowerParametrization
Definition:
HDShowerParametrization.h:15
HcalHitMaker
Definition:
HcalHitMaker.h:16
HDRShower::qstatus
bool qstatus
Definition:
HDRShower.h:63
HDRShower::ThetaLam21
float ThetaLam21[7]
Definition:
HDRShower.h:71
HDRShower::eHDspot
float eHDspot
Definition:
HDRShower.h:53
HDRShower::depthStart
double depthStart
Definition:
HDRShower.h:52
HDRShower::onEcal
int onEcal
Definition:
HDRShower.h:44
HDRShower::Theta1ampSig
float Theta1ampSig[7]
Definition:
HDRShower.h:68
NEnergyScan
#define NEnergyScan
Definition:
HDRShower.h:14
HDRShower::thetaSpots
std::vector< int > thetaSpots
Definition:
HDRShower.h:60
HDRShower::e
double e
Definition:
HDRShower.h:45
HDRShower::ThetaLam21Sig
float ThetaLam21Sig[7]
Definition:
HDRShower.h:72
HDRShower::Theta1LambdaSig
float Theta1LambdaSig[7]
Definition:
HDRShower.h:70
HDRShower::thetaFunction
void thetaFunction(int nthetaStep)
Definition:
HDRShower.cc:134
HDRShower::depthECAL
float depthECAL
Definition:
HDRShower.h:59
HDRShower::setFuncParam
void setFuncParam()
Definition:
HDRShower.cc:204
HDRShower::EgridTable
float EgridTable[7]
Definition:
HDRShower.h:66
HDRShower::setHit
bool setHit(float espot, float theta)
Definition:
HDRShower.cc:91
HDRShower::theGrid
EcalHitMaker * theGrid
Definition:
HDRShower.h:42
HDRShower::theParam
HDShowerParametrization * theParam
Definition:
HDRShower.h:41
HDRShower::getR
float getR()
Definition:
HDRShower.cc:119
HDRShower::thetaStep
float thetaStep
Definition:
HDRShower.h:58
HDRShower::EsCut
float EsCut
Definition:
HDRShower.h:54
HDRShower::EcalShift
float EcalShift
Definition:
HDRShower.h:55
HDRShower::HDRShower
HDRShower(const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart)
Definition:
HDRShower.cc:23
HDRShower::maxDepth
float maxDepth
Definition:
HDRShower.h:59
HDRShower::x0EM
double x0EM
Definition:
HDRShower.h:51
HDRShower::elastspot
std::vector< float > elastspot
Definition:
HDRShower.h:61
EcalHitMaker
Definition:
EcalHitMaker.h:24
HDRShower::rpdf
float rpdf[100]
Definition:
HDRShower.h:62
HDRShower::Theta1Lambda
float Theta1Lambda[7]
Definition:
HDRShower.h:69
HDRShower::depthGAP
float depthGAP
Definition:
HDRShower.h:59
HDRShower::random
const RandomEngineAndDistribution * random
Definition:
HDRShower.h:75
HDRShower::~HDRShower
virtual ~HDRShower()
Definition:
HDRShower.h:31
HDRShower::decal
float decal
Definition:
HDRShower.h:64
theta
Geom::Theta< T > theta() const
Definition:
Basic3DVectorLD.h:153
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
HDRShower::lambdaEM
double lambdaEM
Definition:
HDRShower.h:51
HDRShower::computeShower
bool computeShower()
Definition:
HDRShower.cc:41
Generated for CMSSW Reference Manual by
1.8.14