Go to the documentation of this file.
26 typedef std::pair<XYZPoint, double>
Spot;
27 typedef std::pair<unsigned int, double>
Step;
28 typedef std::vector<Step>
Steps;
55 return ((fsq + 1.) / fsq) *
r *
r / (
r *
r +
R *
R);
60 int indexFinder(
double x,
const std::vector<double>& Fhist);
HDShowerParametrization * theParam
std::vector< int > nspots
std::vector< double > lamtotal
HcalHitMaker * theHcalHitMaker
double gam(double x, double a) const
std::vector< int > detector
std::vector< double > lamstep
std::pair< unsigned int, double > Step
std::vector< double > lamdepth
bool compute()
Compute the shower longitudinal and lateral development.
std::vector< double > eStep
std::vector< Step > Steps
const HCALProperties * theHCALproperties
std::vector< double > x0curr
XYZVectorD XYZVector
spatial vector with cartesian internal representation
std::vector< double > rlamStep
std::vector< double > lamcurr
std::pair< XYZPoint, double > Spot
const ECALProperties * theECALproperties
Steps::const_iterator step_iterator
void makeSteps(int nsteps)
HDShower(const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart, double pmip)
std::vector< double > x0depth
double transProb(double factor, double R, double r)
int indexFinder(double x, const std::vector< double > &Fhist)
const RandomEngineAndDistribution * random
Power< A, B >::type pow(const A &a, const B &b)