#include <HFCherenkov.h>
Public Member Functions | |
void | clearVectors () |
int | computeNPE (G4Step *step, G4ParticleDefinition *pDef, double pBeta, double u, double v, double w, double step_length, double zFiber, double Dose, int Npe_Dose) |
int | computeNPEinPMT (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 15 of file HFCherenkov.cc.
References aperture, apertureTrap, aperturetrapped, checkSurvive, clearVectors(), funct::cos(), fibreR, gain, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), lambda1, lambda2, funct::pow(), ref_index, sinPsimax, and UseNewPMT.
|
virtual |
Definition at line 41 of file HFCherenkov.cc.
void HFCherenkov::clearVectors | ( | ) |
Definition at line 444 of file HFCherenkov.cc.
References momZ, wl, wlatten, wlhem, wlini, wlqeff, and wltrap.
Referenced by computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
|
private |
Definition at line 344 of file HFCherenkov.cc.
References alpha, beta, lambda1, lambda2, LogDebug, M_PI, ref_index, and funct::sin().
Referenced by computeNPE(), computeNPEinPMT(), and computeNPhTrapped().
int HFCherenkov::computeNPE | ( | G4Step * | step, |
G4ParticleDefinition * | pDef, | ||
double | pBeta, | ||
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length, | ||
double | zFiber, | ||
double | Dose, | ||
int | Npe_Dose | ||
) |
Definition at line 79 of file HFCherenkov.cc.
References aperture, aperturetrapped, checkSurvive, clearVectors(), computeHEMEff(), computeNbOfPhotons(), computeQEff(), funct::cos(), create_public_lumi_plots::exp, fibreR, gam, i, isApplicable(), lambda1, lambda2, LogDebug, M_PI, momZ, funct::pow(), rand(), ref_index, rho, funct::sin(), sinPsimax, mathSSE::sqrt(), w(), wl, wlatten, wlhem, wlini, wlqeff, and wltrap.
Referenced by HFShower::getHits().
int HFCherenkov::computeNPEinPMT | ( | G4ParticleDefinition * | pDef, |
double | pBeta, | ||
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length | ||
) |
Definition at line 226 of file HFCherenkov.cc.
References aperture, clearVectors(), computeNbOfPhotons(), computeQEff(), funct::cos(), i, isApplicable(), lambda1, lambda2, LogDebug, M_PI, momZ, funct::pow(), rand(), ref_index, funct::sin(), mathSSE::sqrt(), wl, wlatten, wlini, wlqeff, and wltrap.
Referenced by HFShowerFibreBundle::getHits(), and HFShowerPMT::getHits().
int HFCherenkov::computeNPhTrapped | ( | double | pBeta, |
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length, | ||
double | zFiber, | ||
double | Dose, | ||
int | Npe_Dose | ||
) |
Definition at line 43 of file HFCherenkov.cc.
References apertureTrap, computeNbOfPhotons(), funct::cos(), i, M_PI, rand(), ref_index, funct::sin(), and mathSSE::sqrt().
|
private |
Definition at line 364 of file HFCherenkov.cc.
References create_public_lumi_plots::exp, LogDebug, funct::pow(), UseNewPMT, and detailsBasic3DVector::y.
Referenced by computeNPE(), and computeNPEinPMT().
std::vector< double > HFCherenkov::getMom | ( | ) |
Definition at line 339 of file HFCherenkov.cc.
References momZ, and findQualityFiles::v.
Referenced by HFShower::getHits().
std::vector< double > HFCherenkov::getWL | ( | ) |
Definition at line 334 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 |
double HFCherenkov::smearNPE | ( | G4int | Npe | ) |
|
private |
Definition at line 62 of file HFCherenkov.h.
Referenced by computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 62 of file HFCherenkov.h.
Referenced by computeNPhTrapped(), and HFCherenkov().
|
private |
Definition at line 62 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 64 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 63 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 63 of file HFCherenkov.h.
Referenced by HFCherenkov(), and smearNPE().
|
private |
Definition at line 61 of file HFCherenkov.h.
Referenced by computeNbOfPhotons(), computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 61 of file HFCherenkov.h.
Referenced by computeNbOfPhotons(), computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 69 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getMom().
|
private |
Definition at line 67 of file HFCherenkov.h.
|
private |
Definition at line 60 of file HFCherenkov.h.
Referenced by computeNbOfPhotons(), computeNPE(), computeNPEinPMT(), computeNPhTrapped(), and HFCherenkov().
|
private |
Definition at line 63 of file HFCherenkov.h.
Referenced by computeNPE(), and HFCherenkov().
|
private |
Definition at line 65 of file HFCherenkov.h.
Referenced by computeQEff(), and HFCherenkov().
|
private |
Definition at line 68 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWL().
|
private |
Definition at line 72 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLAtten().
|
private |
Definition at line 73 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), and getWLHEM().
|
private |
Definition at line 70 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLIni().
|
private |
Definition at line 74 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLQEff().
|
private |
Definition at line 71 of file HFCherenkov.h.
Referenced by clearVectors(), computeNPE(), computeNPEinPMT(), and getWLTrap().