#include <EcalTBDigiProducer.h>
Public Member Functions | |
EcalTBDigiProducer (const edm::ParameterSet ¶ms) | |
virtual void | produce (edm::Event &event, const edm::EventSetup &eventSetup) |
virtual | ~EcalTBDigiProducer () |
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 EcalTDigitizer < EBDigitizerTraits > | EBDigitizer |
typedef EcalTDigitizer < EEDigitizerTraits > | EEDigitizer |
Private Member Functions | |
void | checkCalibrations (const edm::EventSetup &eventSetup) |
void | fillTBTDCRawInfo (EcalTBTDCRawInfo &theTBTDCRawInfo) |
void | setPhaseShift (const DetId &detId) |
Private Attributes | |
bool | doPhaseShift |
bool | doReadout |
std::string | EBdigiCollection_ |
double | EBs25notCont |
std::string | ecalTBInfoLabel |
std::string | EEdigiCollection_ |
double | EEs25notCont |
std::string | m_barrelHitsName |
std::string | m_endcapHitsName |
std::vector < EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > | tdcRanges |
EBDigitizer * | theBarrelDigitizer |
EcalCoder * | theCoder |
CorrelatedNoisifier < EcalCorrMatrix > * | theCorrNoise |
CaloHitRespoNew * | theEBResponse |
const EBShape | theEBShape |
CaloHitRespoNew * | theEEResponse |
const EEShape | theEEShape |
EcalElectronicsSim * | theElectronicsSim |
EEDigitizer * | theEndcapDigitizer |
EcalCorrMatrix * | theNoiseMatrix |
const EcalSimParameterMap * | theParameterMap |
EcalTBReadout * | theTBReadout |
const EcalTrigTowerConstituentsMap * | theTTmap |
double | thisPhaseShift |
double | tunePhaseShift |
bool | use2004OffsetConvention_ |
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 37 of file EcalTBDigiProducer.h.
|
private |
Reconstruction algorithm
Definition at line 63 of file EcalTBDigiProducer.h.
|
private |
Definition at line 64 of file EcalTBDigiProducer.h.
|
explicit |
output collections names
Test Beam specific part
Definition at line 24 of file EcalTBDigiProducer.cc.
References ecalTPGAnalyzer_cfg::binOfMaximum, doPhaseShift, doReadout, EBdigiCollection_, EBs25notCont, ecalTBInfoLabel, EEdigiCollection_, EEs25notCont, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), getHLTprescales::index, m_barrelHitsName, m_endcapHitsName, runregparse::ranges, EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::runRanges, EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMax, EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMin, tdcRanges, theBarrelDigitizer, theCoder, theCorrNoise, theEBResponse, theEBShape, theEEResponse, theEEShape, theElectronicsSim, theEndcapDigitizer, theNoiseMatrix, theParameterMap, theTBReadout, thisPhaseShift, tunePhaseShift, and use2004OffsetConvention_.
|
virtual |
Definition at line 134 of file EcalTBDigiProducer.cc.
References theBarrelDigitizer, theCoder, theCorrNoise, theEBResponse, theEEResponse, theElectronicsSim, theEndcapDigitizer, theNoiseMatrix, and theParameterMap.
|
private |
Definition at line 268 of file EcalTBDigiProducer.cc.
References EBs25notCont, EEs25notCont, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), LogDebug, EcalCoder::MAXADC, EcalCoder::NGAINS, edm::ESHandle< class >::product(), EcalCoder::setFullScaleEnergy(), EcalCoder::setGainRatios(), EcalCoder::setIntercalibConstants(), EcalCoder::setPedestals(), and theCoder.
Referenced by produce().
|
private |
Definition at line 377 of file EcalTBDigiProducer.cc.
References LogDebug, EcalTBTDCRawInfo::setSample(), Ecal2004TBTDCRanges_cff::tdcMax, Ecal2004TBTDCRanges_cff::tdcMin, tdcRanges, and thisPhaseShift.
Referenced by produce().
|
virtual |
Produces the EDM products,
Implements edm::EDProducer.
Definition at line 147 of file EcalTBDigiProducer.cc.
References checkCalibrations(), gather_cfg::cout, doPhaseShift, doReadout, ExpressReco_HICollisions_FallBack::EBDigiCollection, EBdigiCollection_, DetId::Ecal, EcalBarrel, EcalEndcap, ecalTBInfoLabel, ExpressReco_HICollisions_FallBack::EcalTBTDCRawInfo, ExpressReco_HICollisions_FallBack::EEDigiCollection, EEdigiCollection_, fillTBTDCRawInfo(), edm::EventSetup::get(), edm::HandleBase::isValid(), m_barrelHitsName, m_endcapHitsName, EcalTBReadout::performReadout(), edm::Handle< T >::product(), EcalTDigitizer< Traits >::run(), EcalTBReadout::setDetIds(), CaloHitRespoNew::setGeometry(), setPhaseShift(), MixCollection< T >::size(), theBarrelDigitizer, theEBResponse, theEEResponse, theEndcapDigitizer, theTBReadout, theTTmap, and thisPhaseShift.
|
private |
Definition at line 357 of file EcalTBDigiProducer.cc.
References LogDebug, ExpressReco_HICollisions_FallBack::parameters, CaloHitRespoNew::setPhaseShift(), EcalSimParameterMap::simParameters(), DetId::subdetId(), CaloSimParameters::syncPhase(), theEBResponse, theEEResponse, theParameterMap, thisPhaseShift, tunePhaseShift, and use2004OffsetConvention_.
Referenced by produce().
|
private |
Definition at line 109 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 112 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 89 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 95 of file EcalTBDigiProducer.h.
Referenced by checkCalibrations(), and EcalTBDigiProducer().
|
private |
Definition at line 107 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 90 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 96 of file EcalTBDigiProducer.h.
Referenced by checkCalibrations(), and EcalTBDigiProducer().
|
private |
Definition at line 100 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 101 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 114 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and fillTBTDCRawInfo().
|
private |
Definition at line 67 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), produce(), and ~EcalTBDigiProducer().
|
private |
Definition at line 87 of file EcalTBDigiProducer.h.
Referenced by checkCalibrations(), EcalTBDigiProducer(), and ~EcalTBDigiProducer().
|
private |
Definition at line 81 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and ~EcalTBDigiProducer().
|
private |
Definition at line 77 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), produce(), setPhaseShift(), and ~EcalTBDigiProducer().
|
private |
Definition at line 73 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer().
|
private |
Definition at line 78 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), produce(), setPhaseShift(), and ~EcalTBDigiProducer().
|
private |
Definition at line 74 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer().
|
private |
Definition at line 84 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and ~EcalTBDigiProducer().
|
private |
Definition at line 68 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), produce(), and ~EcalTBDigiProducer().
|
private |
Definition at line 82 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and ~EcalTBDigiProducer().
|
private |
Definition at line 72 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), setPhaseShift(), and ~EcalTBDigiProducer().
|
private |
Definition at line 105 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and produce().
|
private |
Definition at line 103 of file EcalTBDigiProducer.h.
Referenced by produce().
|
private |
Definition at line 110 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), fillTBTDCRawInfo(), produce(), and setPhaseShift().
|
private |
Definition at line 117 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and setPhaseShift().
|
private |
Definition at line 115 of file EcalTBDigiProducer.h.
Referenced by EcalTBDigiProducer(), and setPhaseShift().