#include <GflashShowino.h>
Public Member Functions | |
void | addEnergyDeposited (double energy) |
double | getDepth () |
double | getEnergy () |
double | getEnergyDeposited () |
double | getGlobalTime () |
GflashTrajectory * | getHelix () |
double | getPathLength () |
double | getPathLengthAtShower () |
double | getPathLengthOnEcal () |
Gflash3Vector & | getPosition () |
Gflash3Vector & | getPositionAtShower () |
int | getShowerType () |
double | getStepLengthToHcal () |
double | getStepLengthToOut () |
GflashShowino () | |
void | initialize (int showerType, double energy, double globalTime, double charge, Gflash3Vector &position, Gflash3Vector &momentum, double magneticField) |
void | setGlobalTime (double globalTime) |
void | setPathLength (double pathLength) |
void | setPosition (const Gflash3Vector &position) |
void | updateShowino (double deltaStep) |
~GflashShowino () | |
Private Member Functions | |
int | convertShowerType (int fastSimShowerType, const Gflash3Vector &pos) |
void | evaluateLengths () |
Gflash3Vector & | simulateFirstInteractionPoint (int showType, Gflash3Vector &pos) |
Private Attributes | |
double | theEnergy |
double | theEnergyDeposited |
double | theGlobalTime |
GflashTrajectory * | theHelix |
double | thePathLength |
double | thePathLengthAtShower |
double | thePathLengthOnEcal |
Gflash3Vector | thePosition |
Gflash3Vector | thePositionAtShower |
int | theShowerType |
double | theStepLengthToHcal |
double | theStepLengthToOut |
GflashTrajectoryPoint | theTrajectoryPoint |
Definition at line 8 of file GflashShowino.h.
GflashShowino::GflashShowino | ( | ) |
Definition at line 4 of file GflashShowino.cc.
References theHelix.
GflashShowino::~GflashShowino | ( | ) |
|
inline |
Definition at line 44 of file GflashShowino.h.
References HCALHighEnergyHPDFilter_cfi::energy, and theEnergyDeposited.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
|
private |
|
private |
Definition at line 64 of file GflashShowino.cc.
References PVValHelper::eta, Gflash::EtaMax, GflashTrajectory::getPathLengthAtRhoEquals(), GflashTrajectory::getPathLengthAtZ(), Gflash::kENCA, Gflash::kESPM, Gflash::kHB, Gflash::kHE, SiStripPI::min, Gflash::RFrontCrystalEB, Gflash::Rmax, Gflash::Rmin, theHelix, thePathLength, thePathLengthAtShower, thePathLengthOnEcal, thePosition, theStepLengthToHcal, theStepLengthToOut, Gflash::ZFrontCrystalEE, Gflash::Zmax, and Gflash::Zmin.
Referenced by initialize().
|
inline |
Definition at line 39 of file GflashShowino.h.
References thePathLength, and thePathLengthAtShower.
Referenced by GflashHadronShowerProfile::longitudinalProfile().
|
inline |
Definition at line 27 of file GflashShowino.h.
References theEnergy.
Referenced by GflashHadronShowerProfile::getNumberOfSpots(), GflashHadronShowerProfile::hadronicParameterization(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), GflashProtonShowerProfile::loadParameters(), GflashAntiProtonShowerProfile::loadParameters(), and GflashEMShowerProfile::parameterization().
|
inline |
Definition at line 38 of file GflashShowino.h.
References theEnergyDeposited.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
|
inline |
Definition at line 35 of file GflashShowino.h.
References theGlobalTime.
Referenced by GflashHadronShowerProfile::hadronicParameterization(), and GflashEMShowerProfile::parameterization().
|
inline |
Definition at line 33 of file GflashShowino.h.
References theHelix.
Referenced by GflashEMShowerProfile::getDistanceToOut(), GflashHadronShowerProfile::hadronicParameterization(), CalorimetryManager::HDShowerSimulation(), GflashHadronShowerProfile::hoProfile(), and GflashEMShowerProfile::parameterization().
|
inline |
Definition at line 36 of file GflashShowino.h.
References thePathLength.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
|
inline |
Definition at line 29 of file GflashShowino.h.
References thePathLengthAtShower.
Referenced by GflashEMShowerProfile::getDistanceToOut(), GflashHadronShowerProfile::hadronicParameterization(), CalorimetryManager::HDShowerSimulation(), GflashHadronShowerProfile::longitudinalProfile(), and GflashEMShowerProfile::parameterization().
|
inline |
Definition at line 28 of file GflashShowino.h.
References thePathLengthOnEcal.
Referenced by CalorimetryManager::HDShowerSimulation(), and GflashHadronShowerProfile::longitudinalProfile().
|
inline |
Definition at line 37 of file GflashShowino.h.
References thePosition.
Referenced by GflashEMShowerProfile::getDistanceToOut(), GflashHadronShowerProfile::hadronicParameterization(), and GflashHadronShowerProfile::longitudinalProfile().
|
inline |
Definition at line 30 of file GflashShowino.h.
References thePositionAtShower.
Referenced by GflashHadronShowerProfile::hadronicParameterization(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), GflashAntiProtonShowerProfile::loadParameters(), and GflashEMShowerProfile::parameterization().
|
inline |
Definition at line 26 of file GflashShowino.h.
References theShowerType.
Referenced by GflashHadronShowerProfile::getNumberOfSpots(), GflashProtonShowerProfile::loadParameters(), GflashPiKShowerProfile::loadParameters(), GflashKaonPlusShowerProfile::loadParameters(), GflashKaonMinusShowerProfile::loadParameters(), GflashAntiProtonShowerProfile::loadParameters(), and GflashHadronShowerProfile::longitudinalProfile().
|
inline |
Definition at line 31 of file GflashShowino.h.
References theStepLengthToHcal.
Referenced by GflashHadronShowerProfile::longitudinalProfile().
|
inline |
Definition at line 32 of file GflashShowino.h.
References theStepLengthToOut.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
void GflashShowino::initialize | ( | int | showerType, |
double | energy, | ||
double | globalTime, | ||
double | charge, | ||
Gflash3Vector & | position, | ||
Gflash3Vector & | momentum, | ||
double | magneticField | ||
) |
Definition at line 21 of file GflashShowino.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, HCALHighEnergyHPDFilter_cfi::energy, evaluateLengths(), Gflash::findShowerType(), GflashTrajectory::initializeTrajectory(), HLT_2022v12_cff::magneticField, position, simulateFirstInteractionPoint(), theEnergy, theEnergyDeposited, theGlobalTime, theHelix, thePosition, thePositionAtShower, and theShowerType.
Referenced by GflashEMShowerProfile::initialize(), and GflashHadronShowerProfile::initialize().
|
inline |
|
inline |
Definition at line 42 of file GflashShowino.h.
References thePathLength.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
|
inline |
|
private |
fraction before the crystal, but inside Ecal
Definition at line 98 of file GflashShowino.cc.
References MillePedeFileConverter_cfg::e, GflashTrajectory::getGflashTrajectoryPoint(), GflashTrajectory::getPathLengthAtRhoEquals(), GflashTrajectory::getPathLengthAtZ(), GflashTrajectoryPoint::getPosition(), Gflash::kHB, Gflash::kHE, Gflash::LengthCrystalEB, Gflash::LengthCrystalEE, dqm-mbProfile::log, position, Gflash::RFrontCrystalEB, Gflash::Rmax, Gflash::Rmin, funct::sin(), theEnergy, theHelix, thePathLengthOnEcal, theTrajectoryPoint, Gflash::ZFrontCrystalEE, Gflash::Zmax, and Gflash::Zmin.
Referenced by initialize().
void GflashShowino::updateShowino | ( | double | deltaStep | ) |
Definition at line 53 of file GflashShowino.cc.
References GflashTrajectory::getGflashTrajectoryPoint(), GflashTrajectoryPoint::getPosition(), theEnergy, theGlobalTime, theHelix, thePathLength, and thePosition.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
|
private |
Definition at line 54 of file GflashShowino.h.
Referenced by getEnergy(), initialize(), simulateFirstInteractionPoint(), and updateShowino().
|
private |
Definition at line 65 of file GflashShowino.h.
Referenced by addEnergyDeposited(), getEnergyDeposited(), and initialize().
|
private |
Definition at line 63 of file GflashShowino.h.
Referenced by getGlobalTime(), initialize(), setGlobalTime(), and updateShowino().
|
private |
Definition at line 67 of file GflashShowino.h.
Referenced by evaluateLengths(), getHelix(), GflashShowino(), initialize(), simulateFirstInteractionPoint(), updateShowino(), and ~GflashShowino().
|
private |
Definition at line 62 of file GflashShowino.h.
Referenced by evaluateLengths(), getDepth(), getPathLength(), setPathLength(), and updateShowino().
|
private |
Definition at line 56 of file GflashShowino.h.
Referenced by evaluateLengths(), getDepth(), and getPathLengthAtShower().
|
private |
Definition at line 57 of file GflashShowino.h.
Referenced by evaluateLengths(), getPathLengthOnEcal(), and simulateFirstInteractionPoint().
|
private |
Definition at line 64 of file GflashShowino.h.
Referenced by evaluateLengths(), getPosition(), initialize(), setPosition(), and updateShowino().
|
private |
Definition at line 55 of file GflashShowino.h.
Referenced by getPositionAtShower(), and initialize().
|
private |
Definition at line 53 of file GflashShowino.h.
Referenced by getShowerType(), and initialize().
|
private |
Definition at line 58 of file GflashShowino.h.
Referenced by evaluateLengths(), and getStepLengthToHcal().
|
private |
Definition at line 59 of file GflashShowino.h.
Referenced by evaluateLengths(), and getStepLengthToOut().
|
private |
Definition at line 68 of file GflashShowino.h.
Referenced by simulateFirstInteractionPoint().