CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 &)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
void analyze(const edm::Event &, const edm::EventSetup &) override
bool getData(T &iHolder) const
Definition: EventSetup.h:128
edm::ESWatcher< SiPixelTemplateDBObjectRcd > SiPixelTemplateDBObjectWatcher_
int iEvent
Definition: GenABIO.cc:224
Log< level::Warning, true > LogPrint
edm::ESGetToken< SiPixelTemplateDBObject, SiPixelTemplateDBObjectRcd > the1DTemplateToken_
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283