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
RPixDetDigitizer::verbosity_
int verbosity_
Definition: RPixDetDigitizer.h:58
input
static const std::string input
Definition: EdmProvDump.cc:48
RPixDummyROCSimulator.h
RPixDetDigitizer::theRPixDummyROCSimulator
std::unique_ptr< RPixDummyROCSimulator > theRPixDummyROCSimulator
Definition: RPixDetDigitizer.h:50
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
RPixDetDigitizer::run
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)
Definition: RPixDetDigitizer.cc:27
RPixDetDigitizer::theRPixPileUpSignals
std::unique_ptr< RPixPileUpSignals > theRPixPileUpSignals
Definition: RPixDetDigitizer.h:48
RPixDetDigitizer::links_persistence_
bool links_persistence_
Definition: RPixDetDigitizer.h:59
CTPPSPixelGainCalibrations.h
GaussianTailNoiseGenerator.h
SiG4UniversalFluctuation.h
PSimHit.h
RPixDetDigitizer::det_id_
uint32_t det_id_
Definition: RPixDetDigitizer.h:56
CLHEP
Definition: CocoaGlobals.h:27
RPixDetDigitizer::noNoise
bool noNoise
Definition: RPixDetDigitizer.h:55
CTPPSPixelAnalysisMask.h
edm::ParameterSet
Definition: ParameterSet.h:36
RPixPileUpSignals.h
CTPPSPixelGainCalibrations
Definition: CTPPSPixelGainCalibrations.h:8
RPixHitChargeConverter.h
edm::EventSetup
Definition: EventSetup.h:57
CTPPSPixelDigi.h
RPixDetDigitizer::misalignment_simulation_on_
bool misalignment_simulation_on_
Definition: RPixDetDigitizer.h:57
RPixDetDigitizer::theRPixHitChargeConverter
std::unique_ptr< RPixHitChargeConverter > theRPixHitChargeConverter
Definition: RPixDetDigitizer.h:49
RPixDetDigitizer::~RPixDetDigitizer
~RPixDetDigitizer()
Definition: RPixDetDigitizer.cc:25
RPixDetDigitizer::thePixelThresholdInE
double thePixelThresholdInE
Definition: RPixDetDigitizer.h:54
EventSetup.h
RPixDetDigitizer
Definition: RPixDetDigitizer.h:32
ParameterSet.h
CTPPSPixelGainCalibrationDBService.h
RPixDetDigitizer::numPixels
int numPixels
Definition: RPixDetDigitizer.h:52
RPixDetDigitizer::RPixDetDigitizer
RPixDetDigitizer(const edm::ParameterSet &params, CLHEP::HepRandomEngine &eng, uint32_t det_id, const edm::EventSetup &iSetup)
Definition: RPixDetDigitizer.cc:7
RPixDetDigitizer::theNoiseInElectrons
double theNoiseInElectrons
Definition: RPixDetDigitizer.h:53
CTPPSPixelDigiCollection.h