#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 *theParticleTable) |
~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 | verbose |
Definition at line 28 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 DDFilteredView::addFilter(), anuePDG, anumuPDG, anutauPDG, applyFidCut, backProb, dphi, emBranch, emPDG, epPDG, equals, etaPDG, event(), evtPerBin, Exception, fibre, alcazmumu_cfi::filter, DDFilteredView::firstChild(), personalPlayback::fp, gammaPDG, geantinoPDG, getDDDArray(), edm::ParameterSet::getParameter(), GeV, gpar, hadBranch, hf, i, info(), libVers, listVersion, loadEventInfo(), DDFilteredView::mergedSpecifics(), mergeVDriftHistosByStation::name, HLT_25ns14e33_v1_cff::nEta, newForm, nMomBin, HLT_25ns14e33_v1_cff::nPhi, nuePDG, numuPDG, nutauPDG, photo, pi0PDG, pmom, probMax, rMax, rMin, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, totEvents, and relativeConstraints::value.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
|
protected |
Definition at line 553 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 235 of file HFShowerLibrary.cc.
References funct::abs(), anuePDG, anumuPDG, anutauPDG, applyFidCut, HFFibre::attLength(), backProb, funct::cos(), HFShowerLibrary::Hit::depth, HLT_25ns14e33_v1_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 638 of file HFShowerLibrary.cc.
References DDfetch(), DDValue::doubles(), Exception, LogDebug, and relativeConstraints::value.
Referenced by HFShowerLibrary().
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::getHits | ( | G4Step * | aStep, |
bool & | ok, | ||
double | weight, | ||
bool | onlyLong = false |
||
) |
Definition at line 197 of file HFShowerLibrary.cc.
References funct::cos(), fillHits(), GeV, gpar, and funct::sin().
Referenced by HCalSD::getFromLibrary(), and HFShowerParam::getHits().
|
protected |
Definition at line 405 of file HFShowerLibrary.cc.
References emBranch, hadBranch, j, LogDebug, newForm, photo, photon, and totEvents.
Referenced by extrapolate(), and interpolate().
void HFShowerLibrary::initRun | ( | G4ParticleTable * | theParticleTable | ) |
Definition at line 169 of file HFShowerLibrary.cc.
References anuePDG, anumuPDG, anutauPDG, emPDG, epPDG, etaPDG, gammaPDG, geantinoPDG, nuePDG, numuPDG, nutauPDG, and pi0PDG.
Referenced by HFShowerParam::initRun(), and HCalSD::initRun().
|
protected |
Definition at line 466 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 437 of file HFShowerLibrary.cc.
References evtPerBin, GeV, i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
|
protected |
Definition at line 627 of file HFShowerLibrary.cc.
References LogDebug, newForm, npe, pe, photo, and photon.
Referenced by extrapolate(), and interpolate().
|
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 69 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 74 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 67 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 78 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 70 of file HFShowerLibrary.h.
Referenced by extrapolate(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 65 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and ~HFShowerLibrary().
|
private |
Definition at line 78 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 76 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 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 82 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
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 79 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 83 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), interpolate(), and storePhoton().
|
private |
Definition at line 84 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), storePhoton(), and ~HFShowerLibrary().
|
private |
Definition at line 85 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 79 of file HFShowerLibrary.h.
Referenced by fillHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 72 of file HFShowerLibrary.h.
Referenced by extrapolate(), fillHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 74 of file HFShowerLibrary.h.
Referenced by fillHits(), and HFShowerLibrary().
|
private |
Definition at line 75 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and rInside().
|
private |
Definition at line 75 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.