#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::DataProxyProvider | |
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::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
Protected Member Functions inherited from edm::ESProducer | |
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 TArg > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &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::ESProxyFactoryProducer | |
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::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
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 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(), corrVsCorr::filename, edm::FileInPath::fullPath(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::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().