#include <HFShowerLibrary.h>
Classes | |
struct | Hit |
Public Member Functions | |
std::vector< Hit > | fillHits (const G4ThreeVector &p, const G4ThreeVector &v, int parCode, double parEnergy, bool &ok, double weight, double time, bool onlyLong=false) |
std::vector< Hit > | getHits (const G4Step *aStep, bool &ok, double weight, bool onlyLong=false) |
HFShowerLibrary (const std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p) | |
void | initRun (G4ParticleTable *, const 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 | |
bool | applyFidCut |
double | backProb |
double | dphi |
TBranch * | emBranch |
int | evtPerBin |
HFFibre * | fibre |
std::vector< double > | gpar |
TBranch * | hadBranch |
TFile * | hf |
float | libVers |
float | listVersion |
bool | newForm |
int | nMomBin |
int | npe |
HFShowerPhotonCollection | pe |
HFShowerPhotonCollection * | photo |
HFShowerPhotonCollection | photon |
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 | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
edm::ParameterSet const & | p | ||
) |
Definition at line 26 of file HFShowerLibrary.cc.
References applyFidCut, backProb, emBranch, event(), evtPerBin, Exception, fibre, edm::ParameterSet::getParameter(), GeV, hadBranch, hf, mps_fire::i, info(), libVers, listVersion, loadEventInfo(), newForm, nMomBin, photo, pmom, probMax, AlCaHLTBitMon_QueryRunRegistry::string, totEvents, and v3version.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
|
protected |
Definition at line 514 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), createfilelist::int, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by fillHits().
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::fillHits | ( | const G4ThreeVector & | p, |
const G4ThreeVector & | v, | ||
int | parCode, | ||
double | parEnergy, | ||
bool & | ok, | ||
double | weight, | ||
double | time, | ||
bool | onlyLong = false |
||
) |
Definition at line 185 of file HFShowerLibrary.cc.
References funct::abs(), applyFidCut, HFFibre::attLength(), backProb, funct::cos(), egammaForCoreTracking_cff::depth, HFShowerLibrary::Hit::depth, dphi, JetChargeProducer_cfi::exp, extrapolate(), fibre, gpar, mps_fire::i, createfilelist::int, interpolate(), G4TrackToParticleID::isGammaElectronPositron(), G4TrackToParticleID::isStableHadron(), MeV, nMomBin, npe, AlCaHLTBitMon_ParallelJobs::p, pe, pmom, HFShowerLibrary::Hit::position, probMax, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, rInside(), funct::sin(), electronIdCutBased_cfi::threshold, HFShowerLibrary::Hit::time, HFFibre::tShift(), geometryCSVtoXML::xx, geometryCSVtoXML::yy, z, HFFibre::zShift(), and geometryCSVtoXML::zz.
Referenced by getHits().
|
protected |
Definition at line 590 of file HFShowerLibrary.cc.
References DDfetch(), DDValue::doubles(), Exception, str, and relativeConstraints::value.
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::getHits | ( | const G4Step * | aStep, |
bool & | ok, | ||
double | weight, | ||
bool | onlyLong = false |
||
) |
Definition at line 144 of file HFShowerLibrary.cc.
References funct::cos(), fillHits(), GeV, gpar, funct::sin(), and HiIsolationCommonParameters_cff::track.
Referenced by HFShowerParam::getHits().
|
protected |
Definition at line 347 of file HFShowerLibrary.cc.
References emBranch, hadBranch, mps_fire::i, newForm, photo, photon, protons_cff::t, totEvents, and v3version.
Referenced by extrapolate(), and interpolate().
void HFShowerLibrary::initRun | ( | G4ParticleTable * | , |
const HcalDDDSimConstants * | hcons | ||
) |
Definition at line 125 of file HFShowerLibrary.cc.
References dphi, fibre, HcalDDDSimConstants::getGparHF(), HcalDDDSimConstants::getPhiTableHF(), HcalDDDSimConstants::getRTableHF(), gpar, HFFibre::initRun(), rMax, and rMin.
Referenced by HFShowerParam::initRun().
|
protected |
Definition at line 437 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), GeV, createfilelist::int, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by fillHits().
|
protected |
Definition at line 406 of file HFShowerLibrary.cc.
References evtPerBin, GeV, mps_fire::i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
|
protected |
Definition at line 579 of file HFShowerLibrary.cc.
References newForm, npe, pe, photo, and photon.
Referenced by extrapolate(), and interpolate().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 73 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 74 of file HFShowerLibrary.h.
Referenced by fillHits(), and initRun().
|
private |
Definition at line 66 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by extrapolate(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 64 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), initRun(), and ~HFShowerLibrary().
|
private |
Definition at line 75 of file HFShowerLibrary.h.
Referenced by fillHits(), getHits(), and initRun().
|
private |
Definition at line 66 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 65 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and ~HFShowerLibrary().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and storePhoton().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 79 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), storePhoton(), and ~HFShowerLibrary().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 71 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 73 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 74 of file HFShowerLibrary.h.
|
private |
Definition at line 74 of file HFShowerLibrary.h.
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 68 of file HFShowerLibrary.h.