#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 33 of file HDRShower.h.
bool HDRShower::computeShower | ( | ) |
Definition at line 47 of file HDRShower.cc.
References decal, depthECAL, depthGAP, depthStart, e, EcalHitMaker::ecalHcalGapTotalL0(), EcalShift, EcalHitMaker::ecalTotalL0(), eHDspot, elastspot, RandomEngineAndDistribution::flatShoot(), EcalHitMaker::getPads(), EcalHitMaker::hcalTotalL0(), i, j, create_public_lumi_plots::log, maxDepth, nthetaStep, onEcal, qstatus, random, setHit(), theGrid, theta(), thetaFunction(), thetaSpots, and thetaStep.
Referenced by CalorimetryManager::HDShowerSimulation().
float HDRShower::getR | ( | ) |
Definition at line 127 of file HDRShower.cc.
References RandomEngineAndDistribution::flatShoot(), i, lambdaHD, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, R_range, random, and rpdf.
Referenced by setHit().
void HDRShower::setFuncParam | ( | ) |
Definition at line 195 of file HDRShower.cc.
References debug, e, HDShowerParametrization::ecalProperties(), EgridTable, create_public_lumi_plots::exp, HDShowerParametrization::hcalProperties(), i, ECALProperties::interactionLength(), HCALProperties::interactionLength(), lambdaEM, lambdafit, lambdaHD, create_public_lumi_plots::log, LogDebug, NEnergyScan, onEcal, funct::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 98 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, query::result, HcalHitMaker::setDepth(), HcalHitMaker::setSpotEnergy(), EcalHitMaker::setSpotEnergy(), funct::sin(), theGrid, and theHcalHitMaker.
Referenced by computeShower().
void HDRShower::thetaFunction | ( | int | nthetaStep | ) |
Definition at line 138 of file HDRShower.cc.
References a, EnergyCorrector::c, e, EgridTable, eHDspot, elastspot, EsCut, create_public_lumi_plots::exp, RandomEngineAndDistribution::flatShoot(), personalPlayback::fn, RandomEngineAndDistribution::gaussShoot(), i, relval_steps::k, gen::n, NEnergyScan, nthetaStep, AlCaHLTBitMon_ParallelJobs::p, random, theta(), Theta1amp, Theta1ampSig, Theta1Lambda, Theta1LambdaSig, ThetaLam21, ThetaLam21Sig, thetaSpots, and thetaStep.
Referenced by computeShower().
|
private |
Definition at line 66 of file HDRShower.h.
Referenced by computeShower().
|
private |
Definition at line 61 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 61 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 54 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 47 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), setFuncParam(), and thetaFunction().
|
private |
Definition at line 57 of file HDRShower.h.
Referenced by computeShower(), and HDRShower().
|
private |
Definition at line 68 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 55 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), and thetaFunction().
|
private |
Definition at line 63 of file HDRShower.h.
Referenced by computeShower(), and thetaFunction().
|
private |
Definition at line 56 of file HDRShower.h.
Referenced by HDRShower(), and thetaFunction().
|
private |
Definition at line 53 of file HDRShower.h.
Referenced by setFuncParam().
|
private |
Definition at line 53 of file HDRShower.h.
Referenced by getR(), and setFuncParam().
|
private |
Definition at line 61 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 58 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), and thetaFunction().
|
private |
Definition at line 46 of file HDRShower.h.
Referenced by computeShower(), setFuncParam(), and setHit().
|
private |
Definition at line 65 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 77 of file HDRShower.h.
Referenced by computeShower(), getR(), setHit(), and thetaFunction().
|
private |
Definition at line 64 of file HDRShower.h.
Referenced by getR(), and setFuncParam().
|
private |
Definition at line 44 of file HDRShower.h.
Referenced by computeShower(), and setHit().
|
private |
Definition at line 45 of file HDRShower.h.
Referenced by setHit().
|
private |
Definition at line 43 of file HDRShower.h.
Referenced by setFuncParam().
|
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 73 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 74 of file HDRShower.h.
Referenced by setFuncParam(), and thetaFunction().
|
private |
Definition at line 62 of file HDRShower.h.
Referenced by computeShower(), and thetaFunction().
|
private |
Definition at line 60 of file HDRShower.h.
Referenced by computeShower(), HDRShower(), and thetaFunction().
|
private |
Definition at line 53 of file HDRShower.h.
|
private |
Definition at line 53 of file HDRShower.h.
Referenced by setFuncParam().