#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 HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p) | |
~HFShowerLibrary () | |
Protected Member Functions | |
void | extrapolate (int, double) |
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 |
std::unique_ptr< HFFibre > | fibre_ |
std::vector< double > | gpar |
TBranch * | hadBranch |
const HcalDDDSimConstants * | hcalConstant_ |
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 HcalDDDSimConstants * | hcons, | ||
const HcalSimulationParameters * | hps, | ||
edm::ParameterSet const & | p | ||
) |
Definition at line 23 of file HFShowerLibrary.cc.
References applyFidCut, backProb, dphi, emBranch, event(), evtPerBin, Exception, fibre_, personalPlayback::fp, edm::ParameterSet::getParameter(), GeV, gpar, hadBranch, hcalConstant_, hf, mps_fire::i, info(), libVers, listVersion, loadEventInfo(), Skims_PA_cff::name, newForm, nMomBin, AlCaHLTBitMon_ParallelJobs::p, photo, pmom, probMax, rMax, rMin, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, totEvents, and v3version.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
Definition at line 135 of file HFShowerLibrary.cc.
|
protected |
Definition at line 511 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), createfilelist::int, dqmiolumiharvest::j, 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 182 of file HFShowerLibrary.cc.
References funct::abs(), applyFidCut, backProb, funct::cos(), HFShowerLibrary::Hit::depth, LEDCalibrationChannels::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(), MessageLogger_cff::threshold, HFShowerLibrary::Hit::time, geometryCSVtoXML::xx, geometryCSVtoXML::yy, z, and geometryCSVtoXML::zz.
Referenced by getHits().
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::getHits | ( | const G4Step * | aStep, |
bool & | ok, | ||
double | weight, | ||
bool | onlyLong = false |
||
) |
Definition at line 141 of file HFShowerLibrary.cc.
References funct::cos(), fillHits(), GeV, gpar, funct::sin(), and HLT_2018_cff::track.
|
protected |
Definition at line 344 of file HFShowerLibrary.cc.
References emBranch, hadBranch, mps_fire::i, dqmiolumiharvest::j, newForm, photo, photon, OrderedSet::t, totEvents, and v3version.
Referenced by extrapolate(), and interpolate().
|
protected |
Definition at line 434 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), GeV, createfilelist::int, dqmiolumiharvest::j, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by fillHits().
|
protected |
Definition at line 403 of file HFShowerLibrary.cc.
References evtPerBin, GeV, mps_fire::i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
|
protected |
Definition at line 576 of file HFShowerLibrary.cc.
References newForm, npe, pe, photo, and photon.
Referenced by extrapolate(), and interpolate().
|
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 HFShowerLibrary().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
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(), and HFShowerLibrary().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by fillHits(), getHits(), and HFShowerLibrary().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 65 of file HFShowerLibrary.h.
Referenced by 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 79 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 81 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), storePhoton(), and ~HFShowerLibrary().
|
private |
Definition at line 82 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
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.
Referenced by HFShowerLibrary(), and rInside().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and rInside().
|
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.