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
RPDetDigitizer::theRPDisplacementGenerator
std::unique_ptr< RPDisplacementGenerator > theRPDisplacementGenerator
Definition: RPDetDigitizer.h:40
simromanpot::DigiPrimaryMapType
std::vector< std::vector< std::pair< int, double > > > DigiPrimaryMapType
Definition: RPSimTypes.h:22
RPGaussianTailNoiseAdder.h
RPVFATSimulator.h
input
static const std::string input
Definition: EdmProvDump.cc:48
RPDetDigitizer::numStrips_
int numStrips_
Definition: RPDetDigitizer.h:43
RPDetDigitizer::noNoise_
bool noNoise_
Definition: RPDetDigitizer.h:46
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
RPDetDigitizer::verbosity_
int verbosity_
Definition: RPDetDigitizer.h:49
RPDetDigitizer
Definition: RPDetDigitizer.h:24
RPDetDigitizer::theStripThresholdInE
double theStripThresholdInE
Definition: RPDetDigitizer.h:45
RPDetDigitizer::RPDetDigitizer
RPDetDigitizer(const edm::ParameterSet &params, CLHEP::HepRandomEngine &eng, RPDetId det_id, const edm::EventSetup &iSetup)
Definition: RPDetDigitizer.cc:9
GaussianTailNoiseGenerator.h
RPDetDigitizer::theRPHitChargeConverter
std::unique_ptr< RPHitChargeConverter > theRPHitChargeConverter
Definition: RPDetDigitizer.h:38
RPDisplacementGenerator.h
PSimHit.h
RPDetDigitizer::theRPGaussianTailNoiseAdder
std::unique_ptr< RPGaussianTailNoiseAdder > theRPGaussianTailNoiseAdder
Definition: RPDetDigitizer.h:36
RPDetDigitizer::links_persistence_
bool links_persistence_
Definition: RPDetDigitizer.h:50
RPDetDigitizer::theNoiseInElectrons
double theNoiseInElectrons
Definition: RPDetDigitizer.h:44
CLHEP
Definition: CocoaGlobals.h:27
RPDetDigitizer::theRPPileUpSignals
std::unique_ptr< RPPileUpSignals > theRPPileUpSignals
Definition: RPDetDigitizer.h:37
edm::ParameterSet
Definition: ParameterSet.h:36
RPDetDigitizer::run
void run(const std::vector< PSimHit > &input, const std::vector< int > &input_links, std::vector< TotemRPDigi > &output_digi, simromanpot::DigiPrimaryMapType &output_digi_links)
Definition: RPDetDigitizer.cc:30
RPDetDigitizer::theRPVFATSimulator
std::unique_ptr< RPVFATSimulator > theRPVFATSimulator
Definition: RPDetDigitizer.h:39
RPPileUpSignals.h
RPHitChargeConverter.h
edm::EventSetup
Definition: EventSetup.h:57
RPDetId
uint32_t RPDetId
Definition: RPSimTypes.h:11
RPSimTypes.h
RPDetDigitizer::det_id_
RPDetId det_id_
Definition: RPDetDigitizer.h:47
RPDetDigitizer::misalignment_simulation_on_
bool misalignment_simulation_on_
Definition: RPDetDigitizer.h:48
ParameterSet.h
TotemRPDigi.h