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>
virtual void fill(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual bool checkFED(uint32_t detid)
uint32_t number_of_pixels_per_pattern_
virtual void setPattern()
std::map< pixelstruct, SiPixelCalibDigiError > error_data_
std::map< pixelstruct, SiPixelCalibDigi > intermediate_data_
std::vector< std::pair< short, short > > currentpattern_
edm::ESHandle< SiPixelFedCablingMap > theCablingMap_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
bool use_realeventnumber_
virtual bool checkPixel(uint32_t detid, short row, short col)
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
std::pair< uint32_t, std::pair< short, short > > pixelstruct
~SiPixelCalibDigiProducer() override
virtual void fillPixel(uint32_t detid, short row, short col, short ipoint, short adc)
std::vector< pixelstruct > detPixelMap_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
bool control_pattern_size_
SiPixelCalibDigiProducer(const edm::ParameterSet &iConfig)
edm::ESHandle< SiPixelCalibConfiguration > calib_
std::pair< short, short > currentpair_
std::map< uint32_t, uint32_t > detid_to_fedid_
edm::ESHandle< TrackerGeometry > theGeometry_