#include <HDRShower.h>
Public Member Functions | |
bool | computeShower () |
float | getR () |
HDRShower (const RandomEngineAndDistribution *engine, HDShowerParametrization *myParam, EcalHitMaker *myGrid, HcalHitMaker *myHcalHitMaker, int onECAL, double epart) | |
void | setFuncParam () |
bool | setHit (float espot, float theta) |
void | thetaFunction (int nthetaStep) |
virtual | ~HDRShower () |
Private Attributes | |
float | decal |
float | depthECAL |
float | depthGAP |
double | depthStart |
double | e |
float | EcalShift |
float | EgridTable [7] |
float | eHDspot |
std::vector< float > | elastspot |
float | EsCut |
double | lambdaEM |
double | lambdaHD |
float | maxDepth |
int | nthetaStep |
int | onEcal |
bool | qstatus |
const RandomEngineAndDistribution * | random |
float | rpdf [100] |
EcalHitMaker * | theGrid |
HcalHitMaker * | theHcalHitMaker |
HDShowerParametrization * | theParam |
float | Theta1amp [7] |
float | Theta1ampSig [7] |
float | Theta1Lambda [7] |
float | Theta1LambdaSig [7] |
float | ThetaLam21 [7] |
float | ThetaLam21Sig [7] |
std::vector< int > | thetaSpots |
float | thetaStep |
double | x0EM |
double | x0HD |
Definition at line 22 of file HDRShower.h.
HDRShower::HDRShower | ( | const RandomEngineAndDistribution * | engine, |
HDShowerParametrization * | myParam, | ||
EcalHitMaker * | myGrid, | ||
HcalHitMaker * | myHcalHitMaker, | ||
int | onECAL, | ||
double | epart | ||
) |
Definition at line 23 of file HDRShower.cc.
References e, EcalShift, eHDspot, EsCut, M_PI, nthetaStep, setFuncParam(), and thetaStep.
|
inlinevirtual |
Definition at line 31 of file HDRShower.h.
bool HDRShower::computeShower | ( | ) |
Definition at line 41 of file HDRShower.cc.
References decal, depthECAL, depthGAP, depthStart, EcalHitMaker::ecalHcalGapTotalL0(), EcalShift, EcalHitMaker::ecalTotalL0(), eHDspot, elastspot, RandomEngineAndDistribution::flatShoot(), EcalHitMaker::getPads(), EcalHitMaker::hcalTotalL0(), mps_fire::i, dqmiolumiharvest::j, dqm-mbProfile::log, maxDepth, AlignmentProducer_cff::maxLoops, nthetaStep, onEcal, qstatus, random, setHit(), theGrid, theta(), thetaFunction(), thetaSpots, and thetaStep.
Referenced by CalorimetryManager::HDShowerSimulation().
float HDRShower::getR | ( | ) |
Definition at line 119 of file HDRShower.cc.
References l1ctLayer1_cff::dr, RandomEngineAndDistribution::flatShoot(), nano_mu_digi_cff::float, mps_fire::i, lambdaHD, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, R_range, random, and rpdf.
Referenced by setHit().
void HDRShower::setFuncParam | ( | ) |
Definition at line 204 of file HDRShower.cc.
References debug, e, HDShowerParametrization::ecalProperties(), EgridTable, JetChargeProducer_cfi::exp, nano_mu_digi_cff::float, HDShowerParametrization::hcalProperties(), mps_fire::i, ECALProperties::interactionLength(), HCALProperties::interactionLength(), lambdaEM, lambdafit, lambdaHD, dqm-mbProfile::log, LogDebug, NEnergyScan, onEcal, conifer::pow(), alignCSCRings::r, R_range, HCALProperties::radLenIncm(), rpdf, theParam, Theta1amp, Theta1ampSig, Theta1Lambda, Theta1LambdaSig, ThetaLam21, ThetaLam21Sig, x, and x0HD.
Referenced by HDRShower().
bool HDRShower::setHit | ( | float | espot, |
float | theta | ||
) |
Definition at line 91 of file HDRShower.cc.
References HcalHitMaker::addHit(), EcalHitMaker::addHit(), funct::cos(), ztail::d, depthECAL, depthGAP, depthStart, RandomEngineAndDistribution::flatShoot(), getR(), M_PI, maxDepth, onEcal, phi, qstatus, random, mps_fire::result, HcalHitMaker::setDepth(), HcalHitMaker::setSpotEnergy(), EcalHitMaker::setSpotEnergy(), funct::sin(), theGrid, theHcalHitMaker, and theta().
Referenced by computeShower().
void HDRShower::thetaFunction | ( | int | nthetaStep | ) |
Definition at line 134 of file HDRShower.cc.
References a, HltBtagPostValidation_cff::c, e, EgridTable, eHDspot, elastspot, EsCut, JetChargeProducer_cfi::exp, RandomEngineAndDistribution::flatShoot(), personalPlayback::fn, RandomEngineAndDistribution::gaussShoot(), mps_fire::i, createfilelist::int, dqmdumpme::k, PixelRegions::L1, PixelRegions::L2, dqmiodumpmetadata::n, NEnergyScan, nthetaStep, gpuPixelDoublets::ntot, AlCaHLTBitMon_ParallelJobs::p, random, theta(), Theta1amp, Theta1ampSig, Theta1Lambda, Theta1LambdaSig, ThetaLam21, ThetaLam21Sig, thetaSpots, and thetaStep.
Referenced by computeShower().
|
private |
Definition at line 64 of file HDRShower.h.
Referenced by computeShower().
|
private |
Definition at line 59 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 59 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 52 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 45 of file HDRShower.h.
Referenced by HDRShower(), setFuncParam(), and thetaFunction().
|
private |
Definition at line 55 of file HDRShower.h.
Referenced by computeShower(), and HDRShower().
|
private |
Definition at line 66 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 53 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), and thetaFunction().
|
private |
Definition at line 61 of file HDRShower.h.
Referenced by computeShower(), and thetaFunction().
|
private |
Definition at line 54 of file HDRShower.h.
Referenced by HDRShower(), and thetaFunction().
|
private |
Definition at line 51 of file HDRShower.h.
Referenced by setFuncParam().
|
private |
Definition at line 51 of file HDRShower.h.
Referenced by getR(), and setFuncParam().
|
private |
Definition at line 59 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 56 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), and thetaFunction().
|
private |
Definition at line 44 of file HDRShower.h.
Referenced by computeShower(), setFuncParam(), and setHit().
|
private |
Definition at line 63 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 75 of file HDRShower.h.
Referenced by computeShower(), getR(), setHit(), and thetaFunction().
|
private |
Definition at line 62 of file HDRShower.h.
Referenced by getR(), and setFuncParam().
|
private |
Definition at line 42 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 43 of file HDRShower.h.
Referenced by setHit().
|
private |
Definition at line 41 of file HDRShower.h.
Referenced by setFuncParam().
|
private |
Definition at line 67 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 68 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 69 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 70 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 71 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 72 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 60 of file HDRShower.h.
Referenced by computeShower(), and thetaFunction().
|
private |
Definition at line 58 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), and thetaFunction().
|
private |
Definition at line 51 of file HDRShower.h.
|
private |
Definition at line 51 of file HDRShower.h.
Referenced by setFuncParam().