#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, DQMStore *const dbeIn) | |
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 |
DQMStore * | dbe |
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 23 of file HDShower.h.
typedef std::pair<XYZPoint,double> HDShower::Spot |
Definition at line 30 of file HDShower.h.
typedef std::pair<unsigned int, double> HDShower::Step |
Definition at line 31 of file HDShower.h.
typedef Steps::const_iterator HDShower::step_iterator |
Definition at line 33 of file HDShower.h.
typedef std::vector<Step> HDShower::Steps |
Definition at line 32 of file HDShower.h.
typedef math::XYZVector HDShower::XYZPoint |
Definition at line 28 of file HDShower.h.
HDShower::HDShower | ( | const RandomEngineAndDistribution * | engine, |
HDShowerParametrization * | myParam, | ||
EcalHitMaker * | myGrid, | ||
HcalHitMaker * | myHcalHitMaker, | ||
int | onECAL, | ||
double | epart, | ||
double | pmip, | ||
DQMStore *const | dbeIn | ||
) |
Definition at line 34 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, DQMStore::cd(), criticalEnergy, dbe, 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, MonitorElement::Fill(), RandomEngineAndDistribution::flatShoot(), DQMStore::get(), 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, log, 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 46 of file HDShower.h.
bool HDShower::compute | ( | ) |
Compute the shower longitudinal and lateral development.
Definition at line 469 of file HDShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), DQMStore::cd(), prof2calltree::count, gather_cfg::cout, dbe, debug, depthToHCAL, detector, dt, e, patCandidatesForDimuonsSequences_cff::ecal, eStep, MonitorElement::Fill(), RandomEngineAndDistribution::flatShoot(), DQMStore::get(), EcalHitMaker::getPads(), hcalDepthFactor, i, cmsHarvester::index, indexFinder(), EcalCondDB::inf, infinity, j, lamstep, lamtotal, lossesOpt, M_PI, maxTRfactor, nspots, nTRsteps, phi, mix_2012_Summer_inTimeOnly_cff::prob, 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 54 of file HDShower.h.
References create_public_lumi_plots::exp, and funct::pow().
Referenced by makeSteps().
|
inline |
Definition at line 44 of file HDShower.h.
References mip.
Referenced by CalorimetryManager::HDShowerSimulation().
|
private |
Definition at line 644 of file HDShower.cc.
References debug, getDQMSummary::iter, findQualityFiles::size, and relval_parameters_module::step.
Referenced by compute().
|
private |
Definition at line 361 of file HDShower.cc.
References aloge, alpEM, alpHD, balanceEH, betEM, betHD, prof2calltree::count, debug, detector, e, eSpotSize, eStep, RandomEngineAndDistribution::flatShoot(), gam(), i, infinity, lamcurr, lamdepth, lamstep, 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 59 of file HDShower.h.
References dttmaxenums::R.
Referenced by compute().
|
private |
Definition at line 82 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 125 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 121 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 133 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 136 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 136 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 136 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 136 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 81 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 119 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 136 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 84 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 104 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 117 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 85 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 127 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 89 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 87 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 87 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 87 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 87 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 107 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 123 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 101 of file HDShower.h.
Referenced by getmip(), and HDShower().
|
private |
Definition at line 109 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 84 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 111 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 98 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 77 of file HDShower.h.
|
private |
Definition at line 130 of file HDShower.h.
Referenced by compute(), HDShower(), and makeSteps().
|
private |
Definition at line 85 of file HDShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 77 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 72 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 92 of file HDShower.h.
Referenced by compute(), and HDShower().
|
private |
Definition at line 95 of file HDShower.h.
Referenced by compute().
|
private |
Definition at line 73 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 69 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 76 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 76 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 76 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 113 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 86 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 86 of file HDShower.h.
Referenced by HDShower(), and makeSteps().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower().
|
private |
Definition at line 80 of file HDShower.h.
Referenced by HDShower().