Go to the documentation of this file.
18 std::vector<TotemRPDigi> &output_digi,
20 for (simromanpot::strip_charge_map::const_iterator
i = signals.begin();
i != signals.end(); ++
i) {
22 unsigned short strip_no =
i->first;
26 output_digi_links.push_back(theSignalProvenance[strip_no]);
28 edm::LogInfo(
"RPVFatSimulator") <<
" digi links size=" << theSignalProvenance[strip_no].size() <<
"\n";
29 for (
unsigned int u = 0; u < theSignalProvenance[strip_no].size(); ++u) {
31 <<
" digi: particle=" << theSignalProvenance[strip_no][u].first
32 <<
" energy [electrons]=" << theSignalProvenance[strip_no][u].second <<
"\n";
40 for (
unsigned int i = 0;
i < output_digi.size(); ++
i) {
41 edm::LogInfo(
"RPVFATSimulator") << output_digi[
i].stripNumber() <<
"\n";
std::vector< std::vector< std::pair< int, double > > > DigiPrimaryMapType
dead_strip_set dead_strips_
std::map< unsigned short, double > strip_charge_map
unsigned short strips_no_
Log< level::Info, false > LogInfo
void ConvertChargeToHits(const simromanpot::strip_charge_map &signals, simromanpot::strip_charge_map_links_type &theSignalProvenance, std::vector< TotemRPDigi > &output_digi, simromanpot::DigiPrimaryMapType &output_digi_links)
Geometrical and topological information on RP silicon detector. Uses coordinate a frame with origin i...
double dead_strip_probability_
bool dead_strips_simulation_on_
unsigned short DetStripNo() const
std::map< unsigned short, std::vector< std::pair< int, double > > > strip_charge_map_links_type
RPVFATSimulator(const edm::ParameterSet ¶ms, RPDetId det_id)