47 static std::map<std::string, std::vector<MEData> >
meData;
49 static void setMEData(std::vector<MEData>&);
71 W* worker(
new W(_params, _paths));
78 template <
class W>
SetWorker(
const std::string& _name, W*){
83 data.resize(W::nMESets);
93 #define DEFINE_ECALDQM_WORKER(TYPE) \
94 TYPE *p##TYPE(0); SetWorker TYPE##Instance(#TYPE, p##TYPE)
SetWorker(const std::string &_name, W *)
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
static void setMEData(std::vector< MEData > &)
virtual void setVerbosity(int _verbosity)
static std::map< std::string, WorkerFactory > workerFactories_
virtual void setInitialized(bool _init)
virtual std::string const & getName()
virtual bool isInitialized()
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
DQWorker(const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
DQWorker *(* WorkerFactory)(const edm::ParameterSet &, const edm::ParameterSet &)
DQWorker * workerFactory(const edm::ParameterSet &_params, const edm::ParameterSet &_paths)
static WorkerFactory findFactory(const std::string &)
virtual void endRun(const edm::Run &, const edm::EventSetup &)
std::vector< MESet * > MEs_
char data[epos_bytes_allocation]
MESet * createMESet_(std::string const &, MEData const &, bool _readOnly=false) const
void meSet_(unsigned, edm::ParameterSet const &)
static std::map< std::string, std::vector< MEData > > meData
const std::vector< MESet * > & getMEs()