#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 (const G4Step *aStep, double weight) |
std::vector< Hit > | getHits (const G4Step *aStep, bool forLibrary) |
std::vector< Hit > | getHits (const G4Step *aStep, bool forLibraryProducer, double zoffset) |
HFShower (const std::string &name, const HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p, int chk=0) | |
HFShower (const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart) | |
virtual | ~HFShower () |
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 |
bool | applyFidCut_ |
double | balanceEH |
double | betEM |
double | betHD |
HFCherenkov | cherenkov_ |
int | chkFibre_ |
double | criticalEnergy |
double | depthStart |
double | depthStep |
std::vector< int > | detector |
double | e |
bool | equalizeTimeShift_ |
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 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 HFShower.h.
typedef std::pair<XYZPoint, double> HFShower::Spot |
Definition at line 26 of file HFShower.h.
typedef std::pair<unsigned int, double> HFShower::Step |
Definition at line 27 of file HFShower.h.
typedef Steps::const_iterator HFShower::step_iterator |
Definition at line 29 of file HFShower.h.
typedef std::vector<Step> HFShower::Steps |
Definition at line 28 of file HFShower.h.
typedef math::XYZVector HFShower::XYZPoint |
Definition at line 24 of file HFShower.h.
HFShower::HFShower | ( | const RandomEngineAndDistribution * | engine, |
HDShowerParametrization * | myParam, | ||
EcalHitMaker * | myGrid, | ||
HcalHitMaker * | myHcalHitMaker, | ||
int | onECAL, | ||
double | epart | ||
) |
Definition at line 29 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, 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, LogDebug, lossesOpt, makeSteps(), HLT_2024v10_cff::maxDepth, 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 38 of file HFShower.h.
HFShower::HFShower | ( | const std::string & | name, |
const HcalDDDSimConstants * | hcons, | ||
const HcalSimulationParameters * | hps, | ||
edm::ParameterSet const & | p, | ||
int | chk = 0 |
||
) |
Definition at line 21 of file HFShower.cc.
References applyFidCut_, chkFibre_, equalizeTimeShift_, HcalDDDSimConstants::getGparHF(), edm::ParameterSet::getParameter(), gpar_, AlCaHLTBitMon_ParallelJobs::p, and probMax_.
bool HFShower::compute | ( | ) |
Compute the shower longitudinal and lateral development.
Definition at line 459 of file HFShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), submitPVResolutionJobs::count, debug, detector, eStep, RandomEngineAndDistribution::flatShoot(), EcalHitMaker::getPads(), hcalDepthFactor, mps_fire::i, indexFinder(), dqmiodatasetharvest::inf, infinity, dqmiolumiharvest::j, lamstep, lamtotal, nano_mu_digi_cff::layer, LogDebug, 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 45 of file HFShower.h.
References a, JetChargeProducer_cfi::exp, funct::pow(), and x.
Referenced by makeSteps().
std::vector< HFShower::Hit > HFShower::getHits | ( | const G4Step * | aStep, |
double | weight | ||
) |
Definition at line 40 of file HFShower.cc.
References funct::abs(), applyFidCut_, HFFibre::attLength(), cherenkov_, chkFibre_, HFCherenkov::computeNPE(), hcalRecHitTable_cff::depth, hcalRecHitTable_cff::energy, equalizeTimeShift_, JetChargeProducer_cfi::exp, fibre_, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar_, hfClusterShapes_cfi::hits, mps_fire::i, Skims_PA_cff::name, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, HFFibreFiducial::PMTNumber(), probMax_, diffTwoXMLs::r1, diffTwoXMLs::r2, hcalRecHitTable_cff::time, HFFibre::tShift(), findQualityFiles::v, w(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::zv.
Referenced by FiberSD::ProcessHits().
std::vector< HFShower::Hit > HFShower::getHits | ( | const G4Step * | aStep, |
bool | forLibrary | ||
) |
Definition at line 261 of file HFShower.cc.
References funct::abs(), applyFidCut_, cherenkov_, chkFibre_, HFCherenkov::computeNPE(), hcalRecHitTable_cff::depth, hcalRecHitTable_cff::energy, equalizeTimeShift_, fibre_, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar_, hfClusterShapes_cfi::hits, mps_fire::i, Skims_PA_cff::name, convertSQLiteXML::ok, HFFibreFiducial::PMTNumber(), hcalRecHitTable_cff::time, HFFibre::tShift(), findQualityFiles::v, w(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::zv.
std::vector< HFShower::Hit > HFShower::getHits | ( | const G4Step * | aStep, |
bool | forLibraryProducer, | ||
double | zoffset | ||
) |
Definition at line 172 of file HFShower.cc.
References funct::abs(), cherenkov_, chkFibre_, HFCherenkov::computeNPE(), hcalRecHitTable_cff::depth, hcalRecHitTable_cff::energy, equalizeTimeShift_, fibre_, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar_, hfClusterShapes_cfi::hits, mps_fire::i, Skims_PA_cff::name, convertSQLiteXML::ok, hcalRecHitTable_cff::time, HFFibre::tShift(), findQualityFiles::v, w(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::zv.
|
private |
Definition at line 632 of file HFShower.cc.
References debug, LogDebug, findQualityFiles::size, and x.
Referenced by compute().
|
private |
Definition at line 363 of file HFShower.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, LogDebug, nspots, random, rlamStep, groupFilesInBlocks::temp, tgamEM, tgamHD, theR1, theR2, theR3, transFactor, transParam, x, x0curr, x0depth, and y.
Referenced by HFShower().
|
inlineprivate |
Definition at line 50 of file HFShower.h.
References dttmaxenums::R, and alignCSCRings::r.
Referenced by compute().
|
private |
Definition at line 73 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 68 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 68 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 113 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 68 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 68 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 45 of file HFShower.h.
Referenced by getHits().
|
private |
Definition at line 48 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 109 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 72 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 107 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 75 of file HFShower.h.
Referenced by compute(), HFShower(), and makeSteps().
|
private |
Definition at line 92 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 50 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 105 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 76 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 46 of file HFShower.h.
Referenced by getHits().
|
private |
Definition at line 52 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 115 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 80 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 78 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 78 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 78 of file HFShower.h.
Referenced by compute(), HFShower(), and makeSteps().
|
private |
Definition at line 78 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 95 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 111 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 97 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 75 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 99 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 89 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 68 of file HFShower.h.
|
private |
Definition at line 51 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 118 of file HFShower.h.
Referenced by compute(), HFShower(), and makeSteps().
|
private |
Definition at line 76 of file HFShower.h.
Referenced by compute(), and makeSteps().
|
private |
Definition at line 68 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 68 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 63 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 83 of file HFShower.h.
Referenced by compute(), and HFShower().
|
private |
Definition at line 86 of file HFShower.h.
Referenced by compute().
|
private |
Definition at line 64 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 60 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 67 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 67 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 67 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 103 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 101 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 77 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 77 of file HFShower.h.
Referenced by HFShower(), and makeSteps().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower().
|
private |
Definition at line 71 of file HFShower.h.
Referenced by HFShower().