Go to the documentation of this file. 1 #ifndef CALIBTRACKER_SIPIXELCALIBDIGIPRODUCER_H
2 #define CALIBTRACKER_SIPIXELCALIBDIGIPRODUCER_H
67 virtual bool checkPixel(uint32_t detid,
short row,
short col);
68 virtual bool checkFED(uint32_t detid);
70 typedef std::pair<uint32_t, std::pair<short, short>>
pixelstruct;
91 std::map<pixelstruct, SiPixelCalibDigi>
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
std::map< uint32_t, uint32_t > detid_to_fedid_
std::map< pixelstruct, SiPixelCalibDigiError > error_data_
edm::ESHandle< TrackerGeometry > theGeometry_
virtual void fill(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual bool checkFED(uint32_t detid)
virtual void setPattern()
virtual bool checkPixel(uint32_t detid, short row, short col)
std::map< pixelstruct, SiPixelCalibDigi > intermediate_data_
std::vector< std::pair< short, short > > currentpattern_
SiPixelCalibDigiProducer(const edm::ParameterSet &iConfig)
edm::ESHandle< SiPixelCalibConfiguration > calib_
std::pair< short, short > currentpair_
edm::ESHandle< SiPixelFedCablingMap > theCablingMap_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
bool use_realeventnumber_
~SiPixelCalibDigiProducer() override
std::pair< uint32_t, std::pair< short, short > > pixelstruct
std::vector< pixelstruct > detPixelMap_
uint32_t number_of_pixels_per_pattern_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
bool control_pattern_size_
virtual void fillPixel(uint32_t detid, short row, short col, short ipoint, short adc)