Public Types | |
typedef boost::shared_ptr < EcalNextToDeadChannel > | 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 |
Private Member Functions | |
void | findNextToDeadChannelsCallback (const EcalChannelStatusRcd &chs) |
Private Attributes | |
ReturnType | returnRcd_ |
int | statusThreshold_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
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::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
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 &) |
ESProducer to fill the EcalNextToDeadChannel record starting from EcalChannelStatus information
Definition at line 24 of file EcalNextToDeadChannelESProducer.cc.
typedef boost::shared_ptr<EcalNextToDeadChannel> EcalNextToDeadChannelESProducer::ReturnType |
Definition at line 29 of file EcalNextToDeadChannelESProducer.cc.
EcalNextToDeadChannelESProducer::EcalNextToDeadChannelESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 45 of file EcalNextToDeadChannelESProducer.cc.
References edm::eventsetup::dependsOn(), findNextToDeadChannelsCallback(), edm::ParameterSet::getParameter(), returnRcd_, edm::ESProducer::setWhatProduced(), and statusThreshold_.
|
private |
Definition at line 67 of file EcalNextToDeadChannelESProducer.cc.
References edm::eventsetup::EventSetupRecord::get(), h, EcalTools::isNextToDeadFromNeighbours(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, returnRcd_, EcalCondObjectContainer< T >::setValue(), statusThreshold_, EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by EcalNextToDeadChannelESProducer().
EcalNextToDeadChannelESProducer::ReturnType EcalNextToDeadChannelESProducer::produce | ( | const EcalNextToDeadChannelRcd & | iRecord | ) |
Definition at line 59 of file EcalNextToDeadChannelESProducer.cc.
References returnRcd_.
|
private |
Definition at line 42 of file EcalNextToDeadChannelESProducer.cc.
Referenced by EcalNextToDeadChannelESProducer(), findNextToDeadChannelsCallback(), and produce().
|
private |
Definition at line 40 of file EcalNextToDeadChannelESProducer.cc.
Referenced by EcalNextToDeadChannelESProducer(), and findNextToDeadChannelsCallback().