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
static constexpr int maxADC_
RPixDummyROCSimulator(const edm::ParameterSet &params, uint32_t det_id)
static constexpr double highRangeCal_
std::set< unsigned short > dead_pixel_set
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)
static constexpr double lowRangeCal_