CMS 3D CMS Logo

SiPixelFakeTemplateDBSourceReader.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  : the1DTemplateToken_(esConsumes()) {}
35 
37 
39 
42  edm::LogPrint("SiPixelFakeTemplateDBSourceReader") << *&iSetup.getData(the1DTemplateToken_) << std::endl;
43  }
44 }
45 
47 
SiPixelFakeTemplateDBSourceReader(const edm::ParameterSet &)
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::ESWatcher< SiPixelTemplateDBObjectRcd > SiPixelTemplateDBObjectWatcher_
int iEvent
Definition: GenABIO.cc:224
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
bool getData(T &iHolder) const
Definition: EventSetup.h:122
Log< level::Warning, true > LogPrint
edm::ESGetToken< SiPixelTemplateDBObject, SiPixelTemplateDBObjectRcd > the1DTemplateToken_
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57