#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 RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart, double pmip) | |
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 | depthECAL |
double | depthGAP |
double | depthGAPx0 |
double | depthHCAL |
double | depthStart |
double | depthStep |
double | depthToHCAL |
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 RandomEngineAndDistribution * | 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 26 of file HDShower.h.
typedef std::pair<unsigned int, double> HDShower::Step |
Definition at line 27 of file HDShower.h.
typedef Steps::const_iterator HDShower::step_iterator |
Definition at line 29 of file HDShower.h.
typedef std::vector<Step> HDShower::Steps |
Definition at line 28 of file HDShower.h.
typedef math::XYZVector HDShower::XYZPoint |
Definition at line 24 of file HDShower.h.
HDShower::HDShower | ( | const RandomEngineAndDistribution * | engine, |
HDShowerParametrization * | myParam, | ||
EcalHitMaker * | myGrid, | ||
HcalHitMaker * | myHcalHitMaker, | ||
int | onECAL, | ||
double | epart, | ||
double | pmip | ||
) |
Definition at line 21 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, depthECAL, depthGAP, depthGAPx0, depthHCAL, depthStart, depthStep, depthToHCAL, detector, e, HDShowerParametrization::e1(), HDShowerParametrization::e2(), EcalHitMaker::ecalHcalGapTotalL0(), EcalHitMaker::ecalHcalGapTotalX0(), HDShowerParametrization::ecalProperties(), EcalHitMaker::ecalTotalL0(), HDShowerParametrization::emax(), HDShowerParametrization::emid(), HDShowerParametrization::emin(), eSpotSize, RandomEngineAndDistribution::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(), mps_fire::i, ECALProperties::interactionLength(), HCALProperties::interactionLength(), lambdaEM, lambdaHD, lamcurr, lamdepth, lamstep, lamtotal, dqm-mbProfile::log, lossesOpt, makeSteps(), HLT_2022v15_cff::maxDepth, 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 41 of file HDShower.h.
bool HDShower::compute | ( | ) |
Compute the shower longitudinal and lateral development.
Definition at line 453 of file HDShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), submitPVResolutionJobs::count, gather_cfg::cout, debug, detector, eStep, RandomEngineAndDistribution::flatShoot(), EcalHitMaker::getPads(), hcalDepthFactor, mps_fire::i, indexFinder(), dqmiodatasetharvest::inf, infinity, dqmiolumiharvest::j, lamstep, lamtotal, lossesOpt, M_PI, maxTRfactor, nspots, nTRsteps, phi, TtFullHadEvtBuilder_cfi::prob, CosmicsPD_Skims::radius, random, mps_fire::result, rlamStep, HcalHitMaker::setDepth(), HcalHitMaker::setSpotEnergy(), EcalHitMaker::setSpotEnergy(), mps_update::status, theGrid, theHcalHitMaker, and transProb().
Referenced by CalorimetryManager::HDShowerSimulation().
|
inlineprivate |
Definition at line 48 of file HDShower.h.
References a, JetChargeProducer_cfi::exp, funct::pow(), and x.
Referenced by makeSteps().
|
inline |
Definition at line 39 of file HDShower.h.
References mip.
Referenced by CalorimetryManager::HDShowerSimulation().
|
private |
Definition at line 601 of file HDShower.cc.
References debug, findQualityFiles::size, and x.
Referenced by compute().
|
private |
Definition at line 355 of file HDShower.cc.
References aloge, alpEM, alpHD, balanceEH, betEM, betHD, submitPVResolutionJobs::count, debug, detector, e, eSpotSize, eStep, RandomEngineAndDistribution::flatShoot(), gam(), mps_fire::i, infinity, createfilelist::int, lamcurr, lamdepth, lamstep, nspots, random, rlamStep, groupFilesInBlocks::temp, tgamEM, tgamHD, theR1, theR2, theR3, transFactor, transParam, x, x0curr, x0depth, and y.
Referenced by HDShower().
|
inlineprivate |
Definition at line 53 of file HDShower.h.
References dttmaxenums::R, and alignCSCRings::r.
Referenced by compute().
|
private |
Definition at line 76 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 119 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 115 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 127 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 127 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 127 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 127 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 113 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 127 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 78 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 98 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 111 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 79 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 121 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 83 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 101 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 117 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 95 of file HDShower.h.
Referenced by getmip(), and HDShower().
|
private |
Definition at line 103 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 78 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 105 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 92 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 71 of file HDShower.h.
|
private |
Definition at line 124 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 79 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 66 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 86 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 89 of file HDShower.h.
Referenced by compute().
|
private |
Definition at line 67 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 63 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 70 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 70 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 70 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 109 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 107 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 74 of file HDShower.h.
Referenced by HDShower().