CMS 3D CMS Logo

L1CaloGeometryDump.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1CaloGeometryDump
4 // Class: L1CaloGeometryDump
5 //
14 //
15 // Original Author: Werner Man-Li Sun
16 // Created: Mon Sep 28 22:17:24 CEST 2009
17 // $Id$
18 //
19 //
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
27 
30 
33 
35 
38 
39 //
40 // class decleration
41 //
42 
44 public:
45  explicit L1CaloGeometryDump(const edm::ParameterSet &);
46 
47 private:
48  void analyze(edm::StreamID, const edm::Event &, const edm::EventSetup &) const override;
49 
50  // ----------member data ---------------------------
52 };
53 
54 //
55 // constants, enums and typedefs
56 //
57 
58 //
59 // static data member definitions
60 //
61 
62 //
63 // constructors and destructor
64 //
66  // now do what ever initialization is needed
67 }
68 
69 //
70 // member functions
71 //
72 
73 // ------------ method called to for each event ------------
75  LogDebug("L1CaloGeometryDump") << iSetup.getData(geomToken_) << std::endl;
76 }
77 
78 // define this as a plug-in
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
void analyze(edm::StreamID, const edm::Event &, const edm::EventSetup &) const override
int iEvent
Definition: GenABIO.cc:224
const edm::ESGetToken< L1CaloGeometry, L1CaloGeometryRecord > geomToken_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
bool getData(T &iHolder) const
Definition: EventSetup.h:122
L1CaloGeometryDump(const edm::ParameterSet &)
#define LogDebug(id)