#include <CastorDigiProducer.h>
Public Member Functions | |
CastorDigiProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~CastorDigiProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
typedef CaloTDigitizer < CastorDigitizerTraits > | CastorDigitizer |
Private Member Functions | |
void | checkGeometry (const edm::EventSetup &eventSetup) |
void | fillFakeHits () |
some hits in each subdetector, just for testing purposes More... | |
void | sortHits (const edm::PCaloHitContainer &hits) |
fills the vectors for each subdetector More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 21 of file CastorDigiProducer.h.
|
private |
Reconstruction algorithm
Definition at line 41 of file CastorDigiProducer.h.
|
explicit |
Definition at line 22 of file CastorDigiProducer.cc.
References CastorCoderFactory::DB, edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), CaloHitResponse::setHitCorrection(), CaloHitResponse::setHitFilter(), CastorElectronicsSim::setRandomEngine(), theAmplifier, theCastorDigitizer, theCastorHitFilter, theCastorResponse, theCoderFactory, theElectronicsSim, theHitCorrection, and theParameterMap.
|
virtual |
Definition at line 66 of file CastorDigiProducer.cc.
References theAmplifier, theCastorDigitizer, theCastorIntegratedShape, theCastorResponse, theCastorShape, theCoderFactory, theElectronicsSim, theHitCorrection, and theParameterMap.
|
private |
make sure the digitizer has the correct list of all cells that exist in the geometry
Definition at line 143 of file CastorDigiProducer.cc.
References DetId::Calo, geometry, edm::EventSetup::get(), CaloTDigitizer< Traits >::setDetIds(), CaloHitResponse::setGeometry(), HcalCastorDetId::SubdetectorId, theCastorDigitizer, and theCastorResponse.
Referenced by produce().
|
private |
some hits in each subdetector, just for testing purposes
Definition at line 135 of file CastorDigiProducer.cc.
References DetId::rawId(), and theCastorHits.
|
virtual |
Produces the EDM products,
Implements edm::EDProducer.
Definition at line 79 of file CastorDigiProducer.cc.
References checkGeometry(), CastorHitCorrection::fillChargeSums(), edm::EventSetup::get(), edm::Event::getByLabel(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), CaloTDigitizer< Traits >::run(), CastorCoderFactory::setDbService(), CastorAmplifier::setDbService(), CastorSimParameterMap::setDbService(), theAmplifier, theCastorDigitizer, theCastorHits, theCoderFactory, theHitCorrection, and theParameterMap.
|
private |
fills the vectors for each subdetector
Definition at line 122 of file CastorDigiProducer.cc.
References DetId::Calo, DetId::det(), HcalCastorDetId::SubdetectorId, DetId::subdetId(), and theCastorHits.
|
private |
Definition at line 49 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), produce(), and ~CastorDigiProducer().
|
private |
Definition at line 57 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), checkGeometry(), produce(), and ~CastorDigiProducer().
|
private |
Definition at line 53 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer().
|
private |
Definition at line 59 of file CastorDigiProducer.h.
Referenced by fillFakeHits(), produce(), and sortHits().
|
private |
Definition at line 45 of file CastorDigiProducer.h.
Referenced by ~CastorDigiProducer().
|
private |
Definition at line 47 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), checkGeometry(), and ~CastorDigiProducer().
|
private |
Definition at line 44 of file CastorDigiProducer.h.
Referenced by ~CastorDigiProducer().
|
private |
Definition at line 50 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), produce(), and ~CastorDigiProducer().
|
private |
Definition at line 51 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), and ~CastorDigiProducer().
|
private |
Definition at line 55 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), produce(), and ~CastorDigiProducer().
|
private |
Definition at line 43 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), produce(), and ~CastorDigiProducer().