10 CLHEP::HepRandomEngine &eng,
31 const std::vector<int> &input_links,
32 std::vector<TotemRPDigi> &output_digi,
35 LogDebug(
"RPDetDigitizer ") <<
det_id_ <<
" received input.size()=" << input.size() <<
"\n";
38 bool links_persistence_checked =
links_persistence_ && input_links.size() == input.size();
40 int input_size = input.size();
41 for (
int i = 0;
i < input_size; ++
i) {
49 LogDebug(
"RPHitChargeConverter ") <<
det_id_ <<
" returned hits=" << the_strip_charge_map.size() <<
"\n";
50 if (links_persistence_checked)
60 afterNoise = theSignal;
64 theRPVFATSimulator->ConvertChargeToHits(afterNoise, theSignalProvenance, output_digi, output_digi_links);
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
std::map< unsigned short, std::vector< std::pair< int, double > > > strip_charge_map_links_type
static std::string const input
double theStripThresholdInE
std::unique_ptr< RPGaussianTailNoiseAdder > theRPGaussianTailNoiseAdder
std::unique_ptr< RPHitChargeConverter > theRPHitChargeConverter
std::unique_ptr< RPVFATSimulator > theRPVFATSimulator
RPDetDigitizer(const edm::ParameterSet ¶ms, CLHEP::HepRandomEngine &eng, RPDetId det_id, const edm::EventSetup &iSetup)
bool misalignment_simulation_on_
std::map< unsigned short, double > strip_charge_map
T getParameter(std::string const &) const
Geometrical and topological information on RP silicon detector. Uses coordinate a frame with origin i...
unsigned short DetStripNo() const
std::unique_ptr< RPDisplacementGenerator > theRPDisplacementGenerator