#include <HDShower.h>
Public Types | |
typedef std::pair< XYZPoint, double > | Spot |
typedef std::pair< unsigned int, double > | Step |
typedef Steps::const_iterator | step_iterator |
typedef std::vector< Step > | Steps |
typedef math::XYZVector | XYZPoint |
Public Member Functions | |
bool | compute () |
Compute the shower longitudinal and lateral development. More... | |
int | getmip () |
HDShower (const RandomEngine *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart) | |
virtual | ~HDShower () |
Private Member Functions | |
double | gam (double x, double a) const |
int | indexFinder (double x, const std::vector< double > &Fhist) |
void | makeSteps (int nsteps) |
double | transProb (double factor, double R, double r) |
Private Attributes | |
double | aloge |
double | alpEM |
double | alpHD |
double | balanceEH |
double | betEM |
double | betHD |
double | criticalEnergy |
double | depthStart |
double | depthStep |
std::vector< int > | detector |
double | e |
double | eSpotSize |
std::vector< double > | eStep |
double | hcalDepthFactor |
int | infinity |
double | lambdaEM |
double | lambdaHD |
std::vector< double > | lamcurr |
std::vector< double > | lamdepth |
std::vector< double > | lamstep |
std::vector< double > | lamtotal |
int | lossesOpt |
double | maxTRfactor |
int | mip |
int | nDepthSteps |
std::vector< int > | nspots |
int | nTRsteps |
int | onEcal |
double | part |
const RandomEngine * | random |
std::vector< double > | rlamStep |
double | tgamEM |
double | tgamHD |
const ECALProperties * | theECALproperties |
EcalHitMaker * | theGrid |
HcalHitMaker * | theHcalHitMaker |
const HCALProperties * | theHCALproperties |
HDShowerParametrization * | theParam |
double | theR1 |
double | theR2 |
double | theR3 |
double | transFactor |
double | transParam |
std::vector< double > | x0curr |
std::vector< double > | x0depth |
double | x0EM |
double | x0HD |
Definition at line 22 of file HDShower.h.
typedef std::pair<XYZPoint,double> HDShower::Spot |
Definition at line 29 of file HDShower.h.
typedef std::pair<unsigned int, double> HDShower::Step |
Definition at line 30 of file HDShower.h.
typedef Steps::const_iterator HDShower::step_iterator |
Definition at line 32 of file HDShower.h.
typedef std::vector<Step> HDShower::Steps |
Definition at line 31 of file HDShower.h.
typedef math::XYZVector HDShower::XYZPoint |
Definition at line 27 of file HDShower.h.
HDShower::HDShower | ( | const RandomEngine * | engine, |
HDShowerParametrization * | myParam, | ||
EcalHitMaker * | myGrid, | ||
HcalHitMaker * | myHcalHitMaker, | ||
int | onECAL, | ||
double | epart | ||
) |
Definition at line 30 of file HDShower.cc.
References aloge, HDShowerParametrization::alpe1(), HDShowerParametrization::alpe2(), alpEM, HDShowerParametrization::alph1(), HDShowerParametrization::alph2(), alpHD, balanceEH, HDShowerParametrization::bete1(), HDShowerParametrization::bete2(), betEM, HDShowerParametrization::beth1(), HDShowerParametrization::beth2(), betHD, criticalEnergy, debug, depthStart, depthStep, detector, e, HDShowerParametrization::e1(), HDShowerParametrization::e2(), EcalHitMaker::ecalHcalGapTotalL0(), EcalHitMaker::ecalHcalGapTotalX0(), HDShowerParametrization::ecalProperties(), EcalHitMaker::ecalTotalL0(), HDShowerParametrization::emax(), HDShowerParametrization::emid(), HDShowerParametrization::emin(), eSpotSize, RandomEngine::flatShoot(), HSParameters::getHDbalanceEH(), HSParameters::getHDcriticalEnergy(), HSParameters::getHDdepthStep(), HSParameters::getHDeSpotSize(), HSParameters::getHDhcalDepthFactor(), HSParameters::getHDlossesOpt(), HSParameters::getHDmaxTRfactor(), HSParameters::getHDnDepthSteps(), HSParameters::getHDnTRsteps(), HSParameters::getHDtransParam(), hcalDepthFactor, HDShowerParametrization::hcalProperties(), EcalHitMaker::hcalTotalL0(), HDShowerParametrization::hsParameters(), i, ECALProperties::interactionLength(), HCALProperties::interactionLength(), lambdaEM, lambdaHD, lamcurr, lamdepth, lamstep, lamtotal, create_public_lumi_plots::log, LogDebug, lossesOpt, makeSteps(), maxTRfactor, mip, nDepthSteps, nTRsteps, onEcal, HDShowerParametrization::part1(), HDShowerParametrization::part2(), HDShowerParametrization::r1(), HDShowerParametrization::r2(), HDShowerParametrization::r3(), ECALProperties::radLenIncm(), HCALProperties::radLenIncm(), random, HDShowerParametrization::setCase(), tgamEM, tgamHD, theECALproperties, theGrid, theHCALproperties, theParam, theR1, theR2, theR3, transFactor, transParam, x0curr, x0depth, x0EM, and x0HD.
|
inlinevirtual |
Definition at line 43 of file HDShower.h.
bool HDShower::compute | ( | ) |
Compute the shower longitudinal and lateral development.
Definition at line 471 of file HDShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), prof2calltree::count, gather_cfg::cout, debug, detector, patCandidatesForDimuonsSequences_cff::ecal, eStep, RandomEngine::flatShoot(), EcalHitMaker::getPads(), hcalDepthFactor, i, getHLTprescales::index, indexFinder(), EcalCondDB::inf, infinity, j, lamstep, lamtotal, LogDebug, lossesOpt, M_PI, maxTRfactor, nspots, nTRsteps, phi, CosmicsPD_Skims::radius, random, query::result, rlamStep, HcalHitMaker::setDepth(), HcalHitMaker::setSpotEnergy(), EcalHitMaker::setSpotEnergy(), ntuplemaker::status, theGrid, theHcalHitMaker, and transProb().
Referenced by CalorimetryManager::HDShowerSimulation().
|
inlineprivate |
Definition at line 51 of file HDShower.h.
References create_public_lumi_plots::exp, and funct::pow().
Referenced by makeSteps().
|
inline |
Definition at line 41 of file HDShower.h.
References mip.
Referenced by CalorimetryManager::HDShowerSimulation().
|
private |
Definition at line 624 of file HDShower.cc.
References debug, LogDebug, findQualityFiles::size, and launcher::step.
Referenced by compute().
|
private |
Definition at line 359 of file HDShower.cc.
References aloge, alpEM, alpHD, balanceEH, betEM, betHD, prof2calltree::count, debug, detector, e, eSpotSize, eStep, RandomEngine::flatShoot(), gam(), i, infinity, lamcurr, lamdepth, lamstep, LogDebug, nspots, random, rlamStep, groupFilesInBlocks::temp, tgamEM, tgamHD, theR1, theR2, theR3, transFactor, transParam, x, x0curr, x0depth, and detailsBasic3DVector::y.
Referenced by HDShower().
|
inlineprivate |
Definition at line 56 of file HDShower.h.
References dttmaxenums::R.
Referenced by compute().
|
private |
Definition at line 79 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 122 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 118 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 78 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 116 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 101 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 114 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 82 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 124 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 86 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 84 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 84 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 84 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 84 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 104 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 120 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 98 of file HDShower.h.
Referenced by getmip(), and HDShower().
|
private |
Definition at line 106 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 108 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 95 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 74 of file HDShower.h.
|
private |
Definition at line 127 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 82 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 69 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 89 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 92 of file HDShower.h.
Referenced by compute().
|
private |
Definition at line 70 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 66 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 73 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 73 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 73 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 112 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 110 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 83 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 83 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower().