Go to the documentation of this file.
9 #include "CLHEP/GenericFunctions/IncompleteGamma.hh"
22 class GammaDistributionGenerator;
29 typedef std::pair<XYZPoint, double>
Spot;
30 typedef std::pair<unsigned int, double>
Step;
31 typedef std::vector<Step>
Steps;
38 std::vector<const RawParticle*>*
const myPart,
68 double gam(
double x,
double a)
const;
89 std::vector<const RawParticle*>*
const thePart;
95 std::vector<double>
E;
97 std::vector<double>
T;
98 std::vector<double>
a;
99 std::vector<double>
b;
100 std::vector<double>
Ti;
std::vector< double > Etot
const PreshowerLayer1Properties * theLayer1
std::vector< double > photos
const ECALProperties * theECAL
std::vector< double > aSpot
PreshowerHitMaker * thePreshower
std::vector< const RawParticle * > *const thePart
void setHcal(HcalHitMaker *const myHcal)
set the HCAL address
void setIntervals(unsigned icomp, RadialInterval &rad)
void prepareSteps()
Computes the steps before the real compute.
const HCALProperties * theHCAL
Steps::const_iterator step_iterator
void compute()
Compute the shower longitudinal and lateral development.
void setGrid(EcalHitMaker *const myGrid)
set the grid address
std::vector< double > meanDepth
const PreshowerLayer2Properties * theLayer2
double gam(double x, double a) const
std::vector< std::vector< double > > depositedEnergy
const RandomEngineAndDistribution * random
Genfun::IncompleteGamma myIncompleteGamma
XYZVectorD XYZVector
spatial vector with cartesian internal representation
std::vector< double > TSpot
void setPreshower(PreshowerHitMaker *const myPresh)
set the preshower address
std::vector< double > bSpot
HcalHitMaker * theHcalHitMaker
EMShower(RandomEngineAndDistribution const *engine, GammaFunctionGenerator *gamma, EMECALShowerParametrization *const myParam, std::vector< const RawParticle * > *const myPart, EcalHitMaker *const myGrid=nullptr, PreshowerHitMaker *const myPreshower=nullptr, bool bFixedLength=false)
GammaFunctionGenerator * myGammaGenerator
double getMaximumOfShower() const
get the depth of the centre of gravity of the shower(s)
double deposit(double t, double a, double b, double dt)
std::vector< Step > Steps
std::vector< double > theNumberOfSpots
std::pair< XYZPoint, double > Spot
std::vector< double > maximumOfShower
EMECALShowerParametrization *const theParam
std::pair< unsigned int, double > Step