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 edm::EDConsumerBase

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
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

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

28 {
29  const std::string toDB ( "_toDB" ) ;
30 
31  std::cout<<"Writing out "<<EcalBarrelGeometry::producerTag()<<std::endl ;
33  es.get<EcalBarrelGeometry::AlignedRecord>().get(
34  EcalBarrelGeometry::producerTag() + toDB, pGeb ) ;
35 
36  std::cout<<"Writing out "<<EcalEndcapGeometry::producerTag()<<std::endl ;
38  es.get<EcalEndcapGeometry::AlignedRecord>().get(
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:46
static std::string producerTag()
Definition: HcalGeometry.h:52
static std::string producerTag()
static std::string producerTag()
static std::string producerTag()
tuple cout
Definition: gather_cfg.py:121
virtual void PCaloGeometryBuilder::endJob ( void  )
inlinevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 20 of file PCaloGeometryBuilder.h.

20 {};