#include <tmp/CaloTowerConstituentsMapBuilder/interface/CaloTowerConstituentsMapBuilder.h>
Public Types | |
typedef std::unique_ptr< CaloTowerConstituentsMap > | ReturnType |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
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 | |
bool | mapAuto_ |
std::string | mapFile_ |
bool | skipHE_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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 eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 40 of file CaloTowerConstituentsMapBuilder.h.
typedef std::unique_ptr<CaloTowerConstituentsMap> CaloTowerConstituentsMapBuilder::ReturnType |
Definition at line 45 of file CaloTowerConstituentsMapBuilder.h.
CaloTowerConstituentsMapBuilder::CaloTowerConstituentsMapBuilder | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 35 of file CaloTowerConstituentsMapBuilder.cc.
References edm::ESProducer::setWhatProduced().
|
override |
Definition at line 47 of file CaloTowerConstituentsMapBuilder.cc.
|
private |
Definition at line 123 of file CaloTowerConstituentsMapBuilder.cc.
References CaloTowerConstituentsMap::assign(), CaloTowerTopology::convertHcaltoCT(), DetId::Ecal, EcalEndcap, CaloSubdetectorGeometry::getClosestCell(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), CaloSubdetectorGeometry::getValidDetIds(), runTauDisplay::gp, DetId::Hcal, and HcalEndcap.
Referenced by produce().
|
static |
Definition at line 55 of file CaloTowerConstituentsMapBuilder.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), funct::false, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 100 of file CaloTowerConstituentsMapBuilder.cc.
References CaloTowerConstituentsMap::assign(), edm::FileInPath::fullPath(), geometryCSVtoXML::line, and nullptr.
Referenced by produce().
CaloTowerConstituentsMapBuilder::ReturnType CaloTowerConstituentsMapBuilder::produce | ( | const CaloGeometryRecord & | iRecord | ) |
Definition at line 66 of file CaloTowerConstituentsMapBuilder.cc.
References assignEEtoHE(), edm::eventsetup::EventSetupRecord::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), mapAuto_, mapFile_, parseTextMap(), parseEventContent::prod, and skipHE_.
|
private |
Definition at line 54 of file CaloTowerConstituentsMapBuilder.h.
Referenced by produce().
|
private |
Definition at line 53 of file CaloTowerConstituentsMapBuilder.h.
Referenced by produce().
|
private |
Definition at line 54 of file CaloTowerConstituentsMapBuilder.h.
Referenced by produce().