#include <tmp/CaloTowerConstituentsMapBuilder/interface/CaloTowerConstituentsMapBuilder.h>
Public Types | |
typedef std::unique_ptr< CaloTowerConstituentsMap > | ReturnType |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
void | assignEEtoHE (const CaloGeometry *geometry, CaloTowerConstituentsMap &theMap, const CaloTowerTopology *cttopo) |
void | parseTextMap (const std::string &filename, CaloTowerConstituentsMap &theMap) |
Private Attributes | |
edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecord > | cttopoToken_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometryToken_ |
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > | hcaltopoToken_ |
bool | mapAuto_ |
std::string | mapFile_ |
bool | skipHE_ |
Additional Inherited Members | |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 42 of file CaloTowerConstituentsMapBuilder.h.
typedef std::unique_ptr<CaloTowerConstituentsMap> CaloTowerConstituentsMapBuilder::ReturnType |
Definition at line 47 of file CaloTowerConstituentsMapBuilder.h.
CaloTowerConstituentsMapBuilder::CaloTowerConstituentsMapBuilder | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 32 of file CaloTowerConstituentsMapBuilder.cc.
References gpuPixelDoublets::cc, cttopoToken_, geometryToken_, hcaltopoToken_, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 47 of file CaloTowerConstituentsMapBuilder.cc.
|
private |
Definition at line 113 of file CaloTowerConstituentsMapBuilder.cc.
References CaloTowerConstituentsMap::assign(), CaloTowerTopology::convertHcaltoCT(), DetId::Ecal, EcalEndcap, CaloSubdetectorGeometry::getClosestCell(), CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), runTauDisplay::gp, DetId::Hcal, and HcalEndcap.
Referenced by produce().
|
static |
Definition at line 53 of file CaloTowerConstituentsMapBuilder.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 90 of file CaloTowerConstituentsMapBuilder.cc.
References CaloTowerConstituentsMap::assign(), hgcalPlots::ct, corrVsCorr::filename, edm::FileInPath::fullPath(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, and mps_splice::line.
Referenced by produce().
CaloTowerConstituentsMapBuilder::ReturnType CaloTowerConstituentsMapBuilder::produce | ( | const CaloGeometryRecord & | iRecord | ) |
Definition at line 62 of file CaloTowerConstituentsMapBuilder.cc.
References assignEEtoHE(), cttopoToken_, geometryToken_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), hcaltopoToken_, mapAuto_, mapFile_, parseTextMap(), dumpMFGeometry_cfg::prod, and skipHE_.
|
private |
Definition at line 56 of file CaloTowerConstituentsMapBuilder.h.
Referenced by CaloTowerConstituentsMapBuilder(), and produce().
|
private |
Definition at line 57 of file CaloTowerConstituentsMapBuilder.h.
Referenced by CaloTowerConstituentsMapBuilder(), and produce().
|
private |
Definition at line 55 of file CaloTowerConstituentsMapBuilder.h.
Referenced by CaloTowerConstituentsMapBuilder(), and produce().
|
private |
Definition at line 59 of file CaloTowerConstituentsMapBuilder.h.
Referenced by produce().
|
private |
Definition at line 58 of file CaloTowerConstituentsMapBuilder.h.
Referenced by produce().
|
private |
Definition at line 59 of file CaloTowerConstituentsMapBuilder.h.
Referenced by produce().