#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, double weight) |
std::vector< Hit > | getHits (G4Step *aStep, bool forLibrary) |
std::vector< Hit > | getHits (G4Step *aStep, bool forLibraryProducer, double zoffset) |
HFShower (std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p, int chk=0) | |
HFShower (const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart) | |
void | initRun (G4ParticleTable *, HcalDDDSimConstants *) |
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 |
bool | applyFidCut |
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 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 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 RandomEngineAndDistribution * | 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, 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(), i, ECALProperties::interactionLength(), HCALProperties::interactionLength(), lambdaEM, lambdaHD, lamcurr, lamdepth, lamstep, lamtotal, create_public_lumi_plots::log, LogDebug, lossesOpt, makeSteps(), HLT_25ns14e33_v1_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 41 of file HFShower.h.
HFShower::HFShower | ( | std::string & | name, |
const DDCompactView & | cpv, | ||
edm::ParameterSet const & | p, | ||
int | chk = 0 |
||
) |
Definition at line 26 of file HFShower.cc.
References applyFidCut, cherenkov, chkFibre, fibre, edm::ParameterSet::getParameter(), and probMax.
|
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, RandomEngineAndDistribution::flatShoot(), EcalHitMaker::getPads(), hcalDepthFactor, i, cmsHarvester::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 create_public_lumi_plots::exp, and funct::pow().
Referenced by makeSteps().
|
private |
Definition at line 416 of file HFShower.cc.
References DDfetch(), DDValue::doubles(), Exception, LogDebug, and relativeConstraints::value.
std::vector< HFShower::Hit > HFShower::getHits | ( | G4Step * | aStep, |
double | weight | ||
) |
Definition at line 47 of file HFShower.cc.
References funct::abs(), applyFidCut, HFFibre::attLength(), cherenkov, chkFibre, HFCherenkov::computeNPE(), HFShower::Hit::depth, HLT_25ns14e33_v1_cff::depth, relval_parameters_module::energy, create_public_lumi_plots::exp, fibre, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar, i, HFShower::Hit::momentum, mergeVDriftHistosByStation::name, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, HFFibreFiducial::PMTNumber(), HFShower::Hit::position, probMax, diffTwoXMLs::r1, diffTwoXMLs::r2, HFShower::Hit::time, cond::rpcobgas::time, HFFibre::tShift(), findQualityFiles::v, w, and HFShower::Hit::wavelength.
Referenced by HCalSD::hitForFibre(), and FiberSD::ProcessHits().
std::vector< HFShower::Hit > HFShower::getHits | ( | G4Step * | aStep, |
bool | forLibrary | ||
) |
Definition at line 317 of file HFShower.cc.
References funct::abs(), applyFidCut, cherenkov, chkFibre, HFCherenkov::computeNPE(), HLT_25ns14e33_v1_cff::depth, relval_parameters_module::energy, fibre, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar, i, HFShower::Hit::momentum, mergeVDriftHistosByStation::name, convertSQLiteXML::ok, HFFibreFiducial::PMTNumber(), HFShower::Hit::position, HFShower::Hit::time, cond::rpcobgas::time, HFFibre::tShift(), findQualityFiles::v, w, and HFShower::Hit::wavelength.
std::vector< HFShower::Hit > HFShower::getHits | ( | G4Step * | aStep, |
bool | forLibraryProducer, | ||
double | zoffset | ||
) |
Definition at line 182 of file HFShower.cc.
References funct::abs(), applyFidCut, HFFibre::attLength(), cherenkov, chkFibre, HFCherenkov::computeNPE(), HFShower::Hit::depth, HLT_25ns14e33_v1_cff::depth, relval_parameters_module::energy, create_public_lumi_plots::exp, fibre, HFCherenkov::getMom(), HFCherenkov::getWL(), gpar, i, HFShower::Hit::momentum, mergeVDriftHistosByStation::name, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, HFFibreFiducial::PMTNumber(), HFShower::Hit::position, probMax, diffTwoXMLs::r1, diffTwoXMLs::r2, HFShower::Hit::time, cond::rpcobgas::time, HFFibre::tShift(), findQualityFiles::v, w, and HFShower::Hit::wavelength.
|
private |
Definition at line 659 of file HFShower.cc.
References debug, LogDebug, findQualityFiles::size, and relval_parameters_module::step.
Referenced by compute().
void HFShower::initRun | ( | G4ParticleTable * | , |
HcalDDDSimConstants * | hcons | ||
) |
Definition at line 454 of file HFShower.cc.
References fibre, HcalDDDSimConstants::getGparHF(), gpar, and HFFibre::initRun().
Referenced by HCalSD::initRun(), and FiberSD::update().
|
private |
Definition at line 366 of file HFShower.cc.
References aloge, alpEM, alpHD, balanceEH, betEM, betHD, prof2calltree::count, debug, detector, e, eSpotSize, eStep, RandomEngineAndDistribution::flatShoot(), gam(), i, infinity, 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 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 50 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
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 54 of file HFShower.h.
Referenced by getHits(), and HFShower().
|
private |
Definition at line 57 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 55 of file HFShower.h.
Referenced by getHits(), HFShower(), and initRun().
|
private |
Definition at line 59 of file HFShower.h.
|
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 58 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().