CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1CaloGeometryDump.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1CaloGeometryDump
4 // Class: L1CaloGeometryDump
5 //
13 //
14 // Original Author: Werner Man-Li Sun
15 // Created: Mon Sep 28 22:17:24 CEST 2009
16 // $Id$
17 //
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&);
47 
48 
49  private:
50  virtual void beginJob() override ;
51  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
52  virtual void endJob() override ;
53 
54  // ----------member data ---------------------------
55 };
56 
57 //
58 // constants, enums and typedefs
59 //
60 
61 //
62 // static data member definitions
63 //
64 
65 //
66 // constructors and destructor
67 //
69 
70 {
71  //now do what ever initialization is needed
72 
73 }
74 
75 
77 {
78 
79  // do anything here that needs to be done at desctruction time
80  // (e.g. close files, deallocate resources etc.)
81 
82 }
83 
84 
85 //
86 // member functions
87 //
88 
89 // ------------ method called to for each event ------------
90 void
92 {
93  using namespace edm;
94 
96  iSetup.get< L1CaloGeometryRecord >().get( pGeom ) ;
97 
98  LogDebug( "L1CaloGeometryDump" ) << *pGeom << std::endl ;
99 }
100 
101 
102 // ------------ method called once each job just before starting event loop ------------
103 void
105 {
106 }
107 
108 // ------------ method called once each job just after ending the event loop ------------
109 void
111 }
112 
113 //define this as a plug-in
#define LogDebug(id)
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void endJob() override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:230
virtual void beginJob() override
const T & get() const
Definition: EventSetup.h:56
L1CaloGeometryDump(const edm::ParameterSet &)