#include <FastHFShowerLibrary.h>
Classes | |
struct | Hit |
Public Member Functions | |
FastHFShowerLibrary (edm::ParameterSet const &p) | |
std::vector< Hit > | getHits (const G4ThreeVector &p, const G4ThreeVector &v, int parCode, double parEnergy, bool &ok, double weight, bool onlyLong=false) |
const std::map< CaloHitID, float > & | getHitsMap () |
void const | initHFShowerLibrary (const edm::EventSetup &) |
void | initRun () |
bool | isItinFidVolume (G4ThreeVector &) |
void | recoHFShowerLibrary (const FSimTrack &myTrack) |
~FastHFShowerLibrary () | |
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 | cFibre |
double | dphi |
TBranch * | emBranch |
int | emPDG |
int | epPDG |
int | etaPDG |
int | evtPerBin |
FastHFFibre * | fibre |
int | gammaPDG |
int | geantinoPDG |
std::vector< double > | gpar |
TBranch * | hadBranch |
TFile * | hf |
std::map< CaloHitID, float > | hitMap |
float | libVers |
float | listVersion |
bool | newForm |
int | nMomBin |
int | npe |
int | nuePDG |
HcalNumberingFromDDD * | numberingFromDDD |
HcalNumberingScheme * | numberingScheme |
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 38 of file FastHFShowerLibrary.h.
FastHFShowerLibrary::FastHFShowerLibrary | ( | edm::ParameterSet const & | p | ) |
Definition at line 28 of file FastHFShowerLibrary.cc.
References applyFidCut, backProb, cFibre, emBranch, event(), evtPerBin, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), GeV, hadBranch, hf, i, info(), libVers, listVersion, loadEventInfo(), newForm, nMomBin, pmom, probMax, AlCaHLTBitMon_QueryRunRegistry::string, and totEvents.
FastHFShowerLibrary::~FastHFShowerLibrary | ( | ) |
Definition at line 123 of file FastHFShowerLibrary.cc.
References fibre, hf, numberingFromDDD, numberingScheme, and photo.
|
protected |
Definition at line 621 of file FastHFShowerLibrary.cc.
References evtPerBin, getRecord(), j, LogDebug, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by getHits().
|
protected |
Definition at line 708 of file FastHFShowerLibrary.cc.
References DDfetch(), DDValue::doubles(), edm::hlt::Exception, LogDebug, and relativeConstraints::value.
Referenced by initHFShowerLibrary().
std::vector< FastHFShowerLibrary::Hit > FastHFShowerLibrary::getHits | ( | const G4ThreeVector & | p, |
const G4ThreeVector & | v, | ||
int | parCode, | ||
double | parEnergy, | ||
bool & | ok, | ||
double | weight, | ||
bool | onlyLong = false |
||
) |
Definition at line 279 of file FastHFShowerLibrary.cc.
References funct::abs(), anuePDG, anumuPDG, anutauPDG, applyFidCut, FastHFFibre::attLength(), backProb, funct::cos(), FastHFShowerLibrary::Hit::depth, HLT_25ns14e33_v1_cff::depth, dphi, emPDG, epPDG, etaPDG, create_public_lumi_plots::exp, extrapolate(), fibre, gammaPDG, geantinoPDG, GeV, gpar, i, interpolate(), LogDebug, nMomBin, npe, nuePDG, numuPDG, nutauPDG, AlCaHLTBitMon_ParallelJobs::p, pe, pi0PDG, pmom, FastHFShowerLibrary::Hit::position, probMax, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, rInside(), funct::sin(), FastHFShowerLibrary::Hit::time, FastHFFibre::tShift(), detailsBasic3DVector::z, hit::z, and FastHFFibre::zShift().
Referenced by recoHFShowerLibrary().
|
inline |
Definition at line 61 of file FastHFShowerLibrary.h.
References hitMap.
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstruct().
|
protected |
Definition at line 467 of file FastHFShowerLibrary.cc.
References emBranch, hadBranch, j, LogDebug, newForm, photo, photon, and totEvents.
Referenced by extrapolate(), and interpolate().
void const FastHFShowerLibrary::initHFShowerLibrary | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 131 of file FastHFShowerLibrary.cc.
References DDFilteredView::addFilter(), cFibre, dphi, DDSpecificsFilter::equals, edm::hlt::Exception, fibre, alcazmumu_cfi::filter, DDFilteredView::firstChild(), edm::EventSetup::get(), getDDDArray(), gpar, initRun(), DDFilteredView::mergedSpecifics(), mergeVDriftHistosByStation::name, HLT_25ns14e33_v1_cff::nEta, HLT_25ns14e33_v1_cff::nPhi, numberingFromDDD, numberingScheme, photo, rMax, rMin, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by FamosManager::setupGeometryAndField().
void FastHFShowerLibrary::initRun | ( | ) |
Definition at line 188 of file FastHFShowerLibrary.cc.
References anuePDG, anumuPDG, anutauPDG, emPDG, epPDG, etaPDG, gammaPDG, geantinoPDG, nuePDG, numuPDG, nutauPDG, and pi0PDG.
Referenced by initHFShowerLibrary().
|
protected |
Definition at line 529 of file FastHFShowerLibrary.cc.
References evtPerBin, getRecord(), GeV, j, LogDebug, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by getHits().
bool FastHFShowerLibrary::isItinFidVolume | ( | G4ThreeVector & | hitPoint | ) |
Definition at line 262 of file FastHFShowerLibrary.cc.
References applyFidCut, archive::flag, and HFFibreFiducial::PMTNumber().
Referenced by recoHFShowerLibrary().
|
protected |
Definition at line 500 of file FastHFShowerLibrary.cc.
References evtPerBin, GeV, i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by FastHFShowerLibrary().
void FastHFShowerLibrary::recoHFShowerLibrary | ( | const FSimTrack & | myTrack | ) |
Definition at line 207 of file FastHFShowerLibrary.cc.
References HLT_25ns14e33_v1_cff::depth, getHits(), HcalNumberingScheme::getUnitID(), hitMap, i, FSimTrack::id(), isItinFidVolume(), numberingFromDDD, numberingScheme, convertSQLiteXML::ok, FSimTrack::onVFcal(), cond::rpcobgas::time, tmp, CoreSimTrack::type(), HcalNumberingFromDDD::unitID(), RawParticle::vertex(), FSimTrack::vfcalEntrance(), histoStyle::weight, RawParticle::X(), RawParticle::Y(), and RawParticle::Z().
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstruct().
|
protected |
|
protected |
Definition at line 696 of file FastHFShowerLibrary.cc.
References LogDebug, newForm, npe, pe, photo, and photon.
Referenced by extrapolate(), and interpolate().
|
private |
Definition at line 97 of file FastHFShowerLibrary.h.
|
private |
Definition at line 97 of file FastHFShowerLibrary.h.
|
private |
Definition at line 97 of file FastHFShowerLibrary.h.
|
private |
Definition at line 86 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), getHits(), and isItinFidVolume().
|
private |
Definition at line 91 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and getHits().
|
private |
Definition at line 84 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and initHFShowerLibrary().
|
private |
Definition at line 92 of file FastHFShowerLibrary.h.
Referenced by VBF.VBF::__str__(), getHits(), and initHFShowerLibrary().
|
private |
Definition at line 79 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and getRecord().
|
private |
Definition at line 95 of file FastHFShowerLibrary.h.
|
private |
Definition at line 95 of file FastHFShowerLibrary.h.
|
private |
Definition at line 96 of file FastHFShowerLibrary.h.
|
private |
Definition at line 87 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), FastHFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 77 of file FastHFShowerLibrary.h.
Referenced by getHits(), initHFShowerLibrary(), and ~FastHFShowerLibrary().
|
private |
Definition at line 95 of file FastHFShowerLibrary.h.
|
private |
Definition at line 97 of file FastHFShowerLibrary.h.
|
private |
Definition at line 93 of file FastHFShowerLibrary.h.
Referenced by getHits(), and initHFShowerLibrary().
|
private |
Definition at line 79 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and getRecord().
|
private |
Definition at line 78 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and ~FastHFShowerLibrary().
|
private |
Definition at line 83 of file FastHFShowerLibrary.h.
Referenced by getHitsMap(), and recoHFShowerLibrary().
|
private |
Definition at line 88 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 88 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 86 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), FastHFShowerLibrary(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 87 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), FastHFShowerLibrary(), getHits(), interpolate(), and loadEventInfo().
|
private |
Definition at line 99 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), getHits(), interpolate(), and storePhoton().
|
private |
Definition at line 96 of file FastHFShowerLibrary.h.
|
private |
Definition at line 82 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), recoHFShowerLibrary(), and ~FastHFShowerLibrary().
|
private |
Definition at line 81 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), recoHFShowerLibrary(), and ~FastHFShowerLibrary().
|
private |
Definition at line 96 of file FastHFShowerLibrary.h.
|
private |
Definition at line 96 of file FastHFShowerLibrary.h.
|
private |
Definition at line 100 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), getHits(), interpolate(), and storePhoton().
|
private |
Definition at line 101 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), initHFShowerLibrary(), interpolate(), storePhoton(), and ~FastHFShowerLibrary().
|
private |
Definition at line 102 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 96 of file FastHFShowerLibrary.h.
|
private |
Definition at line 89 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), FastHFShowerLibrary(), getHits(), interpolate(), and loadEventInfo().
|
private |
Definition at line 91 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and getHits().
|
private |
Definition at line 92 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and rInside().
|
private |
Definition at line 92 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and rInside().
|
private |
Definition at line 87 of file FastHFShowerLibrary.h.
Referenced by extrapolate(), FastHFShowerLibrary(), getRecord(), interpolate(), and loadEventInfo().
|
private |
Definition at line 86 of file FastHFShowerLibrary.h.
Referenced by python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().