CMS 3D CMS Logo

CastorPedestalWidthsPopConAnalyzer.cc
Go to the documentation of this file.
4 
5 //typedef popcon::PopConAnalyzer<CastorPedestalWidthsHandler> CastorPedestalWidthsPopConAnalyzer;
6 
7 class CastorPedestalWidthsPopConAnalyzer : public popcon::PopConAnalyzer<CastorPedestalWidthsHandler> {
8 public:
10 
14  m_source(pset.getParameter<edm::ParameterSet>("Source")),
16 
17 private:
18  void endJob() override {
20  write();
21  }
22 
23  void analyze(const edm::Event& ev, const edm::EventSetup& esetup) override {
24  //Using ES to get the data:
25 
27  }
28 
30 
31 private:
35 
37 };
38 
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
void write(Source const &source)
Definition: PopCon.h:75
CastorPedestalWidthsPopConAnalyzer(const edm::ParameterSet &pset)
void initObject(CastorPedestalWidths *)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ESGetToken< CastorPedestalWidths, CastorPedestalWidthsRcd > m_tok
void analyze(const edm::Event &ev, const edm::EventSetup &esetup) override
HLT enums.