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 
7 
9 
11 
14 
18 
20 
23 
24 namespace CLHEP {
25  class HepRandomEngine;
26 }
27 
29 public:
31  CLHEP::HepRandomEngine &eng,
32  uint32_t det_id,
33  const PPSPixelTopology &ppt);
34 
35  void run(const std::vector<PSimHit> &input,
36  const std::vector<int> &input_links,
37  std::vector<CTPPSPixelDigi> &output_digi,
38  std::vector<std::vector<std::pair<int, double> > > &output_digi_links,
39  const CTPPSPixelGainCalibrations *pcalibration,
40  const PPSPixelTopology *ppt);
41 
43 
44 private:
45  std::unique_ptr<RPixPileUpSignals> theRPixPileUpSignals;
46  std::unique_ptr<RPixHitChargeConverter> theRPixHitChargeConverter;
47  std::unique_ptr<RPixDummyROCSimulator> theRPixDummyROCSimulator;
48 
49  double theNoiseInElectrons; // Noise (RMS) in units of electrons.
50  double thePixelThresholdInE; // Pixel noise treshold in electorns.
51  bool noNoise; //if the nos is included
52  uint32_t det_id_;
56 };
57 #endif
RPixDetDigitizer(const edm::ParameterSet &params, CLHEP::HepRandomEngine &eng, uint32_t det_id, const PPSPixelTopology &ppt)
static std::string const input
Definition: EdmProvDump.cc:50
bool misalignment_simulation_on_
std::unique_ptr< RPixHitChargeConverter > theRPixHitChargeConverter
std::unique_ptr< RPixDummyROCSimulator > theRPixDummyROCSimulator
void run(const std::vector< PSimHit > &input, const std::vector< int > &input_links, std::vector< CTPPSPixelDigi > &output_digi, std::vector< std::vector< std::pair< int, double > > > &output_digi_links, const CTPPSPixelGainCalibrations *pcalibration, const PPSPixelTopology *ppt)
std::unique_ptr< RPixPileUpSignals > theRPixPileUpSignals