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 }
24 class CTPPSGeometry;
25 
27 public:
29  CLHEP::HepRandomEngine &eng,
30  RPDetId det_id,
31  const CTPPSRPAlignmentCorrectionsData *alignments,
32  const CTPPSGeometry &geom);
33  void run(const std::vector<PSimHit> &input,
34  const std::vector<int> &input_links,
35  std::vector<TotemRPDigi> &output_digi,
36  simromanpot::DigiPrimaryMapType &output_digi_links);
37 
38 private:
39  std::unique_ptr<RPGaussianTailNoiseAdder> theRPGaussianTailNoiseAdder;
40  std::unique_ptr<RPPileUpSignals> theRPPileUpSignals;
41  std::unique_ptr<RPHitChargeConverter> theRPHitChargeConverter;
42  std::unique_ptr<RPVFATSimulator> theRPVFATSimulator;
43  std::unique_ptr<RPDisplacementGenerator> theRPDisplacementGenerator;
44 
45 private:
47  double theNoiseInElectrons; // Noise (RMS) in units of electrons.
48  double theStripThresholdInE; // Strip noise treshold in electorns.
49  bool noNoise_; //if the nos is included
54 };
55 
56 #endif //SimCTPPS_RPDigiProducer_RP_DET_DIGITIZER_H
double theNoiseInElectrons
RPDetDigitizer(const edm::ParameterSet &params, CLHEP::HepRandomEngine &eng, RPDetId det_id, const CTPPSRPAlignmentCorrectionsData *alignments, const CTPPSGeometry &geom)
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:50
double theStripThresholdInE
std::unique_ptr< RPGaussianTailNoiseAdder > theRPGaussianTailNoiseAdder
std::unique_ptr< RPHitChargeConverter > theRPHitChargeConverter
std::unique_ptr< RPVFATSimulator > theRPVFATSimulator
uint32_t RPDetId
Definition: RPSimTypes.h:11
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:30
bool misalignment_simulation_on_
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
std::unique_ptr< RPDisplacementGenerator > theRPDisplacementGenerator