SimPPS
RPDigiProducer
plugins
RPVFATSimulator.h
Go to the documentation of this file.
1
#ifndef RP_VFAT_SIMULATION_H
2
#define RP_VFAT_SIMULATION_H
3
4
#include <set>
5
6
#include "
DataFormats/CTPPSDigi/interface/TotemRPDigi.h
"
7
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
SimPPS/RPDigiProducer/interface/RPSimTypes.h
"
10
11
class
RPVFATSimulator
{
12
public
:
13
RPVFATSimulator
(
const
edm::ParameterSet
&
params
,
RPDetId
det_id);
14
void
ConvertChargeToHits
(
const
simromanpot::strip_charge_map
&signals,
15
simromanpot::strip_charge_map_links_type
&theSignalProvenance,
16
std::vector<TotemRPDigi> &output_digi,
17
simromanpot::DigiPrimaryMapType
&output_digi_links);
18
19
private
:
20
typedef
std::set<unsigned short, std::less<unsigned short> >
dead_strip_set
;
21
const
edm::ParameterSet
&
params_
;
22
RPDetId
det_id_
;
23
double
dead_strip_probability_
;
24
bool
dead_strips_simulation_on_
;
25
dead_strip_set
dead_strips_
;
26
int
verbosity_
;
27
28
unsigned
short
strips_no_
;
29
double
threshold_
;
30
bool
links_persistence_
;
31
};
32
33
#endif
RPVFATSimulator::verbosity_
int verbosity_
Definition:
RPVFATSimulator.h:26
simromanpot::DigiPrimaryMapType
std::vector< std::vector< std::pair< int, double > > > DigiPrimaryMapType
Definition:
RPSimTypes.h:22
RPVFATSimulator
Definition:
RPVFATSimulator.h:11
RPVFATSimulator::dead_strips_
dead_strip_set dead_strips_
Definition:
RPVFATSimulator.h:25
CalibrationSummaryClient_cfi.params
params
Definition:
CalibrationSummaryClient_cfi.py:14
RPVFATSimulator::dead_strip_set
std::set< unsigned short, std::less< unsigned short > > dead_strip_set
Definition:
RPVFATSimulator.h:20
simromanpot::strip_charge_map
std::map< unsigned short, double > strip_charge_map
Definition:
RPSimTypes.h:14
RPVFATSimulator::strips_no_
unsigned short strips_no_
Definition:
RPVFATSimulator.h:28
RPVFATSimulator::ConvertChargeToHits
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)
Definition:
RPVFATSimulator.cc:16
RPVFATSimulator::threshold_
double threshold_
Definition:
RPVFATSimulator.h:29
edm::ParameterSet
Definition:
ParameterSet.h:36
RPVFATSimulator::dead_strip_probability_
double dead_strip_probability_
Definition:
RPVFATSimulator.h:23
RPVFATSimulator::dead_strips_simulation_on_
bool dead_strips_simulation_on_
Definition:
RPVFATSimulator.h:24
RPDetId
uint32_t RPDetId
Definition:
RPSimTypes.h:11
RPSimTypes.h
simromanpot::strip_charge_map_links_type
std::map< unsigned short, std::vector< std::pair< int, double > > > strip_charge_map_links_type
Definition:
RPSimTypes.h:28
RPVFATSimulator::det_id_
RPDetId det_id_
Definition:
RPVFATSimulator.h:22
RPVFATSimulator::params_
const edm::ParameterSet & params_
Definition:
RPVFATSimulator.h:21
ParameterSet.h
TotemRPDigi.h
RPVFATSimulator::RPVFATSimulator
RPVFATSimulator(const edm::ParameterSet ¶ms, RPDetId det_id)
Definition:
RPVFATSimulator.cc:7
RPVFATSimulator::links_persistence_
bool links_persistence_
Definition:
RPVFATSimulator.h:30
Generated for CMSSW Reference Manual by
1.8.16