CMS 3D CMS Logo

SiPixelFakeGenErrorDBSourceReader.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <memory>
3 
6 
9 
13 
16 
18 
20 public:
23 
24 private:
25  void beginJob() override;
26  void analyze(const edm::Event&, const edm::EventSetup&) override;
27  void endJob() override;
28 
31 };
32 
34  : genErrToken_(esConsumes()) {}
35 
37 
39 
42  edm::LogPrint("SiPixelFakeGenErrorDBSourceReader") << *&iSetup.getData(genErrToken_) << std::endl;
43  }
44 }
45 
47 
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
SiPixelFakeGenErrorDBSourceReader(const edm::ParameterSet &)
int iEvent
Definition: GenABIO.cc:224
edm::ESGetToken< SiPixelGenErrorDBObject, SiPixelGenErrorDBObjectRcd > genErrToken_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
bool getData(T &iHolder) const
Definition: EventSetup.h:122
Log< level::Warning, true > LogPrint
edm::ESWatcher< SiPixelGenErrorDBObjectRcd > SiPixelGenErrorDBObjectWatcher_
void analyze(const edm::Event &, const edm::EventSetup &) override
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57