CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Static Private Attributes

ecaldqm::SetWorker Class Reference

#include <DQWorker.h>

List of all members.

Public Member Functions

template<class W >
 SetWorker (const std::string &_name, W *)

Static Public Member Functions

static WorkerFactory findFactory (const std::string &)

Static Private Attributes

static std::map< std::string,
WorkerFactory
workerFactories_

Detailed Description

Definition at line 76 of file DQWorker.h.


Constructor & Destructor Documentation

template<class W >
ecaldqm::SetWorker::SetWorker ( const std::string &  _name,
W *   
) [inline]

Definition at line 78 of file DQWorker.h.

References AlCaHLTBitMon_QueryRunRegistry::data, ecaldqm::DQWorker::meData, and workerFactories_.

                                                            {
      workerFactories_[_name] = workerFactory<W>;

      std::vector<MEData>& data(DQWorker::meData[_name]);
      data.clear();
      data.resize(W::nMESets);
      W::setMEData(data);
    }

Member Function Documentation

WorkerFactory ecaldqm::SetWorker::findFactory ( const std::string &  _name) [static]

Definition at line 131 of file DQWorker.cc.

References NULL.

  {
    if(workerFactories_.find(_name) != workerFactories_.end()) return workerFactories_[_name];
    return NULL;
  }

Member Data Documentation

std::map< std::string, WorkerFactory > ecaldqm::SetWorker::workerFactories_ [static, private]

Definition at line 88 of file DQWorker.h.

Referenced by SetWorker().