#include <CalibTracker/SiPixelGainCalibration/src/SiPixelCalibDigiProducer.cc>
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) |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
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) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 56 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 70 of file SiPixelCalibDigiProducer.h.
|
explicit |
Definition at line 47 of file SiPixelCalibDigiProducer.cc.
References includeErrors_, src_, and tPixelDigi.
|
override |
Definition at line 66 of file SiPixelCalibDigiProducer.cc.
|
privatevirtual |
Definition at line 116 of file SiPixelCalibDigiProducer.cc.
References detid_to_fedid_, PixelSLinkDataInputSource_cfi::fedid, edm::ESHandle< T >::product(), and theCablingMap_.
Referenced by fillPixel().
|
privatevirtual |
Definition at line 305 of file SiPixelCalibDigiProducer.cc.
References cuy::col, control_pattern_size_, currentpair_, currentpattern_, sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, hgcalTestNeighbor_cfi::detector, detid_to_fedid_, error_data_, PixelSLinkDataInputSource_cfi::fedid, mps_fire::i, iEventCounter_, ignore_non_pattern_, includeErrors_, edm::ESHandle< T >::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 168 of file SiPixelCalibDigiProducer.cc.
References error_data_, intermediate_data_, and number_of_pixels_per_pattern_.
Referenced by produce(), and BeautifulSoup.Tag::setString().
|
privatevirtual |
Definition at line 92 of file SiPixelCalibDigiProducer.cc.
References edm::DetSetVector< T >::begin(), calib_, edm::DetSetVector< T >::end(), fillPixel(), iEvent, iEventCounter_, tPixelDigi, and SiPixelCalibConfiguration::vcalIndexForEvent().
Referenced by produce().
|
privatevirtual |
Definition at line 137 of file SiPixelCalibDigiProducer.cc.
References ecalLiteDTU::adc(), calib_, checkFED(), checkPixel(), cuy::col, intermediate_data_, plotBeamSpotDB::ipoint, SiPixelCalibConfiguration::nVCal(), and SiPixelCalibDigi::setrowcol().
Referenced by fill().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 249 of file SiPixelCalibDigiProducer.cc.
References calib_, checkPixel(), clear(), control_pattern_size_, edm::DetSet< T >::data, error_data_, fill(), edm::EventSetup::get(), get, SiPixelCalibConfiguration::getNTriggers(), iEvent, iEventCounter_, includeErrors_, intermediate_data_, eostools::move(), SiPixelCalibConfiguration::nVCal(), pattern_repeat_, setPattern(), store(), theCablingMap_, theGeometry_, and use_realeventnumber_.
|
privatevirtual |
Definition at line 195 of file SiPixelCalibDigiProducer.cc.
References calib_, currentpattern_, SiPixelCalibConfiguration::getColumnPattern(), SiPixelCalibConfiguration::getRowPattern(), iEventCounter_, SiPixelCalibConfiguration::nColumnPatterns(), topSingleLeptonDQM_PU_cfi::pattern, pattern_repeat_, and heppy_batch::val.
Referenced by checkPixel(), and produce().
|
privatevirtual |
Definition at line 78 of file SiPixelCalibDigiProducer.cc.
References calib_, SiPixelCalibConfiguration::expectedTotalEvents(), 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 100 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel().
|
private |
Definition at line 99 of file SiPixelCalibDigiProducer.h.
Referenced by checkPixel(), and setPattern().
|
private |
Definition at line 97 of file SiPixelCalibDigiProducer.h.
Referenced by checkFED(), and checkPixel().
|
private |
Definition at line 95 of file SiPixelCalibDigiProducer.h.
|
private |
Definition at line 93 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 92 of file SiPixelCalibDigiProducer.h.
Referenced by clear(), fillPixel(), and produce().
|
private |
Definition at line 81 of file SiPixelCalibDigiProducer.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 83 of file SiPixelCalibDigiProducer.h.
Referenced by clear().
|
private |
Definition at line 96 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().