CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
SiPixelFakeGenErrorDBSourceReader(const edm::ParameterSet &)
bool getData(T &iHolder) const
Definition: EventSetup.h:128
int iEvent
Definition: GenABIO.cc:224
edm::ESGetToken< SiPixelGenErrorDBObject, SiPixelGenErrorDBObjectRcd > genErrToken_
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
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283