#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 |
bool | equalizeTimeShift_ |
int | evtPerBin |
std::unique_ptr< HFFibre > | fibre_ |
int | fileVersion_ |
std::vector< double > | gpar |
TBranch * | hadBranch |
const HcalDDDSimConstants * | hcalConstant_ |
TFile * | hf |
float | libVers |
float | listVersion |
bool | newForm |
int | nMomBin |
int | npe |
HFShowerPhotonCollection | pe |
std::unique_ptr< HFShowerPhotonCollection > | photo |
HFShowerPhotonCollection | photon |
std::vector< double > | pmom |
double | probMax |
double | rMax |
double | rMin |
int | totEvents |
bool | v3version |
bool | verbose |
Definition at line 28 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, equalizeTimeShift_, edmPickEvents::event, evtPerBin, Exception, fibre_, fileVersion_, personalPlayback::fp, HcalDDDSimConstants::getGparHF(), edm::ParameterSet::getParameter(), HcalDDDSimConstants::getPhiTableHF(), HcalDDDSimConstants::getRTableHF(), 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, v3version, and verbose.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
|
protected |
Definition at line 515 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 183 of file HFShowerLibrary.cc.
References funct::abs(), applyFidCut, backProb, funct::cos(), HFShowerLibrary::Hit::depth, LEDCalibrationChannels::depth, dphi, equalizeTimeShift_, JetChargeProducer_cfi::exp, extrapolate(), fibre_, gpar, mps_fire::i, createfilelist::int, interpolate(), G4TrackToParticleID::isGammaElectronPositron(), G4TrackToParticleID::isStableHadron(), nMomBin, npe, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, pe, pmom, HFShowerLibrary::Hit::position, probMax, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, rInside(), funct::sin(), remoteMonitoring_LASER_era2018_cfg::threshold, HFShowerLibrary::Hit::time, funct::true, geometryCSVtoXML::xx, geometryCSVtoXML::yy, z, hit::z, gpuVertexFinder::zv, 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 142 of file HFShowerLibrary.cc.
References funct::cos(), fillHits(), gpar, funct::sin(), and HLT_2022v12_cff::track.
|
protected |
Definition at line 348 of file HFShowerLibrary.cc.
References emBranch, fileVersion_, hadBranch, mps_fire::i, dqmiolumiharvest::j, newForm, photo, photon, position, AlCaHarvesting_cff::record, submitPVValidationJobs::t, totEvents, cmsswSequenceInfo::tp, and v3version.
Referenced by extrapolate(), and interpolate().
|
protected |
Definition at line 437 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().
|
protected |
Definition at line 408 of file HFShowerLibrary.cc.
References MicroEventContent_cff::branch, evtPerBin, fileVersion_, mps_fire::i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
Definition at line 346 of file HFShowerLibrary.cc.
References alignCSCRings::r, rMax, and rMin.
Referenced by fillHits().
|
protected |
Definition at line 580 of file HFShowerLibrary.cc.
References dqmiolumiharvest::j, newForm, npe, pe, photo, and photon.
Referenced by extrapolate(), and interpolate().
|
private |
Definition at line 69 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 77 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 67 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 75 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by extrapolate(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 65 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 74 of file HFShowerLibrary.h.
Referenced by getRecord(), HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by fillHits(), getHits(), and HFShowerLibrary().
|
private |
Definition at line 67 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 64 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary().
|
private |
Definition at line 66 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and ~HFShowerLibrary().
|
private |
Definition at line 71 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 71 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and storePhoton().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
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(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 82 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and storePhoton().
|
private |
Definition at line 83 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 72 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and rInside().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and rInside().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary().