CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
PCaloGeometryBuilder Class Reference

#include <PCaloGeometryBuilder.h>

Inheritance diagram for PCaloGeometryBuilder:
edm::EDAnalyzer

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 ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

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.

18 {
19 }
PCaloGeometryBuilder::~PCaloGeometryBuilder ( )

Definition at line 22 of file PCaloGeometryBuilder.cc.

23 {
24 }

Member Function Documentation

virtual void PCaloGeometryBuilder::analyze ( const edm::Event ,
const edm::EventSetup  
)
inlinevirtual

Implements edm::EDAnalyzer.

Definition at line 19 of file PCaloGeometryBuilder.h.

19 {}
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(), CaloTowerGeometry::producerTag(), ZdcGeometry::producerTag(), CastorGeometry::producerTag(), HcalGeometry::producerTag(), EcalPreshowerGeometry::producerTag(), EcalEndcapGeometry::producerTag(), and EcalBarrelGeometry::producerTag().

28 {
29  const std::string toDB ( "_toDB" ) ;
30 
31  std::cout<<"Writing out "<<EcalBarrelGeometry::producerTag()<<std::endl ;
34  EcalBarrelGeometry::producerTag() + toDB, pGeb ) ;
35 
36  std::cout<<"Writing out "<<EcalEndcapGeometry::producerTag()<<std::endl ;
39  EcalEndcapGeometry::producerTag() + toDB, pGee ) ;
40 
41  std::cout<<"Writing out "<<EcalPreshowerGeometry::producerTag()<<std::endl ;
44  EcalPreshowerGeometry::producerTag() + toDB, pGes ) ;
45 
46  std::cout<<"Writing out "<<HcalGeometry::producerTag()<<std::endl ;
48  es.get<HcalGeometry::AlignedRecord>().get(
49  HcalGeometry::producerTag() + toDB, pGhcal ) ;
50 
51  std::cout<<"Writing out "<<CaloTowerGeometry::producerTag()<<std::endl ;
54  CaloTowerGeometry::producerTag() + toDB, pGct ) ;
55 
56  std::cout<<"Writing out "<<ZdcGeometry::producerTag()<<std::endl ;
58  es.get<ZdcGeometry::AlignedRecord>().get(
59  ZdcGeometry::producerTag() + toDB, pGzdc ) ;
60 
61  std::cout<<"Writing out "<<CastorGeometry::producerTag()<<std::endl ;
63  es.get<CastorGeometry::AlignedRecord>().get(
64  CastorGeometry::producerTag() + toDB, pGcast ) ;
65 }
static std::string producerTag()
Definition: ZdcGeometry.h:42
static std::string producerTag()
Definition: HcalGeometry.h:48
static std::string producerTag()
static std::string producerTag()
static std::string producerTag()
static std::string producerTag()
static std::string producerTag()
tuple cout
Definition: gather_cfg.py:41
virtual void PCaloGeometryBuilder::endJob ( void  )
inlinevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 20 of file PCaloGeometryBuilder.h.

20 {};