CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PCaloGeometryBuilder.cc
Go to the documentation of this file.
5 
15 
16 class PCaloGeometryBuilder : public edm::one::EDAnalyzer<edm::one::WatchRuns>
17 {
18 public:
19 
21 
22  void beginRun(edm::Run const& iEvent, edm::EventSetup const&) override;
23  void analyze(edm::Event const& iEvent, edm::EventSetup const&) override {}
24  void endRun(edm::Run const& iEvent, edm::EventSetup const&) override {}
25 };
26 
27 void
29 {
30  const std::string toDB ( "_toDB" ) ;
31 
32  std::cout<<"Writing out "<<EcalBarrelGeometry::producerTag()<<std::endl ;
35  EcalBarrelGeometry::producerTag() + toDB, pGeb ) ;
36 
37  std::cout<<"Writing out "<<EcalEndcapGeometry::producerTag()<<std::endl ;
40  EcalEndcapGeometry::producerTag() + toDB, pGee ) ;
41 
42  std::cout<<"Writing out "<<EcalPreshowerGeometry::producerTag()<<std::endl ;
45  EcalPreshowerGeometry::producerTag() + toDB, pGes ) ;
46 
47  std::cout<<"Writing out "<<HcalGeometry::producerTag()<<std::endl ;
50  HcalGeometry::producerTag() + toDB, pGhcal ) ;
51 
52  std::cout<<"Writing out "<<CaloTowerGeometry::producerTag()<<std::endl ;
55  CaloTowerGeometry::producerTag() + toDB, pGct ) ;
56 
57  std::cout<<"Writing out "<<ZdcGeometry::producerTag()<<std::endl ;
60  ZdcGeometry::producerTag() + toDB, pGzdc ) ;
61 
62  std::cout<<"Writing out "<<CastorGeometry::producerTag()<<std::endl ;
65  CastorGeometry::producerTag() + toDB, pGcast ) ;
66 }
67 
static std::string producerTag()
Definition: ZdcGeometry.h:46
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
static std::string producerTag()
Definition: HcalGeometry.h:54
static std::string producerTag()
void beginRun(edm::Run const &iEvent, edm::EventSetup const &) override
static std::string producerTag()
void endRun(edm::Run const &iEvent, edm::EventSetup const &) override
static std::string producerTag()
int iEvent
Definition: GenABIO.cc:230
PCaloGeometryBuilder(const edm::ParameterSet &)
static std::string producerTag()
const T & get() const
Definition: EventSetup.h:56
static std::string producerTag()
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
tuple cout
Definition: gather_cfg.py:121
Definition: Run.h:43