CMS 3D CMS Logo

RPDetDigitizer.h
Go to the documentation of this file.
1 #ifndef SimPPS_RPDigiProducer_RP_DET_DIGITIZER_H
2 #define SimPPS_RPDigiProducer_RP_DET_DIGITIZER_H
3 
7 
9 
16 
17 #include <vector>
18 #include <string>
19 
20 namespace CLHEP {
21  class HepRandomEngine;
22 }
23 
25 public:
27  CLHEP::HepRandomEngine &eng,
28  RPDetId det_id,
29  const edm::EventSetup &iSetup);
30  void run(const std::vector<PSimHit> &input,
31  const std::vector<int> &input_links,
32  std::vector<TotemRPDigi> &output_digi,
33  simromanpot::DigiPrimaryMapType &output_digi_links);
34 
35 private:
36  std::unique_ptr<RPGaussianTailNoiseAdder> theRPGaussianTailNoiseAdder;
37  std::unique_ptr<RPPileUpSignals> theRPPileUpSignals;
38  std::unique_ptr<RPHitChargeConverter> theRPHitChargeConverter;
39  std::unique_ptr<RPVFATSimulator> theRPVFATSimulator;
40  std::unique_ptr<RPDisplacementGenerator> theRPDisplacementGenerator;
41 
42 private:
44  double theNoiseInElectrons; // Noise (RMS) in units of electrons.
45  double theStripThresholdInE; // Strip noise treshold in electorns.
46  bool noNoise_; //if the nos is included
51 };
52 
53 #endif //SimCTPPS_RPDigiProducer_RP_DET_DIGITIZER_H
double theNoiseInElectrons
std::unique_ptr< RPPileUpSignals > theRPPileUpSignals
void run(const std::vector< PSimHit > &input, const std::vector< int > &input_links, std::vector< TotemRPDigi > &output_digi, simromanpot::DigiPrimaryMapType &output_digi_links)
std::vector< std::vector< std::pair< int, double > > > DigiPrimaryMapType
Definition: RPSimTypes.h:22
static std::string const input
Definition: EdmProvDump.cc:47
double theStripThresholdInE
std::unique_ptr< RPGaussianTailNoiseAdder > theRPGaussianTailNoiseAdder
std::unique_ptr< RPHitChargeConverter > theRPHitChargeConverter
std::unique_ptr< RPVFATSimulator > theRPVFATSimulator
uint32_t RPDetId
Definition: RPSimTypes.h:11
RPDetDigitizer(const edm::ParameterSet &params, CLHEP::HepRandomEngine &eng, RPDetId det_id, const edm::EventSetup &iSetup)
bool misalignment_simulation_on_
std::unique_ptr< RPDisplacementGenerator > theRPDisplacementGenerator