CMS 3D CMS Logo

Public Member Functions

PCaloGeometryBuilder Class Reference

#include <PCaloGeometryBuilder.h>

Inheritance diagram for PCaloGeometryBuilder:
edm::EDAnalyzer edm::EDConsumerBase

List of all members.

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 ()

Detailed Description

Definition at line 10 of file PCaloGeometryBuilder.h.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

virtual void PCaloGeometryBuilder::analyze ( const edm::Event ,
const edm::EventSetup  
) [inline, virtual]

Implements edm::EDAnalyzer.

Definition at line 19 of file PCaloGeometryBuilder.h.

{}
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(), HcalGeometry::producerTag(), and AlCaHLTBitMon_QueryRunRegistry::string.

{
   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]

Reimplemented from edm::EDAnalyzer.

Definition at line 20 of file PCaloGeometryBuilder.h.

{};