#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 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 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, cmsBatch::log, lossesOpt, makeSteps(), CMSBoostedTauSeedingParameters_cfi::maxDepth, maxTRfactor, mip, nDepthSteps, nTRsteps, onEcal, HDShowerParametrization::part1(), HDShowerParametrization::part2(), HDShowerParametrization::r1(), HDShowerParametrization::r2(), HDShowerParametrization::r3(), ECALProperties::radLenIncm(), HCALProperties::radLenIncm(), random, HDShowerParametrization::setCase(), combinedConstraintHelpers::sum2(), tgamEM, tgamHD, theECALproperties, theGrid, theHCALproperties, theParam, theR1, theR2, theR3, transFactor, transParam, x0curr, x0depth, x0EM, and x0HD.
|
inlinevirtual |
bool HDShower::compute | ( | ) |
Compute the shower longitudinal and lateral development.
Definition at line 447 of file HDShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), KineDebug3::count(), gather_cfg::cout, debug, detector, digitizers_cfi::ecal, eStep, RandomEngineAndDistribution::flatShoot(), EcalHitMaker::getPads(), hcalDepthFactor, mps_fire::i, indexFinder(), spu::inf(), infinity, lamstep, lamtotal, lossesOpt, M_PI, maxTRfactor, nspots, nTRsteps, phi, TtFullHadEvtBuilder_cfi::prob, TCMET_cfi::radius, random, mps_fire::result, rlamStep, HcalHitMaker::setDepth(), HcalHitMaker::setSpotEnergy(), EcalHitMaker::setSpotEnergy(), mps_update::status, theGrid, theHcalHitMaker, and transProb().
Referenced by CalorimetryManager::HDShowerSimulation(), and ~HDShower().
|
inlineprivate |
Definition at line 52 of file HDShower.h.
References JetChargeProducer_cfi::exp, and funct::pow().
Referenced by makeSteps().
|
inline |
Definition at line 42 of file HDShower.h.
References mip.
Referenced by CalorimetryManager::HDShowerSimulation().
|
private |
Definition at line 582 of file HDShower.cc.
References debug, and findQualityFiles::size.
Referenced by compute(), and transProb().
|
private |
Definition at line 339 of file HDShower.cc.
References aloge, alpEM, alpHD, balanceEH, betEM, betHD, KineDebug3::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(), and transProb().
|
inlineprivate |
Definition at line 57 of file HDShower.h.
References indexFinder(), makeSteps(), dttmaxenums::R, and x.
Referenced by compute().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 123 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 119 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 131 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 131 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 131 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 131 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 79 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 117 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 131 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 82 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 102 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 115 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 83 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 125 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 87 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 78 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 78 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 85 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 85 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 85 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 85 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 105 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 121 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 99 of file HDShower.h.
Referenced by getmip(), and HDShower().
|
private |
Definition at line 107 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 82 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 109 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 96 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 75 of file HDShower.h.
|
private |
Definition at line 128 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 83 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 75 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 70 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 90 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 93 of file HDShower.h.
Referenced by compute().
|
private |
Definition at line 71 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 67 of file HDShower.h.
Referenced by HDShower().
|
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 74 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 113 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 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 78 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 78 of file HDShower.h.
Referenced by HDShower().