#include <HFCherenkov.h>
Public Member Functions | |
void | clearVectors () |
int | computeNPE (const G4Step *step, const G4ParticleDefinition *pDef, double pBeta, double u, double v, double w, double step_length, double zFiber, double Dose, int Npe_Dose) |
int | computeNPEinPMT (const G4ParticleDefinition *pDef, double pBeta, double u, double v, double w, double step_length) |
int | computeNPhTrapped (double pBeta, double u, double v, double w, double step_length, double zFiber, double Dose, int Npe_Dose) |
std::vector< double > | getMom () |
std::vector< double > | getWL () |
std::vector< double > | getWLAtten () |
std::vector< double > | getWLHEM () |
std::vector< double > | getWLIni () |
std::vector< double > | getWLQEff () |
std::vector< double > | getWLTrap () |
HFCherenkov (edm::ParameterSet const &p) | |
double | smearNPE (G4int Npe) |
virtual | ~HFCherenkov () |
Private Member Functions | |
double | computeHEMEff (double wavelength) |
int | computeNbOfPhotons (double pBeta, double step_length) |
double | computeQEff (double wavelength) |
bool | isApplicable (const G4ParticleDefinition *aParticleType) |
Private Attributes | |
double | aperture |
double | apertureTrap |
double | aperturetrapped |
bool | checkSurvive |
double | fibreR |
double | gain |
double | lambda1 |
double | lambda2 |
std::vector< double > | momZ |
G4ThreeVector | phMom |
double | ref_index |
double | sinPsimax |
bool | UseNewPMT |
std::vector< double > | wl |
std::vector< double > | wlatten |
std::vector< double > | wlhem |
std::vector< double > | wlini |
std::vector< double > | wlqeff |
std::vector< double > | wltrap |
Definition at line 19 of file HFCherenkov.h.
HFCherenkov::HFCherenkov | ( | edm::ParameterSet const & | p | ) |
Definition at line 18 of file HFCherenkov.cc.
References aperture, aperturetrapped, checkSurvive, clearVectors(), fibreR, gain, edm::ParameterSet::getParameter(), lambda1, lambda2, ref_index, sinPsimax, and UseNewPMT.
|
virtual |
Definition at line 40 of file HFCherenkov.cc.
void HFCherenkov::clearVectors | ( | ) |
Definition at line 399 of file HFCherenkov.cc.
References momZ, wl, wlatten, wlhem, wlini, wlqeff, and wltrap.
Referenced by computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 357 of file HFCherenkov.cc.
Referenced by computeNPE().
|
private |
Definition at line 310 of file HFCherenkov.cc.
References simBeamSpotPI::alpha, HLT_2023v12_cff::beta, createfilelist::int, lambda1, lambda2, M_PI, ref_index, and funct::sin().
Referenced by computeNPE(), and computeNPEinPMT().
int HFCherenkov::computeNPE | ( | const G4Step * | step, |
const G4ParticleDefinition * | pDef, | ||
double | pBeta, | ||
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length, | ||
double | zFiber, | ||
double | Dose, | ||
int | Npe_Dose | ||
) |
Definition at line 42 of file HFCherenkov.cc.
References aperturetrapped, checkSurvive, clearVectors(), computeHEMEff(), computeNbOfPhotons(), computeQEff(), funct::cos(), l1tSlwPFPuppiJets_cfi::cosPhi, MillePedeFileConverter_cfg::e, HLT_2023v12_cff::eps, JetChargeProducer_cfi::exp, fibreR, mps_fire::i, isApplicable(), lambda1, lambda2, M_PI, momZ, phi, funct::pow(), ref_index, rho, funct::sin(), l1tSlwPFPuppiJets_cfi::sinPhi, sinPsimax, mathSSE::sqrt(), findQualityFiles::v, w(), wl, wlatten, wlhem, wlini, wlqeff, and wltrap.
Referenced by HFShower::getHits().
int HFCherenkov::computeNPEinPMT | ( | const G4ParticleDefinition * | pDef, |
double | pBeta, | ||
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length | ||
) |
Definition at line 199 of file HFCherenkov.cc.
References aperture, clearVectors(), computeNbOfPhotons(), computeQEff(), funct::cos(), l1tSlwPFPuppiJets_cfi::cosPhi, MillePedeFileConverter_cfg::e, mps_fire::i, isApplicable(), lambda1, lambda2, M_PI, momZ, ref_index, funct::sin(), mathSSE::sqrt(), findQualityFiles::v, w(), wl, wlatten, wlini, wlqeff, and wltrap.
int HFCherenkov::computeNPhTrapped | ( | double | pBeta, |
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length, | ||
double | zFiber, | ||
double | Dose, | ||
int | Npe_Dose | ||
) |
|
private |
Definition at line 327 of file HFCherenkov.cc.
References JetChargeProducer_cfi::exp, EcalMonitorTask_cff::func, funct::pow(), UseNewPMT, and y.
Referenced by computeNPE(), and computeNPEinPMT().
std::vector< double > HFCherenkov::getMom | ( | ) |
Definition at line 305 of file HFCherenkov.cc.
References momZ, and findQualityFiles::v.
Referenced by HFShower::getHits().
std::vector< double > HFCherenkov::getWL | ( | ) |
Definition at line 300 of file HFCherenkov.cc.
References findQualityFiles::v, and wl.
Referenced by HFShower::getHits().
std::vector< double > HFCherenkov::getWLAtten | ( | ) |
std::vector< double > HFCherenkov::getWLHEM | ( | ) |
std::vector< double > HFCherenkov::getWLIni | ( | ) |
std::vector< double > HFCherenkov::getWLQEff | ( | ) |
std::vector< double > HFCherenkov::getWLTrap | ( | ) |
|
private |
Definition at line 409 of file HFCherenkov.cc.
References createJobs::tmp.
Referenced by computeNPE(), and computeNPEinPMT().
double HFCherenkov::smearNPE | ( | G4int | Npe | ) |
|
private |
Definition at line 60 of file HFCherenkov.h.
Referenced by computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 60 of file HFCherenkov.h.
|
private |
Definition at line 60 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 62 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 61 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 61 of file HFCherenkov.h.
Referenced by HFCherenkov(), and smearNPE().
|
private |
Definition at line 59 of file HFCherenkov.h.
Referenced by computeNbOfPhotons(), computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 59 of file HFCherenkov.h.
Referenced by computeNbOfPhotons(), computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 67 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getMom().
|
private |
Definition at line 65 of file HFCherenkov.h.
|
private |
Definition at line 58 of file HFCherenkov.h.
Referenced by computeNbOfPhotons(), computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 61 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 63 of file HFCherenkov.h.
Referenced by computeQEff(), and HFCherenkov().
|
private |
Definition at line 66 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWL().
|
private |
Definition at line 70 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLAtten().
|
private |
Definition at line 71 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), and getWLHEM().
|
private |
Definition at line 68 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLIni().
|
private |
Definition at line 72 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLQEff().
|
private |
Definition at line 69 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLTrap().