#include <HFShowerLibrary.h>
Classes | |
struct | Hit |
Public Member Functions | |
std::vector< Hit > | fillHits (G4ThreeVector &p, G4ThreeVector &v, int parCode, double parEnergy, bool &ok, double weight, double time, bool onlyLong=false) |
std::vector< Hit > | getHits (G4Step *aStep, bool &ok, double weight, bool onlyLong=false) |
HFShowerLibrary (std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p) | |
void | initRun (G4ParticleTable *, HcalDDDSimConstants *) |
~HFShowerLibrary () | |
Protected Member Functions | |
void | extrapolate (int, double) |
std::vector< double > | getDDDArray (const std::string &, const DDsvalues_type &, int &) |
void | getRecord (int, int) |
void | interpolate (int, double) |
void | loadEventInfo (TBranch *) |
bool | rInside (double r) |
void | storePhoton (int j) |
Private Attributes | |
int | anuePDG |
int | anumuPDG |
int | anutauPDG |
bool | applyFidCut |
double | backProb |
double | dphi |
TBranch * | emBranch |
int | emPDG |
int | epPDG |
int | etaPDG |
int | evtPerBin |
HFFibre * | fibre |
int | gammaPDG |
int | geantinoPDG |
std::vector< double > | gpar |
TBranch * | hadBranch |
TFile * | hf |
float | libVers |
float | listVersion |
bool | newForm |
int | nMomBin |
int | npe |
int | nuePDG |
int | numuPDG |
int | nutauPDG |
HFShowerPhotonCollection | pe |
HFShowerPhotonCollection * | photo |
HFShowerPhotonCollection | photon |
int | pi0PDG |
std::vector< double > | pmom |
double | probMax |
double | rMax |
double | rMin |
int | totEvents |
bool | v3version |
bool | verbose |
Definition at line 29 of file HFShowerLibrary.h.
HFShowerLibrary::HFShowerLibrary | ( | std::string & | name, |
const DDCompactView & | cpv, | ||
edm::ParameterSet const & | p | ||
) |
Definition at line 24 of file HFShowerLibrary.cc.
References anuePDG, anumuPDG, anutauPDG, applyFidCut, backProb, emBranch, emPDG, epPDG, etaPDG, event(), evtPerBin, Exception, fibre, personalPlayback::fp, gammaPDG, geantinoPDG, edm::ParameterSet::getParameter(), GeV, hadBranch, hf, i, info(), libVers, listVersion, loadEventInfo(), newForm, nMomBin, nuePDG, numuPDG, nutauPDG, photo, pi0PDG, pmom, probMax, AlCaHLTBitMon_QueryRunRegistry::string, totEvents, and v3version.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
|
protected |
Definition at line 568 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), j, LogDebug, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by fillHits().
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::fillHits | ( | G4ThreeVector & | p, |
G4ThreeVector & | v, | ||
int | parCode, | ||
double | parEnergy, | ||
bool & | ok, | ||
double | weight, | ||
double | time, | ||
bool | onlyLong = false |
||
) |
Definition at line 223 of file HFShowerLibrary.cc.
References funct::abs(), anuePDG, anumuPDG, anutauPDG, applyFidCut, HFFibre::attLength(), backProb, funct::cos(), HFShowerLibrary::Hit::depth, HLT_25ns10e33_v2_cff::depth, dphi, emPDG, epPDG, etaPDG, create_public_lumi_plots::exp, extrapolate(), fibre, gammaPDG, geantinoPDG, gpar, i, interpolate(), LogDebug, nMomBin, npe, nuePDG, numuPDG, nutauPDG, AlCaHLTBitMon_ParallelJobs::p, pe, pi0PDG, pmom, HFShowerLibrary::Hit::position, probMax, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, rInside(), funct::sin(), HFShowerLibrary::Hit::time, HFFibre::tShift(), z, hit::z, and HFFibre::zShift().
Referenced by getHits().
|
protected |
Definition at line 653 of file HFShowerLibrary.cc.
References DDfetch(), DDValue::doubles(), Exception, LogDebug, and relativeConstraints::value.
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::getHits | ( | G4Step * | aStep, |
bool & | ok, | ||
double | weight, | ||
bool | onlyLong = false |
||
) |
Definition at line 185 of file HFShowerLibrary.cc.
References funct::cos(), fillHits(), GeV, gpar, and funct::sin().
Referenced by HCalSD::getFromLibrary(), and HFShowerParam::getHits().
|
protected |
Definition at line 393 of file HFShowerLibrary.cc.
References emBranch, hadBranch, i, j, LogDebug, newForm, photo, photon, t, totEvents, and v3version.
Referenced by extrapolate(), and interpolate().
void HFShowerLibrary::initRun | ( | G4ParticleTable * | theParticleTable, |
HcalDDDSimConstants * | hcons | ||
) |
Definition at line 134 of file HFShowerLibrary.cc.
References anuePDG, anumuPDG, anutauPDG, dphi, emPDG, epPDG, etaPDG, fibre, gammaPDG, geantinoPDG, HcalDDDSimConstants::getGparHF(), HcalDDDSimConstants::getPhiTableHF(), HcalDDDSimConstants::getRTableHF(), gpar, HFFibre::initRun(), nuePDG, numuPDG, nutauPDG, pi0PDG, rMax, and rMin.
Referenced by HFShowerParam::initRun(), and HCalSD::initRun().
|
protected |
Definition at line 481 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), GeV, j, LogDebug, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by fillHits().
|
protected |
Definition at line 452 of file HFShowerLibrary.cc.
References evtPerBin, GeV, i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
|
protected |
Definition at line 642 of file HFShowerLibrary.cc.
References LogDebug, newForm, npe, pe, photo, and photon.
Referenced by extrapolate(), and interpolate().
|
private |
Definition at line 81 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 81 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 81 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 75 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
Referenced by fillHits(), and initRun().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 79 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 79 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 71 of file HFShowerLibrary.h.
Referenced by extrapolate(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 66 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), initRun(), and ~HFShowerLibrary().
|
private |
Definition at line 79 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 81 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by fillHits(), getHits(), and initRun().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 67 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and ~HFShowerLibrary().
|
private |
Definition at line 72 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 72 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and storePhoton().
|
private |
Definition at line 71 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 83 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 84 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 85 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), storePhoton(), and ~HFShowerLibrary().
|
private |
Definition at line 86 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 73 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 75 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
|
private |
Definition at line 76 of file HFShowerLibrary.h.
|
private |
Definition at line 71 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 70 of file HFShowerLibrary.h.