#include <HFShower.h>
Classes | |
struct | Hit |
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... | |
std::vector< Hit > | getHits (G4Step *aStep) |
std::vector< Hit > | getHits (G4Step *aStep, bool forLibrary) |
HFShower (std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p, int chk=0) | |
HFShower (const RandomEngine *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart) | |
virtual | ~HFShower () |
virtual | ~HFShower () |
Private Member Functions | |
double | gam (double x, double a) const |
std::vector< double > | getDDDArray (const std::string &, const DDsvalues_type &, int &) |
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 |
HFCherenkov * | cherenkov |
int | chkFibre |
double | criticalEnergy |
double | depthStart |
double | depthStep |
std::vector< int > | detector |
double | e |
double | eSpotSize |
std::vector< double > | eStep |
HFFibre * | fibre |
std::vector< double > | gpar |
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 | nDepthSteps |
std::vector< int > | nspots |
int | nTRsteps |
int | onEcal |
double | part |
double | probMax |
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 HFShower.h.
typedef std::pair<XYZPoint,double> HFShower::Spot |
Definition at line 29 of file HFShower.h.
typedef std::pair<unsigned int, double> HFShower::Step |
Definition at line 30 of file HFShower.h.
typedef Steps::const_iterator HFShower::step_iterator |
Definition at line 32 of file HFShower.h.
typedef std::vector<Step> HFShower::Steps |
Definition at line 31 of file HFShower.h.
typedef math::XYZVector HFShower::XYZPoint |
Definition at line 27 of file HFShower.h.
HFShower::HFShower | ( | const RandomEngine * | engine, |
HDShowerParametrization * | myParam, | ||
EcalHitMaker * | myGrid, | ||
HcalHitMaker * | myHcalHitMaker, | ||
int | onECAL, | ||
double | epart | ||
) |
Definition at line 30 of file HFShower.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, funct::log(), LogDebug, lossesOpt, makeSteps(), maxTRfactor, 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 HFShower.h.
HFShower::HFShower | ( | std::string & | name, |
const DDCompactView & | cpv, | ||
edm::ParameterSet const & | p, | ||
int | chk = 0 |
||
) |
Definition at line 22 of file HFShower.cc.
References DDFilteredView::addFilter(), cherenkov, chkFibre, DDSpecificsFilter::equals, edm::hlt::Exception, fibre, align_tpl::filter, DDFilteredView::firstChild(), getDDDArray(), edm::ParameterSet::getParameter(), gpar, DDFilteredView::mergedSpecifics(), AlCaRecoCosmics_cfg::name, probMax, DDSpecificsFilter::setCriteria(), and relativeConstraints::value.
|
virtual |
bool HFShower::compute | ( | ) |
Compute the shower longitudinal and lateral development.
Definition at line 475 of file HFShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), prof2calltree::count, 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 49 of file HFShower.h.
References funct::exp(), and funct::pow().
Referenced by makeSteps().
|
private |
Definition at line 238 of file HFShower.cc.
References DDfetch(), DDValue::doubles(), edm::hlt::Exception, LogDebug, and relativeConstraints::value.
Referenced by HFShower().
std::vector< HFShower::Hit > HFShower::getHits | ( | G4Step * | aStep | ) |
Definition at line 69 of file HFShower.cc.
References abs, HFFibre::attLength(), cherenkov, chkFibre, HFCherenkov::computeNPE(), relval_parameters_module::energy, funct::exp(), fibre, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar, i, LogDebug, HFShower::Hit::momentum, AlCaRecoCosmics_cfg::name, L1TEmulatorMonitor_cff::p, HFShower::Hit::position, probMax, HFShower::Hit::time, cond::rpcobgas::time, HFFibre::tShift(), v, and HFShower::Hit::wavelength.
Referenced by HCalSD::hitForFibre(), and FiberSD::ProcessHits().
std::vector< HFShower::Hit > HFShower::getHits | ( | G4Step * | aStep, |
bool | forLibrary | ||
) |
Definition at line 164 of file HFShower.cc.
References abs, cherenkov, chkFibre, HFCherenkov::computeNPE(), relval_parameters_module::energy, fibre, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar, i, LogDebug, HFShower::Hit::momentum, AlCaRecoCosmics_cfg::name, HFShower::Hit::position, HFShower::Hit::time, cond::rpcobgas::time, HFFibre::tShift(), v, and HFShower::Hit::wavelength.
|
private |
Definition at line 659 of file HFShower.cc.
References debug, LogDebug, findQualityFiles::size, and ExpressReco_HICollisions_FallBack::step.
Referenced by compute().
|
private |
Definition at line 366 of file HFShower.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, cond::rpcobtemp::temp, tgamEM, tgamHD, theR1, theR2, theR3, transFactor, transParam, ExpressReco_HICollisions_FallBack::x, x0curr, x0depth, and ExpressReco_HICollisions_FallBack::y.
Referenced by HFShower().
|
inlineprivate |
Definition at line 54 of file HFShower.h.
References dttmaxenums::R.
Referenced by compute().
|
private |
Definition at line 77 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 117 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 49 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 52 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 113 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 76 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 111 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 79 of file HFShower.h.
Referenced by compute(), HFShower(), and makeSteps().
|
private |
Definition at line 96 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 109 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 80 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 50 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 54 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 119 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 84 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 75 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 75 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 82 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 82 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 82 of file HFShower.h.
Referenced by compute(), HFShower(), and makeSteps().
|
private |
Definition at line 82 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 99 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 115 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 101 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 79 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 103 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 93 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 72 of file HFShower.h.
|
private |
Definition at line 53 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 122 of file HFShower.h.
Referenced by compute(), HFShower(), and makeSteps().
|
private |
Definition at line 80 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 67 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 87 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 90 of file HFShower.h.
Referenced by compute().
|
private |
Definition at line 68 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 64 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 107 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 105 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 81 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 81 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 75 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 75 of file HFShower.h.
Referenced by HFShower().