Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
24
public
:
25
26
HDRShower
(
const
RandomEngineAndDistribution
* engine,
27
HDShowerParametrization
* myParam,
28
EcalHitMaker
* myGrid,
29
HcalHitMaker
* myHcalHitMaker,
30
int
onECAL,
31
double
epart);
32
33
virtual
~HDRShower
() {;}
34
35
bool
computeShower
();
36
bool
setHit
(
float
espot,
float
theta
);
37
void
thetaFunction
(
int
nthetaStep
);
38
float
getR
();
39
void
setFuncParam
();
40
41
private
:
42
// Input
43
HDShowerParametrization
*
theParam
;
44
EcalHitMaker
*
theGrid
;
45
HcalHitMaker
*
theHcalHitMaker
;
46
int
onEcal
;
47
double
e
;
// Input energy to distribute
48
49
private
:
50
// const ECALProperties* theECALproperties;
51
// const HCALProperties* theHCALproperties;
52
53
double
lambdaEM
,
lambdaHD
,
x0EM
,
x0HD
;
54
double
depthStart
;
55
float
eHDspot
;
56
float
EsCut
;
57
float
EcalShift
;
58
int
nthetaStep
;
59
60
float
thetaStep
;
61
float
depthECAL
,
depthGAP
,
maxDepth
;
62
std::vector<int>
thetaSpots
;
63
std::vector<float>
elastspot
;
64
float
rpdf
[
R_range
];
65
bool
qstatus
;
66
float
decal
;
67
68
float
EgridTable
[
NEnergyScan
];
69
float
Theta1amp
[
NEnergyScan
];
70
float
Theta1ampSig
[
NEnergyScan
];
71
float
Theta1Lambda
[
NEnergyScan
];
72
float
Theta1LambdaSig
[
NEnergyScan
];
73
float
ThetaLam21
[
NEnergyScan
];
74
float
ThetaLam21Sig
[
NEnergyScan
];
75
76
// The famos random engine
77
const
RandomEngineAndDistribution
*
random
;
78
79
};
80
81
#endif
HDShowerParametrization.h
HDRShower::Theta1amp
float Theta1amp[7]
Definition:
HDRShower.h:69
HDRShower::lambdaHD
double lambdaHD
Definition:
HDRShower.h:53
HDRShower
Definition:
HDRShower.h:22
HDRShower::nthetaStep
int nthetaStep
Definition:
HDRShower.h:58
theta
Geom::Theta< T > theta() const
Definition:
Basic3DVectorLD.h:170
HDRShower::x0HD
double x0HD
Definition:
HDRShower.h:53
HDRShower::theHcalHitMaker
HcalHitMaker * theHcalHitMaker
Definition:
HDRShower.h:45
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:65
HDRShower::ThetaLam21
float ThetaLam21[7]
Definition:
HDRShower.h:73
HDRShower::eHDspot
float eHDspot
Definition:
HDRShower.h:55
HDRShower::depthStart
double depthStart
Definition:
HDRShower.h:54
HDRShower::onEcal
int onEcal
Definition:
HDRShower.h:46
HDRShower::Theta1ampSig
float Theta1ampSig[7]
Definition:
HDRShower.h:70
NEnergyScan
#define NEnergyScan
Definition:
HDRShower.h:14
HDRShower::thetaSpots
std::vector< int > thetaSpots
Definition:
HDRShower.h:62
HDRShower::e
double e
Definition:
HDRShower.h:47
HDRShower::ThetaLam21Sig
float ThetaLam21Sig[7]
Definition:
HDRShower.h:74
HDRShower::Theta1LambdaSig
float Theta1LambdaSig[7]
Definition:
HDRShower.h:72
HDRShower::thetaFunction
void thetaFunction(int nthetaStep)
Definition:
HDRShower.cc:138
HDRShower::depthECAL
float depthECAL
Definition:
HDRShower.h:61
HDRShower::setFuncParam
void setFuncParam()
Definition:
HDRShower.cc:195
HDRShower::EgridTable
float EgridTable[7]
Definition:
HDRShower.h:68
HDRShower::setHit
bool setHit(float espot, float theta)
Definition:
HDRShower.cc:98
HDRShower::theGrid
EcalHitMaker * theGrid
Definition:
HDRShower.h:44
HDRShower::theParam
HDShowerParametrization * theParam
Definition:
HDRShower.h:43
HDRShower::getR
float getR()
Definition:
HDRShower.cc:127
HDRShower::thetaStep
float thetaStep
Definition:
HDRShower.h:60
HDRShower::EsCut
float EsCut
Definition:
HDRShower.h:56
HDRShower::EcalShift
float EcalShift
Definition:
HDRShower.h:57
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:61
HDRShower::x0EM
double x0EM
Definition:
HDRShower.h:53
HDRShower::elastspot
std::vector< float > elastspot
Definition:
HDRShower.h:63
EcalHitMaker
Definition:
EcalHitMaker.h:24
HDRShower::rpdf
float rpdf[100]
Definition:
HDRShower.h:64
HDRShower::Theta1Lambda
float Theta1Lambda[7]
Definition:
HDRShower.h:71
HDRShower::depthGAP
float depthGAP
Definition:
HDRShower.h:61
HDRShower::random
const RandomEngineAndDistribution * random
Definition:
HDRShower.h:77
HDRShower::~HDRShower
virtual ~HDRShower()
Definition:
HDRShower.h:33
HDRShower::decal
float decal
Definition:
HDRShower.h:66
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
HDRShower::lambdaEM
double lambdaEM
Definition:
HDRShower.h:53
HDRShower::computeShower
bool computeShower()
Definition:
HDRShower.cc:47
Generated for CMSSW Reference Manual by
1.8.5