#include <GflashHadronShowerProfile.h>
Public Member Functions | |
std::vector< GflashHit > & | getGflashHitList () |
GflashShowino * | getGflashShowino () |
GflashHadronShowerProfile (const edm::ParameterSet &parSet) | |
void | hadronicParameterization () |
void | initialize (int showerType, double energy, double globalTime, double charge, Gflash3Vector &position, Gflash3Vector &momentum) |
virtual void | loadParameters () |
virtual | ~GflashHadronShowerProfile () |
Protected Member Functions | |
double | depthScale (double ssp, double ssp0, double length) |
void | doCholeskyReduction (double **cc, double **vv, const int ndim) |
double | fLnE1 (double einc, const double *par) |
double | fTanh (double einc, const double *par) |
double | gammaProfile (double alpha, double beta, double depth, double lengthUnit) |
void | getFluctuationVector (double *lowTriangle, double *correlationVector) |
int | getNumberOfSpots (Gflash::CalorimeterNumber kCalor) |
double | hoProfile (double pathLength, double refDepth) |
Gflash3Vector | locateHitPosition (GflashTrajectoryPoint &point, double lateralArm) |
double | longitudinalProfile () |
double | medianLateralArm (double depth, Gflash::CalorimeterNumber kCalor) |
void | setEnergyScale (double einc, const Gflash3Vector &ssp) |
double | twoGammaProfile (double *par, double depth, Gflash::CalorimeterNumber kIndex) |
Protected Attributes | |
double | averageSpotEnergy [Gflash::kNumberCalorimeter] |
double | energyScale [Gflash::kNumberCalorimeter] |
double | lateralPar [Gflash::kNumberCalorimeter][Gflash::Nrpar] |
double | longEcal [Gflash::NPar] |
double | longHcal [Gflash::NPar] |
double | theBField |
bool | theGflashHcalOuter |
std::vector< GflashHit > | theGflashHitList |
GflashHistogram * | theHisto |
edm::ParameterSet | theParSet |
GflashShowino * | theShowino |
Definition at line 15 of file GflashHadronShowerProfile.h.
GflashHadronShowerProfile::GflashHadronShowerProfile | ( | const edm::ParameterSet & | parSet | ) |
Definition at line 17 of file GflashHadronShowerProfile.cc.
References edm::ParameterSet::getParameter(), GflashHistogram::instance(), theBField, theGflashHcalOuter, theHisto, and theShowino.
|
virtual |
Definition at line 25 of file GflashHadronShowerProfile.cc.
References theShowino.
|
protected |
Definition at line 487 of file GflashHadronShowerProfile.cc.
References jets_cff::func, and funct::pow().
Referenced by getGflashHitList(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
protected |
Definition at line 396 of file GflashHadronShowerProfile.cc.
References mps_fire::i, gen::k, and mathSSE::sqrt().
Referenced by getFluctuationVector(), and getGflashHitList().
|
protected |
Definition at line 480 of file GflashHadronShowerProfile.cc.
References jets_cff::func, and cmsBatch::log.
Referenced by getGflashHitList().
|
protected |
Definition at line 473 of file GflashHadronShowerProfile.cc.
References jets_cff::func, and cmsBatch::log.
Referenced by getGflashHitList(), hadronicParameterization(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
protected |
Definition at line 494 of file GflashHadronShowerProfile.cc.
References JetChargeProducer_cfi::exp, CustomPhysics_cfi::gamma, funct::pow(), and x.
Referenced by getGflashHitList(), and twoGammaProfile().
|
protected |
Definition at line 358 of file GflashHadronShowerProfile.cc.
References doCholeskyReduction(), mps_fire::i, and Gflash::NPar.
Referenced by getGflashHitList(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
inline |
Definition at line 33 of file GflashHadronShowerProfile.h.
References alpha, pfBoostedDoubleSVAK8TagInfos_cfi::beta, egammaForCoreTracking_cff::depth, depthScale(), doCholeskyReduction(), fLnE1(), fTanh(), gammaProfile(), getFluctuationVector(), getNumberOfSpots(), hoProfile(), locateHitPosition(), longitudinalProfile(), medianLateralArm(), point, setEnergyScale(), theGflashHitList, and twoGammaProfile().
Referenced by CalorimetryManager::HDShowerSimulation(), GflashHadronShowerModel::makeHits(), and GFlashHadronShowerModel::makeHits().
|
inline |
Definition at line 32 of file GflashHadronShowerProfile.h.
References theShowino.
Referenced by CalorimetryManager::HDShowerSimulation().
|
protected |
Definition at line 426 of file GflashHadronShowerProfile.cc.
References GflashShowino::getEnergy(), GflashShowino::getShowerType(), Gflash::kENCA, Gflash::kESPM, Gflash::kHB, Gflash::kHE, cmsBatch::log, SiStripPI::max, and theShowino.
Referenced by getGflashHitList(), and hadronicParameterization().
void GflashHadronShowerProfile::hadronicParameterization | ( | ) |
Definition at line 36 of file GflashHadronShowerProfile.cc.
References GflashShowino::addEnergyDeposited(), Gflash::divisionStep, MillePedeFileConverter_cfg::e, energyScale, Gflash::EtaMax, fTanh(), Gflash::getCalorimeterNumber(), GflashShowino::getEnergy(), GflashShowino::getEnergyDeposited(), GflashTrajectory::getGflashTrajectoryPoint(), GflashShowino::getGlobalTime(), GflashShowino::getHelix(), getNumberOfSpots(), GflashShowino::getPathLength(), GflashTrajectory::getPathLengthAtRhoEquals(), GflashShowino::getPathLengthAtShower(), GflashShowino::getPosition(), GflashShowino::getPositionAtShower(), GflashShowino::getStepLengthToOut(), GeV, Gflash::ho_nonzero, hoProfile(), Gflash::kHB, Gflash::kHE, Gflash::kHO, Gflash::kNULL, locateHitPosition(), cmsBatch::log, longitudinalProfile(), SiStripPI::max, medianLateralArm(), Gflash::MinEnergyCutOffForHO, Gflash::Rmax, Gflash::Rmin, GflashHit::setEnergy(), GflashShowino::setPathLength(), GflashHit::setPosition(), GflashHit::setTime(), theGflashHcalOuter, theGflashHitList, theShowino, GflashShowino::updateShowino(), and Gflash::Zmax.
Referenced by GflashHadronShowerModel::DoIt(), GFlashHadronShowerModel::DoIt(), and CalorimetryManager::HDShowerSimulation().
|
protected |
Definition at line 346 of file GflashHadronShowerProfile.cc.
References JetChargeProducer_cfi::exp, GflashTrajectory::getGflashTrajectoryPoint(), GflashShowino::getHelix(), GflashTrajectoryPoint::getPosition(), Gflash::intLength, Gflash::kHO, funct::sin(), and theShowino.
Referenced by getGflashHitList(), and hadronicParameterization().
void GflashHadronShowerProfile::initialize | ( | int | showerType, |
double | energy, | ||
double | globalTime, | ||
double | charge, | ||
Gflash3Vector & | position, | ||
Gflash3Vector & | momentum | ||
) |
Definition at line 30 of file GflashHadronShowerProfile.cc.
References GflashShowino::initialize(), theBField, and theShowino.
Referenced by GflashHadronShowerModel::DoIt(), GFlashHadronShowerModel::DoIt(), and CalorimetryManager::HDShowerSimulation().
|
virtual |
Reimplemented in GflashAntiProtonShowerProfile, GflashKaonMinusShowerProfile, GflashKaonPlusShowerProfile, GflashPiKShowerProfile, and GflashProtonShowerProfile.
Definition at line 247 of file GflashHadronShowerProfile.cc.
Referenced by GflashHadronShowerModel::DoIt(), GFlashHadronShowerModel::DoIt(), and CalorimetryManager::HDShowerSimulation().
|
protected |
Definition at line 272 of file GflashHadronShowerProfile.cc.
References funct::cos(), GflashTrajectoryPoint::getCrossUnitVector(), GflashTrajectoryPoint::getOrthogonalUnitVector(), GflashTrajectoryPoint::getPosition(), GflashHistogram::getStoreFlag(), GflashHistogram::lateralx, GflashHistogram::lateraly, Gflash::maxLateralArmforR50, min(), position, GflashHistogram::rshower, funct::sin(), mathSSE::sqrt(), and theHisto.
Referenced by getGflashHitList(), and hadronicParameterization().
|
protected |
Definition at line 299 of file GflashHadronShowerProfile.cc.
References Gflash::getCalorimeterNumber(), GflashShowino::getDepth(), GflashShowino::getPathLengthAtShower(), GflashShowino::getPathLengthOnEcal(), GflashShowino::getPosition(), GflashShowino::getShowerType(), GflashShowino::getStepLengthToHcal(), Gflash::kENCA, Gflash::kESPM, Gflash::kHB, Gflash::kHE, longEcal, longHcal, theShowino, and twoGammaProfile().
Referenced by getGflashHitList(), and hadronicParameterization().
|
protected |
Definition at line 252 of file GflashHadronShowerProfile.cc.
References JetChargeProducer_cfi::exp, Gflash::kNULL, lateralPar, cmsBatch::log, SiStripPI::max, Gflash::maxShowerDepthforR50, min(), funct::pow(), and mathSSE::sqrt().
Referenced by getGflashHitList(), and hadronicParameterization().
|
protected |
Referenced by getGflashHitList().
|
protected |
Definition at line 505 of file GflashHadronShowerProfile.cc.
References egammaForCoreTracking_cff::depth, JetChargeProducer_cfi::exp, gammaProfile(), Gflash::intLength, SiStripPI::max, min(), and Gflash::radLength.
Referenced by getGflashHitList(), and longitudinalProfile().
|
protected |
Definition at line 63 of file GflashHadronShowerProfile.h.
|
protected |
Definition at line 62 of file GflashHadronShowerProfile.h.
Referenced by hadronicParameterization(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
protected |
Definition at line 66 of file GflashHadronShowerProfile.h.
Referenced by GflashAntiProtonShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and medianLateralArm().
|
protected |
Definition at line 64 of file GflashHadronShowerProfile.h.
Referenced by GflashAntiProtonShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and longitudinalProfile().
|
protected |
Definition at line 65 of file GflashHadronShowerProfile.h.
Referenced by GflashAntiProtonShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and longitudinalProfile().
|
protected |
Definition at line 56 of file GflashHadronShowerProfile.h.
Referenced by GflashHadronShowerProfile(), and initialize().
|
protected |
Definition at line 57 of file GflashHadronShowerProfile.h.
Referenced by GflashHadronShowerProfile(), and hadronicParameterization().
|
protected |
Definition at line 68 of file GflashHadronShowerProfile.h.
Referenced by getGflashHitList(), and hadronicParameterization().
|
protected |
Definition at line 60 of file GflashHadronShowerProfile.h.
Referenced by GflashHadronShowerProfile(), and locateHitPosition().
|
protected |
Definition at line 55 of file GflashHadronShowerProfile.h.
|
protected |
Definition at line 59 of file GflashHadronShowerProfile.h.
Referenced by getGflashShowino(), getNumberOfSpots(), GflashHadronShowerProfile(), hadronicParameterization(), hoProfile(), initialize(), GflashProtonShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashAntiProtonShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), longitudinalProfile(), and ~GflashHadronShowerProfile().