#include <FastHFShowerLibrary.h>
Public Member Functions | |
FastHFShowerLibrary (edm::ParameterSet const &, edm::ConsumesCollector &&) | |
const std::map< CaloHitID, float > & | getHitsMap () |
void const | initHFShowerLibrary (const edm::EventSetup &) |
void | modifyDepth (HcalNumberingFromDDD::HcalID &id) |
void | recoHFShowerLibrary (const FSimTrack &myTrack) |
void | SetRandom (const RandomEngineAndDistribution *) |
~FastHFShowerLibrary () | |
Private Attributes | |
bool | applyFidCut |
const edm::ParameterSet | fast |
const HcalDDDSimConstants * | hcalConstants |
const edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > | hcalDDDSimConstantsESToken_ |
const edm::ESGetToken< HcalSimulationConstants, HcalSimNumberingRecord > | hcalSimulationConstantsESToken_ |
std::unique_ptr< HFShowerLibrary > | hfshower |
std::map< CaloHitID, float > | hitMap |
std::string | name |
std::unique_ptr< HcalNumberingFromDDD > | numberingFromDDD |
HcalNumberingScheme | numberingScheme |
Definition at line 39 of file FastHFShowerLibrary.h.
FastHFShowerLibrary::FastHFShowerLibrary | ( | edm::ParameterSet const & | p, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 41 of file FastHFShowerLibrary.cc.
References applyFidCut, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 43 of file FastHFShowerLibrary.h.
|
inline |
Definition at line 49 of file FastHFShowerLibrary.h.
References hitMap.
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstructTrack().
void const FastHFShowerLibrary::initHFShowerLibrary | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 47 of file FastHFShowerLibrary.cc.
References bJpsiMuMuTrigSettings_cff::decays, fast, edm::EventSetup::getData(), hcalConstants, hcalDDDSimConstantsESToken_, HcalSimulationConstants::hcalsimpar(), hcalSimulationConstantsESToken_, hfshower, initializeOnce, name, numberingFromDDD, and AlCaHLTBitMon_QueryRunRegistry::string.
void FastHFShowerLibrary::modifyDepth | ( | HcalNumberingFromDDD::HcalID & | id | ) |
Definition at line 131 of file FastHFShowerLibrary.cc.
References LEDCalibrationChannels::depth, hcalConstants, HcalForward, LEDCalibrationChannels::ieta, and HcalDDDSimConstants::maxHFDepth().
Referenced by recoHFShowerLibrary().
void FastHFShowerLibrary::recoHFShowerLibrary | ( | const FSimTrack & | myTrack | ) |
Definition at line 76 of file FastHFShowerLibrary.cc.
References applyFidCut, LEDCalibrationChannels::depth, RawParticle::e(), HcalNumberingScheme::getUnitID(), hfshower, hitMap, hfClusterShapes_cfi::hits, mps_fire::i, FSimTrack::id(), modifyDepth(), numberingFromDDD, numberingScheme, convertSQLiteXML::ok, FSimTrack::onVFcal(), HFFibreFiducial::PMTNumber(), protons_cff::time, createJobs::tmp, CoreSimTrack::type(), RawParticle::Vect(), bphysicsOniaDQM_cfi::vertex, RawParticle::vertex(), and FSimTrack::vfcalEntrance().
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstructTrack().
void FastHFShowerLibrary::SetRandom | ( | const RandomEngineAndDistribution * | rnd | ) |
Definition at line 69 of file FastHFShowerLibrary.cc.
References LogDebug, and RandomEngineAndDistribution::theEngine().
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::initialize().
|
private |
Definition at line 62 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and recoHFShowerLibrary().
|
private |
Definition at line 54 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary().
|
private |
Definition at line 57 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and modifyDepth().
|
private |
Definition at line 65 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary().
|
private |
Definition at line 66 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary().
|
private |
Definition at line 55 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and recoHFShowerLibrary().
|
private |
Definition at line 60 of file FastHFShowerLibrary.h.
Referenced by getHitsMap(), and recoHFShowerLibrary().
|
private |
Definition at line 63 of file FastHFShowerLibrary.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), initHFShowerLibrary(), VIDSelectorBase.VIDSelectorBase::initialize(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), counter.Counter::write(), and average.Average::write().
|
private |
Definition at line 56 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and recoHFShowerLibrary().
|
private |
Definition at line 58 of file FastHFShowerLibrary.h.
Referenced by recoHFShowerLibrary().