CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
SiPixelCalibDigiProducer Class Reference

#include <CalibTracker/SiPixelGainCalibration/src/SiPixelCalibDigiProducer.cc>

Inheritance diagram for SiPixelCalibDigiProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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< ConsumesInfoconsumesInfo () 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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< pixelstructdetPixelMap_
 
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< TrackerGeometrytheGeometry_
 
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)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 55 of file SiPixelCalibDigiProducer.h.

Member Typedef Documentation

typedef std::pair<uint32_t,std::pair<short,short> > SiPixelCalibDigiProducer::pixelstruct
private

Definition at line 70 of file SiPixelCalibDigiProducer.h.

Constructor & Destructor Documentation

SiPixelCalibDigiProducer::SiPixelCalibDigiProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 54 of file SiPixelCalibDigiProducer.cc.

SiPixelCalibDigiProducer::~SiPixelCalibDigiProducer ( )

Definition at line 75 of file SiPixelCalibDigiProducer.cc.

Member Function Documentation

bool SiPixelCalibDigiProducer::checkFED ( uint32_t  detid)
privatevirtual

Definition at line 134 of file SiPixelCalibDigiProducer.cc.

bool SiPixelCalibDigiProducer::checkPixel ( uint32_t  detid,
short  row,
short  col 
)
privatevirtual

Definition at line 325 of file SiPixelCalibDigiProducer.cc.

void SiPixelCalibDigiProducer::clear ( void  )
privatevirtual
void SiPixelCalibDigiProducer::fill ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Definition at line 109 of file SiPixelCalibDigiProducer.cc.

void SiPixelCalibDigiProducer::fillPixel ( uint32_t  detid,
short  row,
short  col,
short  ipoint,
short  adc 
)
privatevirtual

Definition at line 154 of file SiPixelCalibDigiProducer.cc.

void SiPixelCalibDigiProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 271 of file SiPixelCalibDigiProducer.cc.

Referenced by JSONExport.JsonExport::export().

void SiPixelCalibDigiProducer::setPattern ( )
privatevirtual

Definition at line 214 of file SiPixelCalibDigiProducer.cc.

bool SiPixelCalibDigiProducer::store ( )
privatevirtual

Definition at line 92 of file SiPixelCalibDigiProducer.cc.

Member Data Documentation

edm::ESHandle<SiPixelCalibConfiguration> SiPixelCalibDigiProducer::calib_
private

Definition at line 86 of file SiPixelCalibDigiProducer.h.

edm::ParameterSet SiPixelCalibDigiProducer::conf_
private

Definition at line 80 of file SiPixelCalibDigiProducer.h.

bool SiPixelCalibDigiProducer::control_pattern_size_
private

Definition at line 77 of file SiPixelCalibDigiProducer.h.

std::pair<short,short> SiPixelCalibDigiProducer::currentpair_
private

Definition at line 99 of file SiPixelCalibDigiProducer.h.

std::vector<std::pair<short,short> > SiPixelCalibDigiProducer::currentpattern_
private

Definition at line 98 of file SiPixelCalibDigiProducer.h.

std::map<uint32_t,uint32_t> SiPixelCalibDigiProducer::detid_to_fedid_
private

Definition at line 96 of file SiPixelCalibDigiProducer.h.

std::vector<pixelstruct> SiPixelCalibDigiProducer::detPixelMap_
private

Definition at line 94 of file SiPixelCalibDigiProducer.h.

std::map<pixelstruct,SiPixelCalibDigiError> SiPixelCalibDigiProducer::error_data_
private

Definition at line 92 of file SiPixelCalibDigiProducer.h.

int SiPixelCalibDigiProducer::errorType
private

Definition at line 79 of file SiPixelCalibDigiProducer.h.

uint32_t SiPixelCalibDigiProducer::iEventCounter_
private

Definition at line 74 of file SiPixelCalibDigiProducer.h.

bool SiPixelCalibDigiProducer::ignore_non_pattern_
private

Definition at line 76 of file SiPixelCalibDigiProducer.h.

bool SiPixelCalibDigiProducer::includeErrors_
private

Definition at line 78 of file SiPixelCalibDigiProducer.h.

std::string SiPixelCalibDigiProducer::instance_
private

Definition at line 82 of file SiPixelCalibDigiProducer.h.

std::map<pixelstruct,SiPixelCalibDigi> SiPixelCalibDigiProducer::intermediate_data_
private

Definition at line 91 of file SiPixelCalibDigiProducer.h.

std::string SiPixelCalibDigiProducer::label_
private

Definition at line 81 of file SiPixelCalibDigiProducer.h.

uint32_t SiPixelCalibDigiProducer::number_of_pixels_per_pattern_
private

Definition at line 83 of file SiPixelCalibDigiProducer.h.

uint32_t SiPixelCalibDigiProducer::pattern_repeat_
private

Definition at line 95 of file SiPixelCalibDigiProducer.h.

edm::InputTag SiPixelCalibDigiProducer::src_
private

Definition at line 72 of file SiPixelCalibDigiProducer.h.

edm::ESHandle<SiPixelFedCablingMap> SiPixelCalibDigiProducer::theCablingMap_
private

Definition at line 88 of file SiPixelCalibDigiProducer.h.

edm::ESHandle<TrackerGeometry> SiPixelCalibDigiProducer::theGeometry_
private

Definition at line 87 of file SiPixelCalibDigiProducer.h.

edm::EDGetTokenT<edm::DetSetVector<PixelDigi> > SiPixelCalibDigiProducer::tPixelDigi
private

Definition at line 73 of file SiPixelCalibDigiProducer.h.

bool SiPixelCalibDigiProducer::use_realeventnumber_
private

Definition at line 84 of file SiPixelCalibDigiProducer.h.