#include <PCaloGeometryBuilder.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, edm::EventSetup const &) |
virtual void | endJob () |
PCaloGeometryBuilder (const edm::ParameterSet &) | |
~PCaloGeometryBuilder () |
Definition at line 10 of file PCaloGeometryBuilder.h.
PCaloGeometryBuilder::PCaloGeometryBuilder | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 17 of file PCaloGeometryBuilder.cc.
{ }
PCaloGeometryBuilder::~PCaloGeometryBuilder | ( | ) |
Definition at line 22 of file PCaloGeometryBuilder.cc.
{ }
virtual void PCaloGeometryBuilder::analyze | ( | const edm::Event & | , |
const edm::EventSetup & | |||
) | [inline, virtual] |
void PCaloGeometryBuilder::beginRun | ( | const edm::Run & | , |
edm::EventSetup const & | es | ||
) | [virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 27 of file PCaloGeometryBuilder.cc.
References gather_cfg::cout, edm::EventSetup::get(), EcalPreshowerGeometry::producerTag(), ZdcGeometry::producerTag(), CastorGeometry::producerTag(), CaloTowerGeometry::producerTag(), EcalBarrelGeometry::producerTag(), EcalEndcapGeometry::producerTag(), and HcalGeometry::producerTag().
{ const std::string toDB ( "_toDB" ) ; std::cout<<"Writing out "<<EcalBarrelGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGeb ; es.get<EcalBarrelGeometry::AlignedRecord>().get( EcalBarrelGeometry::producerTag() + toDB, pGeb ) ; std::cout<<"Writing out "<<EcalEndcapGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGee ; es.get<EcalEndcapGeometry::AlignedRecord>().get( EcalEndcapGeometry::producerTag() + toDB, pGee ) ; std::cout<<"Writing out "<<EcalPreshowerGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGes ; es.get<EcalPreshowerGeometry::AlignedRecord>().get( EcalPreshowerGeometry::producerTag() + toDB, pGes ) ; std::cout<<"Writing out "<<HcalGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGhcal ; es.get<HcalGeometry::AlignedRecord>().get( HcalGeometry::producerTag() + toDB, pGhcal ) ; std::cout<<"Writing out "<<CaloTowerGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGct ; es.get<CaloTowerGeometry::AlignedRecord>().get( CaloTowerGeometry::producerTag() + toDB, pGct ) ; std::cout<<"Writing out "<<ZdcGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGzdc ; es.get<ZdcGeometry::AlignedRecord>().get( ZdcGeometry::producerTag() + toDB, pGzdc ) ; std::cout<<"Writing out "<<CastorGeometry::producerTag()<<std::endl ; edm::ESHandle<CaloSubdetectorGeometry> pGcast ; es.get<CastorGeometry::AlignedRecord>().get( CastorGeometry::producerTag() + toDB, pGcast ) ; }
virtual void PCaloGeometryBuilder::endJob | ( | void | ) | [inline, virtual] |