#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 26 of file GflashHadronShowerProfile.cc.
References theShowino.
|
protected |
Definition at line 497 of file GflashHadronShowerProfile.cc.
References RecoEcal_EventContent_cff::func, and funct::pow().
Referenced by getGflashHitList(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
protected |
Definition at line 406 of file GflashHadronShowerProfile.cc.
References mps_fire::i, gen::k, and mathSSE::sqrt().
Referenced by getFluctuationVector(), and getGflashHitList().
|
protected |
Definition at line 491 of file GflashHadronShowerProfile.cc.
References RecoEcal_EventContent_cff::func, and cmsBatch::log.
Referenced by getGflashHitList().
|
protected |
Definition at line 485 of file GflashHadronShowerProfile.cc.
References RecoEcal_EventContent_cff::func, and cmsBatch::log.
Referenced by getGflashHitList(), hadronicParameterization(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
protected |
Definition at line 503 of file GflashHadronShowerProfile.cc.
References JetChargeProducer_cfi::exp, CustomPhysics_cfi::gamma, funct::pow(), and x.
Referenced by getGflashHitList(), and twoGammaProfile().
|
protected |
Definition at line 370 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 30 of file GflashHadronShowerProfile.h.
References alpha, beta, particleFlowClusterECALTimeSelected_cfi::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 29 of file GflashHadronShowerProfile.h.
References theShowino.
Referenced by CalorimetryManager::HDShowerSimulation().
|
protected |
Definition at line 436 of file GflashHadronShowerProfile.cc.
References GflashShowino::getEnergy(), GflashShowino::getShowerType(), Gflash::kENCA, Gflash::kESPM, Gflash::kHB, Gflash::kHE, cmsBatch::log, hpstanc_transforms::max, and theShowino.
Referenced by getGflashHitList(), and hadronicParameterization().
void GflashHadronShowerProfile::hadronicParameterization | ( | ) |
Definition at line 40 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(), hpstanc_transforms::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 357 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 31 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 250 of file GflashHadronShowerProfile.cc.
Referenced by GflashHadronShowerModel::DoIt(), GFlashHadronShowerModel::DoIt(), and CalorimetryManager::HDShowerSimulation().
|
protected |
Definition at line 278 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 306 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 256 of file GflashHadronShowerProfile.cc.
References JetChargeProducer_cfi::exp, Gflash::kNULL, lateralPar, cmsBatch::log, hpstanc_transforms::max, Gflash::maxShowerDepthforR50, min(), funct::pow(), and mathSSE::sqrt().
Referenced by getGflashHitList(), and hadronicParameterization().
|
protected |
Referenced by getGflashHitList().
|
protected |
Definition at line 514 of file GflashHadronShowerProfile.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, JetChargeProducer_cfi::exp, gammaProfile(), Gflash::intLength, hpstanc_transforms::max, min(), and Gflash::radLength.
Referenced by getGflashHitList(), and longitudinalProfile().
|
protected |
Definition at line 60 of file GflashHadronShowerProfile.h.
|
protected |
Definition at line 59 of file GflashHadronShowerProfile.h.
Referenced by hadronicParameterization(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and GflashAntiProtonShowerProfile::loadParameters().
|
protected |
Definition at line 63 of file GflashHadronShowerProfile.h.
Referenced by GflashAntiProtonShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and medianLateralArm().
|
protected |
Definition at line 61 of file GflashHadronShowerProfile.h.
Referenced by GflashAntiProtonShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and longitudinalProfile().
|
protected |
Definition at line 62 of file GflashHadronShowerProfile.h.
Referenced by GflashAntiProtonShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), and longitudinalProfile().
|
protected |
Definition at line 53 of file GflashHadronShowerProfile.h.
Referenced by GflashHadronShowerProfile(), and initialize().
|
protected |
Definition at line 54 of file GflashHadronShowerProfile.h.
Referenced by GflashHadronShowerProfile(), and hadronicParameterization().
|
protected |
Definition at line 65 of file GflashHadronShowerProfile.h.
Referenced by getGflashHitList(), and hadronicParameterization().
|
protected |
Definition at line 57 of file GflashHadronShowerProfile.h.
Referenced by GflashHadronShowerProfile(), and locateHitPosition().
|
protected |
Definition at line 52 of file GflashHadronShowerProfile.h.
|
protected |
Definition at line 56 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().