CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

RingMakerESProducer Class Reference

#include <RingMakerESProducer.h>

Inheritance diagram for RingMakerESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef std::auto_ptr< RingsReturnType

Public Member Functions

ReturnType produce (const RingRecord &)
 RingMakerESProducer (const edm::ParameterSet &)
 ~RingMakerESProducer ()

Private Attributes

std::string configuration_
std::string detIdsDumpFileName_
bool dumpDetIds_
std::string fileName_
Ringsrings_
bool writeOut_

Detailed Description

Definition at line 33 of file RingMakerESProducer.h.


Member Typedef Documentation

typedef std::auto_ptr<Rings> RingMakerESProducer::ReturnType

Definition at line 40 of file RingMakerESProducer.h.


Constructor & Destructor Documentation

RingMakerESProducer::RingMakerESProducer ( const edm::ParameterSet iConfig)

Definition at line 24 of file RingMakerESProducer.cc.

References configuration_, detIdsDumpFileName_, dumpDetIds_, fileName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), rings_, edm::ESProducer::setWhatProduced(), and writeOut_.

{
  std::string componentName = iConfig.getParameter<std::string>("ComponentName");
  setWhatProduced(this, componentName);

  writeOut_                  = iConfig.getUntrackedParameter<bool>("WriteOutRingsToAsciiFile",false);
  fileName_                  = iConfig.getUntrackedParameter<std::string>("RingAsciiFileName","");
  dumpDetIds_                = iConfig.getUntrackedParameter<bool>("DumpDetIds",false);
  detIdsDumpFileName_        = iConfig.getUntrackedParameter<std::string>("DetIdsDumpFileName","");
  configuration_             = iConfig.getUntrackedParameter<std::string>("Configuration","FULL");
  
  rings_ = 0;

}
RingMakerESProducer::~RingMakerESProducer ( )

Definition at line 40 of file RingMakerESProducer.cc.

{
//   if ( rings_ != 0) {
//     delete rings_;
//   }
  
}

Member Function Documentation

RingMakerESProducer::ReturnType RingMakerESProducer::produce ( const RingRecord iRecord)

Member Data Documentation

std::string RingMakerESProducer::configuration_ [private]

Definition at line 50 of file RingMakerESProducer.h.

Referenced by produce(), and RingMakerESProducer().

Definition at line 49 of file RingMakerESProducer.h.

Referenced by produce(), and RingMakerESProducer().

Definition at line 48 of file RingMakerESProducer.h.

Referenced by produce(), and RingMakerESProducer().

std::string RingMakerESProducer::fileName_ [private]

Definition at line 47 of file RingMakerESProducer.h.

Referenced by produce(), and RingMakerESProducer().

Definition at line 51 of file RingMakerESProducer.h.

Referenced by produce(), and RingMakerESProducer().

Definition at line 46 of file RingMakerESProducer.h.

Referenced by produce(), and RingMakerESProducer().