#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, 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 40 of file HFCherenkov.cc.
void HFCherenkov::clearVectors | ( | ) |
Definition at line 421 of file HFCherenkov.cc.
References momZ, wl, wlatten, wlhem, wlini, wlqeff, and wltrap.
Referenced by computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 379 of file HFCherenkov.cc.
Referenced by computeNPE().
|
private |
Definition at line 332 of file HFCherenkov.cc.
References alpha, pfBoostedDoubleSVAK8TagInfos_cfi::beta, createfilelist::int, lambda1, lambda2, M_PI, ref_index, and funct::sin().
Referenced by computeNPE(), computeNPEinPMT(), and computeNPhTrapped().
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 77 of file HFCherenkov.cc.
References aperture, aperturetrapped, checkSurvive, clearVectors(), computeHEMEff(), computeNbOfPhotons(), computeQEff(), funct::cos(), JetChargeProducer_cfi::exp, fibreR, mps_fire::i, isApplicable(), lambda1, lambda2, 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 | ( | const G4ParticleDefinition * | pDef, |
double | pBeta, | ||
double | u, | ||
double | v, | ||
double | w, | ||
double | step_length | ||
) |
Definition at line 221 of file HFCherenkov.cc.
References aperture, clearVectors(), computeNbOfPhotons(), computeQEff(), funct::cos(), mps_fire::i, isApplicable(), lambda1, lambda2, 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 42 of file HFCherenkov.cc.
References apertureTrap, computeNbOfPhotons(), funct::cos(), mps_fire::i, M_PI, rand(), ref_index, funct::sin(), and mathSSE::sqrt().
|
private |
Definition at line 349 of file HFCherenkov.cc.
References JetChargeProducer_cfi::exp, jets_cff::func, funct::pow(), UseNewPMT, and y.
Referenced by computeNPE(), and computeNPEinPMT().
std::vector< double > HFCherenkov::getMom | ( | ) |
Definition at line 327 of file HFCherenkov.cc.
References momZ, and findQualityFiles::v.
Referenced by HFShower::getHits().
std::vector< double > HFCherenkov::getWL | ( | ) |
Definition at line 322 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 431 of file HFCherenkov.cc.
References tmp.
Referenced by computeNPE(), and computeNPEinPMT().
double HFCherenkov::smearNPE | ( | G4int | Npe | ) |
Definition at line 407 of file HFCherenkov.cc.
References gain, mps_fire::i, and heppy_batch::val.
|
private |
Definition at line 60 of file HFCherenkov.h.
Referenced by computeNPE(), computeNPEinPMT(), and HFCherenkov().
|
private |
Definition at line 60 of file HFCherenkov.h.
Referenced by computeNPhTrapped(), and HFCherenkov().
|
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(), computeNPhTrapped(), 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().