CMS 3D CMS Logo

HDRShower.h
Go to the documentation of this file.
1 #ifndef HDRShower_H
2 #define HDRShower_H
3 
4 //FastSimulation Headers
6 
7 #include <vector>
8 
14 #define NEnergyScan 7
15 // 7 lambda
16 #define R_range 100
17 
18 class EcalHitMaker;
19 class HcalHitMaker;
21 
22 class HDRShower {
23 public:
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
44  int onEcal;
45  double e; // Input energy to distribute
46 
47 private:
48  // const ECALProperties* theECALproperties;
49  // const HCALProperties* theHCALproperties;
50 
52  double depthStart;
53  float eHDspot;
54  float EsCut;
55  float EcalShift;
57 
58  float thetaStep;
60  std::vector<int> thetaSpots;
61  std::vector<float> elastspot;
62  float rpdf[R_range];
63  bool qstatus;
64  float decal;
65 
73 
74  // The famos random engine
76 };
77 
78 #endif
HDRShower::maxDepth
float maxDepth
Definition: HDRShower.h:59
HDRShower::~HDRShower
virtual ~HDRShower()
Definition: HDRShower.h:31
HDRShower::qstatus
bool qstatus
Definition: HDRShower.h:63
HDRShower::Theta1Lambda
float Theta1Lambda[7]
Definition: HDRShower.h:69
HDRShower::EsCut
float EsCut
Definition: HDRShower.h:54
HDRShower::setHit
bool setHit(float espot, float theta)
Definition: HDRShower.cc:95
HDRShower::theParam
HDShowerParametrization * theParam
Definition: HDRShower.h:41
HDRShower::getR
float getR()
Definition: HDRShower.cc:123
HDRShower::depthGAP
float depthGAP
Definition: HDRShower.h:59
HDRShower::thetaSpots
std::vector< int > thetaSpots
Definition: HDRShower.h:60
HDRShower::Theta1amp
float Theta1amp[7]
Definition: HDRShower.h:67
HDRShower::setFuncParam
void setFuncParam()
Definition: HDRShower.cc:208
HDRShower::ThetaLam21Sig
float ThetaLam21Sig[7]
Definition: HDRShower.h:72
HDRShower::EgridTable
float EgridTable[7]
Definition: HDRShower.h:66
HDRShower::rpdf
float rpdf[100]
Definition: HDRShower.h:62
HDRShower
Definition: HDRShower.h:22
HDRShower::theGrid
EcalHitMaker * theGrid
Definition: HDRShower.h:42
HDRShower::computeShower
bool computeShower()
Definition: HDRShower.cc:41
HDRShower::x0HD
double x0HD
Definition: HDRShower.h:51
HDRShower::thetaFunction
void thetaFunction(int nthetaStep)
Definition: HDRShower.cc:138
HDRShower::depthECAL
float depthECAL
Definition: HDRShower.h:59
HDRShower::random
const RandomEngineAndDistribution * random
Definition: HDRShower.h:75
HDRShower::HDRShower
HDRShower(const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart)
Definition: HDRShower.cc:23
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
HDRShower::eHDspot
float eHDspot
Definition: HDRShower.h:53
HDRShower::decal
float decal
Definition: HDRShower.h:64
R_range
#define R_range
Definition: HDRShower.h:16
HDRShower::elastspot
std::vector< float > elastspot
Definition: HDRShower.h:61
HDRShower::theHcalHitMaker
HcalHitMaker * theHcalHitMaker
Definition: HDRShower.h:43
HDRShower::nthetaStep
int nthetaStep
Definition: HDRShower.h:56
HDRShower::e
double e
Definition: HDRShower.h:45
HDShowerParametrization
Definition: HDShowerParametrization.h:15
HDRShower::lambdaEM
double lambdaEM
Definition: HDRShower.h:51
HDRShower::Theta1ampSig
float Theta1ampSig[7]
Definition: HDRShower.h:68
HcalHitMaker
Definition: HcalHitMaker.h:16
HDRShower::onEcal
int onEcal
Definition: HDRShower.h:44
NEnergyScan
#define NEnergyScan
Definition: HDRShower.h:14
HDRShower::thetaStep
float thetaStep
Definition: HDRShower.h:58
HDRShower::EcalShift
float EcalShift
Definition: HDRShower.h:55
HDRShower::Theta1LambdaSig
float Theta1LambdaSig[7]
Definition: HDRShower.h:70
HDRShower::lambdaHD
double lambdaHD
Definition: HDRShower.h:51
EcalHitMaker
Definition: EcalHitMaker.h:24
HDShowerParametrization.h
HDRShower::ThetaLam21
float ThetaLam21[7]
Definition: HDRShower.h:71
HDRShower::depthStart
double depthStart
Definition: HDRShower.h:52
HDRShower::x0EM
double x0EM
Definition: HDRShower.h:51
RandomEngineAndDistribution
Definition: RandomEngineAndDistribution.h:18