#include <CalibTracker/SiPixelGainCalibration/src/SiPixelCalibDigiProducer.cc>
Public Member Functions | |
SiPixelCalibDigiProducer (const edm::ParameterSet &iConfig) | |
~SiPixelCalibDigiProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
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 |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef std::pair< uint32_t, std::pair< short, short > > | pixelstruct |
Private Member Functions | |
virtual bool | checkFED (uint32_t detid) |
virtual bool | checkPixel (uint32_t detid, short row, short col) |
virtual void | clear () |
virtual void | fill (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | fillPixel (uint32_t detid, short row, short col, short ipoint, short adc) |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
virtual void | setPattern () |
virtual bool | store () |
Private Attributes | |
edm::ESHandle < SiPixelCalibConfiguration > | calib_ |
edm::ParameterSet | conf_ |
bool | control_pattern_size_ |
std::pair< short, short > | currentpair_ |
std::vector< std::pair< short, short > > | currentpattern_ |
std::map< uint32_t, uint32_t > | detid_to_fedid_ |
std::vector< pixelstruct > | detPixelMap_ |
std::map< pixelstruct, SiPixelCalibDigiError > | error_data_ |
int | errorType |
uint32_t | iEventCounter_ |
bool | ignore_non_pattern_ |
bool | includeErrors_ |
std::string | instance_ |
std::map< pixelstruct, SiPixelCalibDigi > | intermediate_data_ |
std::string | label_ |
uint32_t | number_of_pixels_per_pattern_ |
uint32_t | pattern_repeat_ |
edm::InputTag | src_ |
edm::ESHandle < SiPixelFedCablingMap > | theCablingMap_ |
edm::ESHandle< TrackerGeometry > | theGeometry_ |
edm::EDGetTokenT < edm::DetSetVector< PixelDigi > > | tPixelDigi |
bool | use_realeventnumber_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 55 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 70 of file SiPixelCalibDigiProducer.h.
|
explicit |
Definition at line 54 of file SiPixelCalibDigiProducer.cc.
References includeErrors_, src_, and tPixelDigi.
SiPixelCalibDigiProducer::~SiPixelCalibDigiProducer | ( | ) |
Definition at line 75 of file SiPixelCalibDigiProducer.cc.
|
privatevirtual |
Definition at line 134 of file SiPixelCalibDigiProducer.cc.
References cond::rpcobgas::detid, detid_to_fedid_, edm::ESHandle< class >::product(), and theCablingMap_.
Referenced by fillPixel().
|
privatevirtual |
Definition at line 325 of file SiPixelCalibDigiProducer.cc.
References cuy::col, control_pattern_size_, currentpair_, currentpattern_, sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, cond::rpcobgas::detid, detid_to_fedid_, error_data_, i, iEventCounter_, ignore_non_pattern_, includeErrors_, edm::ESHandle< class >::product(), sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), setPattern(), store(), and theCablingMap_.
Referenced by fillPixel(), and produce().
|
privatevirtual |
Definition at line 187 of file SiPixelCalibDigiProducer.cc.
References error_data_, intermediate_data_, and number_of_pixels_per_pattern_.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), produce(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
privatevirtual |
Definition at line 109 of file SiPixelCalibDigiProducer.cc.
References edm::DetSetVector< T >::begin(), calib_, cond::rpcobgas::detid, edm::DetSetVector< T >::end(), fillPixel(), edm::Event::getByToken(), iEventCounter_, and tPixelDigi.
Referenced by produce().
|
privatevirtual |
Definition at line 154 of file SiPixelCalibDigiProducer.cc.
References calib_, checkFED(), checkPixel(), cuy::col, cond::rpcobgas::detid, intermediate_data_, and SiPixelCalibDigi::setrowcol().
Referenced by fill().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 271 of file SiPixelCalibDigiProducer.cc.
References calib_, checkPixel(), clear(), control_pattern_size_, edm::DetSet< T >::data, cond::rpcobgas::detid, error_data_, edm::EventID::event(), fill(), edm::EventSetup::get(), edm::EventBase::id(), iEventCounter_, includeErrors_, intermediate_data_, pattern_repeat_, edm::Event::put(), setPattern(), store(), theCablingMap_, theGeometry_, and use_realeventnumber_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
privatevirtual |
Definition at line 214 of file SiPixelCalibDigiProducer.cc.
References funct::abs(), calib_, currentpattern_, iEventCounter_, chain::pattern, and pattern_repeat_.
Referenced by checkPixel(), and produce().
|
privatevirtual |
Definition at line 92 of file SiPixelCalibDigiProducer.cc.
References calib_, iEventCounter_, and pattern_repeat_.
Referenced by checkPixel(), and produce().
|
private |
Definition at line 86 of file SiPixelCalibDigiProducer.h.
Referenced by fill(), fillPixel(), produce(), setPattern(), and store().
|
private |
Definition at line 80 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 77 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel(), and produce().
|
private |
Definition at line 99 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel().
|
private |
Definition at line 98 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel(), and setPattern().
|
private |
Definition at line 96 of file SiPixelCalibDigiProducer.h.
Referenced by checkFED(), and checkPixel().
|
private |
Definition at line 94 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 92 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel(), clear(), and produce().
|
private |
Definition at line 79 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 74 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel(), fill(), produce(), setPattern(), and store().
|
private |
Definition at line 76 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel().
|
private |
Definition at line 78 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel(), produce(), and SiPixelCalibDigiProducer().
|
private |
Definition at line 82 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 91 of file SiPixelCalibDigiProducer.h.
Referenced by clear(), fillPixel(), and produce().
|
private |
Definition at line 81 of file SiPixelCalibDigiProducer.h.
Referenced by Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 83 of file SiPixelCalibDigiProducer.h.
Referenced by clear().
|
private |
Definition at line 95 of file SiPixelCalibDigiProducer.h.
Referenced by produce(), setPattern(), and store().
|
private |
Definition at line 72 of file SiPixelCalibDigiProducer.h.
Referenced by SiPixelCalibDigiProducer().
|
private |
Definition at line 88 of file SiPixelCalibDigiProducer.h.
Referenced by checkFED(), checkPixel(), and produce().
|
private |
Definition at line 87 of file SiPixelCalibDigiProducer.h.
Referenced by produce().
|
private |
Definition at line 73 of file SiPixelCalibDigiProducer.h.
Referenced by fill(), and SiPixelCalibDigiProducer().
|
private |
Definition at line 84 of file SiPixelCalibDigiProducer.h.
Referenced by produce().