#include <HcalTBDigiProducer.h>
Public Member Functions | |
HcalTBDigiProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~HcalTBDigiProducer () |
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 < HBHEDigitizerTraits > | HBHEDigitizer |
typedef CaloTDigitizer < HODigitizerTraits > | HODigitizer |
Private Member Functions | |
void | checkGeometry (const edm::EventSetup &eventSetup) |
void | setPhaseShift (const DetId &detId) |
void | sortHits (const edm::PCaloHitContainer &hits) |
fills the vectors for each subdetector More... | |
void | updateGeometry () |
Private Attributes | |
bool | doPhaseShift |
std::string | ecalTBInfoLabel |
std::vector< DetId > | hbheCells |
std::vector< DetId > | hoCells |
HcalAmplifier * | theAmplifier |
HcalCoderFactory * | theCoderFactory |
HcalElectronicsSim * | theElectronicsSim |
const CaloGeometry * | theGeometry |
HBHEDigitizer * | theHBHEDigitizer |
HBHEHitFilter | theHBHEHitFilter |
std::vector< PCaloHit > | theHBHEHits |
CaloHitResponse * | theHBHEResponse |
CaloVShape * | theHcalIntegratedShape |
CaloVShape * | theHcalShape |
HcalHitCorrection * | theHitCorrection |
HODigitizer * | theHODigitizer |
HOHitFilter | theHOHitFilter |
std::vector< PCaloHit > | theHOHits |
CaloHitResponse * | theHOResponse |
HcalTBSimParameterMap * | theParameterMap |
double | thisPhaseShift |
double | tunePhaseShift |
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 24 of file HcalTBDigiProducer.h.
|
private |
Reconstruction algorithm
Definition at line 48 of file HcalTBDigiProducer.h.
|
private |
Definition at line 49 of file HcalTBDigiProducer.h.
|
explicit |
Definition at line 19 of file HcalTBDigiProducer.cc.
References HcalCoderFactory::DB, doPhaseShift, ecalTBInfoLabel, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), DetId::Hcal, CaloHitResponse::setHitCorrection(), CaloHitResponse::setHitFilter(), HcalTBSimParameterMap::simParameters(), theAmplifier, theCoderFactory, theElectronicsSim, theHBHEDigitizer, theHBHEHitFilter, theHBHEResponse, theHitCorrection, theHODigitizer, theHOHitFilter, theHOResponse, theParameterMap, and tunePhaseShift.
|
virtual |
Definition at line 64 of file HcalTBDigiProducer.cc.
References theAmplifier, theCoderFactory, theElectronicsSim, theHBHEDigitizer, theHBHEResponse, theHcalIntegratedShape, theHcalShape, theHitCorrection, theHODigitizer, theHOResponse, and theParameterMap.
|
private |
make sure the digitizer has the correct list of all cells that exist in the geometry
Definition at line 154 of file HcalTBDigiProducer.cc.
References geometry, edm::EventSetup::get(), theGeometry, and updateGeometry().
Referenced by produce().
|
virtual |
Produces the EDM products,
Implements edm::EDProducer.
Definition at line 80 of file HcalTBDigiProducer.cc.
References checkGeometry(), doPhaseShift, ecalTBInfoLabel, HcalHitCorrection::fillChargeSums(), edm::EventSetup::get(), edm::Event::getByLabel(), DetId::Hcal, LogDebug, edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), CaloTDigitizer< Traits >::run(), HcalCoderFactory::setDbService(), HcalAmplifier::setDbService(), setPhaseShift(), theAmplifier, theCoderFactory, theHBHEDigitizer, theHBHEHits, theHitCorrection, theHODigitizer, theHOHits, and thisPhaseShift.
|
private |
Definition at line 195 of file HcalTBDigiProducer.cc.
References ExpressReco_HICollisions_FallBack::parameters, CaloHitResponse::setPhaseShift(), HcalTBSimParameterMap::simParameters(), DetId::subdetId(), CaloSimParameters::syncPhase(), theHBHEResponse, theHOResponse, theParameterMap, thisPhaseShift, and tunePhaseShift.
Referenced by produce().
|
private |
fills the vectors for each subdetector
Definition at line 139 of file HcalTBDigiProducer.cc.
References HcalBarrel, HcalEndcap, HcalOuter, theHBHEHits, and theHOHits.
|
private |
Definition at line 169 of file HcalTBDigiProducer.cc.
References CaloGeometry::getValidDetIds(), hbheCells, DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, hoCells, LogDebug, CaloTDigitizer< Traits >::setDetIds(), CaloHitResponse::setGeometry(), theGeometry, theHBHEDigitizer, theHBHEResponse, theHODigitizer, and theHOResponse.
Referenced by checkGeometry().
|
private |
Definition at line 79 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and produce().
|
private |
Definition at line 76 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and produce().
|
private |
Definition at line 71 of file HcalTBDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 72 of file HcalTBDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 58 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), produce(), and ~HcalTBDigiProducer().
|
private |
Definition at line 59 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), produce(), and ~HcalTBDigiProducer().
|
private |
Definition at line 60 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and ~HcalTBDigiProducer().
|
private |
Definition at line 70 of file HcalTBDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 67 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), produce(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 62 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 74 of file HcalTBDigiProducer.h.
Referenced by produce(), and sortHits().
|
private |
Definition at line 55 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), setPhaseShift(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 53 of file HcalTBDigiProducer.h.
Referenced by ~HcalTBDigiProducer().
|
private |
Definition at line 52 of file HcalTBDigiProducer.h.
Referenced by ~HcalTBDigiProducer().
|
private |
Definition at line 65 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), produce(), and ~HcalTBDigiProducer().
|
private |
Definition at line 68 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), produce(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 63 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 74 of file HcalTBDigiProducer.h.
Referenced by produce(), and sortHits().
|
private |
Definition at line 56 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), setPhaseShift(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 51 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), setPhaseShift(), and ~HcalTBDigiProducer().
|
private |
Definition at line 77 of file HcalTBDigiProducer.h.
Referenced by produce(), and setPhaseShift().
|
private |
Definition at line 80 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and setPhaseShift().