CMS 3D CMS Logo

RPixDetDigitizer.h
Go to the documentation of this file.
1 #ifndef SimPPS_PPSPixelDigiProducer_RPix_DET_DIGITIZER_H
2 #define SimPPS_PPSPixelDigiProducer_RPix_DET_DIGITIZER_H
3 
5 #include <vector>
6 #include <string>
7 
10 
12 
14 
17 
20 
22 
25 
27 
28 namespace CLHEP {
29  class HepRandomEngine;
30 }
31 
33 public:
35  CLHEP::HepRandomEngine &eng,
36  uint32_t det_id,
37  const edm::EventSetup &iSetup);
38 
39  void run(const std::vector<PSimHit> &input,
40  const std::vector<int> &input_links,
41  std::vector<CTPPSPixelDigi> &output_digi,
42  std::vector<std::vector<std::pair<int, double> > > &output_digi_links,
43  const CTPPSPixelGainCalibrations *pcalibration);
44 
46 
47 private:
48  std::unique_ptr<RPixPileUpSignals> theRPixPileUpSignals;
49  std::unique_ptr<RPixHitChargeConverter> theRPixHitChargeConverter;
50  std::unique_ptr<RPixDummyROCSimulator> theRPixDummyROCSimulator;
51 
52  int numPixels;
53  double theNoiseInElectrons; // Noise (RMS) in units of electrons.
54  double thePixelThresholdInE; // Pixel noise treshold in electorns.
55  bool noNoise; //if the nos is included
56  uint32_t det_id_;
60 };
61 #endif
static std::string const input
Definition: EdmProvDump.cc:48
bool misalignment_simulation_on_
std::unique_ptr< RPixHitChargeConverter > theRPixHitChargeConverter
std::unique_ptr< RPixDummyROCSimulator > theRPixDummyROCSimulator
std::unique_ptr< RPixPileUpSignals > theRPixPileUpSignals