#include <RPixDummyROCSimulator.h>
Public Member Functions | |
void | ConvertChargeToHits (const std::map< unsigned short, double > &signals, std::map< unsigned short, std::vector< std::pair< int, double > > > &theSignalProvenance, std::vector< CTPPSPixelDigi > &output_digi, std::vector< std::vector< std::pair< int, double > > > &output_digi_links, const CTPPSPixelGainCalibrations *pcalibration) |
RPixDummyROCSimulator (const edm::ParameterSet ¶ms, uint32_t det_id) | |
Private Types | |
typedef std::set< unsigned short > | dead_pixel_set |
Private Attributes | |
double | dead_pixel_probability_ |
dead_pixel_set | dead_pixels_ |
bool | dead_pixels_simulation_on_ |
uint32_t | det_id_ |
bool | doSingleCalibration_ |
double | electron_per_adc_ |
bool | links_persistence_ |
double | threshold_ |
int | VcaltoElectronGain_ |
int | VcaltoElectronOffset_ |
int | verbosity_ |
Static Private Attributes | |
static constexpr double | highRangeCal_ = 1800. |
static constexpr double | lowRangeCal_ = 260. |
static constexpr int | maxADC_ = 255 |
Definition at line 13 of file RPixDummyROCSimulator.h.
|
private |
Definition at line 24 of file RPixDummyROCSimulator.h.
RPixDummyROCSimulator::RPixDummyROCSimulator | ( | const edm::ParameterSet & | params, |
uint32_t | det_id | ||
) |
Definition at line 6 of file RPixDummyROCSimulator.cc.
References dead_pixel_probability_, dead_pixels_simulation_on_, doSingleCalibration_, electron_per_adc_, links_persistence_, CalibrationSummaryClient_cfi::params, threshold_, VcaltoElectronGain_, VcaltoElectronOffset_, and verbosity_.
void RPixDummyROCSimulator::ConvertChargeToHits | ( | const std::map< unsigned short, double > & | signals, |
std::map< unsigned short, std::vector< std::pair< int, double > > > & | theSignalProvenance, | ||
std::vector< CTPPSPixelDigi > & | output_digi, | ||
std::vector< std::vector< std::pair< int, double > > > & | output_digi_links, | ||
const CTPPSPixelGainCalibrations * | pcalibration | ||
) |
set maximum for 8 bits adc
Definition at line 18 of file RPixDummyROCSimulator.cc.
References gpuClustering::adc, cuy::col, dead_pixels_, dead_pixels_simulation_on_, det_id_, doSingleCalibration_, electron_per_adc_, PedestalClient_cfi::gain, CTPPSPixelGainCalibration::getDetId(), CTPPSPixelGainCalibration::getGain(), CTPPSPixelGainCalibrations::getGainCalibration(), CTPPSPixelGainCalibration::getNCols(), CTPPSPixelGainCalibration::getPed(), highRangeCal_, mps_fire::i, createfilelist::int, links_persistence_, lowRangeCal_, maxADC_, EcalCondDBWriter_cfi::pedestal, threshold_, VcaltoElectronGain_, VcaltoElectronOffset_, and verbosity_.
|
private |
Definition at line 30 of file RPixDummyROCSimulator.h.
Referenced by RPixDummyROCSimulator().
|
private |
Definition at line 32 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits().
|
private |
Definition at line 31 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
private |
Definition at line 29 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits().
|
private |
Definition at line 38 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
private |
Definition at line 35 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
staticconstexprprivate |
Definition at line 25 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits().
|
private |
Definition at line 39 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
staticconstexprprivate |
Definition at line 26 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits().
|
staticconstexprprivate |
Definition at line 27 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits().
|
private |
Definition at line 34 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
private |
Definition at line 36 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
private |
Definition at line 37 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().
|
private |
Definition at line 33 of file RPixDummyROCSimulator.h.
Referenced by ConvertChargeToHits(), and RPixDummyROCSimulator().