CMS 3D CMS Logo

RPixDummyROCSimulator.h
Go to the documentation of this file.
1 #ifndef RPIX_DUMMY_ROC_SIMULATION_H
2 #define RPIX_DUMMY_ROC_SIMULATION_H
3 
4 #include <set>
5 
7 
12 
14 public:
15  RPixDummyROCSimulator(const edm::ParameterSet &params, uint32_t det_id);
16 
17  void ConvertChargeToHits(const std::map<unsigned short, double> &signals,
18  std::map<unsigned short, std::vector<std::pair<int, double> > > &theSignalProvenance,
19  std::vector<CTPPSPixelDigi> &output_digi,
20  std::vector<std::vector<std::pair<int, double> > > &output_digi_links,
21  const CTPPSPixelGainCalibrations *pcalibration);
22 
23 private:
24  typedef std::set<unsigned short> dead_pixel_set;
25  static constexpr double highRangeCal_ = 1800.;
26  static constexpr double lowRangeCal_ = 260.;
27  static constexpr int maxADC_ = 255;
28 
29  uint32_t det_id_;
34  double threshold_;
40 };
41 
42 #endif
RPixDummyROCSimulator::RPixDummyROCSimulator
RPixDummyROCSimulator(const edm::ParameterSet &params, uint32_t det_id)
Definition: RPixDummyROCSimulator.cc:6
RPixDummyROCSimulator::dead_pixels_
dead_pixel_set dead_pixels_
Definition: RPixDummyROCSimulator.h:32
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
RPixDummyROCSimulator::dead_pixel_set
std::set< unsigned short > dead_pixel_set
Definition: RPixDummyROCSimulator.h:24
RPixDummyROCSimulator
Definition: RPixDummyROCSimulator.h:13
RPixDummyROCSimulator::VcaltoElectronOffset_
int VcaltoElectronOffset_
Definition: RPixDummyROCSimulator.h:37
RPixDummyROCSimulator::highRangeCal_
static constexpr double highRangeCal_
Definition: RPixDummyROCSimulator.h:25
RPixDummyROCSimulator::maxADC_
static constexpr int maxADC_
Definition: RPixDummyROCSimulator.h:27
CTPPSPixelGainCalibrations.h
RPixDummyROCSimulator::doSingleCalibration_
bool doSingleCalibration_
Definition: RPixDummyROCSimulator.h:38
RPixDummyROCSimulator::links_persistence_
bool links_persistence_
Definition: RPixDummyROCSimulator.h:39
RPixDummyROCSimulator::VcaltoElectronGain_
int VcaltoElectronGain_
Definition: RPixDummyROCSimulator.h:36
RPixDummyROCSimulator::det_id_
uint32_t det_id_
Definition: RPixDummyROCSimulator.h:29
CTPPSPixelAnalysisMask.h
RPixDummyROCSimulator::verbosity_
int verbosity_
Definition: RPixDummyROCSimulator.h:33
edm::ParameterSet
Definition: ParameterSet.h:47
RPixDummyROCSimulator::electron_per_adc_
double electron_per_adc_
Definition: RPixDummyROCSimulator.h:35
CTPPSPixelGainCalibrations
Definition: CTPPSPixelGainCalibrations.h:8
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
RPixDummyROCSimulator::dead_pixels_simulation_on_
bool dead_pixels_simulation_on_
Definition: RPixDummyROCSimulator.h:31
RPixDummyROCSimulator::lowRangeCal_
static constexpr double lowRangeCal_
Definition: RPixDummyROCSimulator.h:26
CTPPSPixelDigi.h
RPixDummyROCSimulator::dead_pixel_probability_
double dead_pixel_probability_
Definition: RPixDummyROCSimulator.h:30
RPixDummyROCSimulator::threshold_
double threshold_
Definition: RPixDummyROCSimulator.h:34
RPixDummyROCSimulator::ConvertChargeToHits
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)
Definition: RPixDummyROCSimulator.cc:18
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ParameterSet.h
CTPPSPixelDigiCollection.h