CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
7 
10 
12 public:
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;
27 
28  unsigned short strips_no_;
29  double threshold_;
31 };
32 
33 #endif
std::vector< std::vector< std::pair< int, double > > > DigiPrimaryMapType
Definition: RPSimTypes.h:22
std::map< unsigned short, std::vector< std::pair< int, double > > > strip_charge_map_links_type
Definition: RPSimTypes.h:28
std::set< unsigned short, std::less< unsigned short > > dead_strip_set
unsigned short strips_no_
RPVFATSimulator(const edm::ParameterSet &params, RPDetId det_id)
uint32_t RPDetId
Definition: RPSimTypes.h:11
std::map< unsigned short, double > strip_charge_map
Definition: RPSimTypes.h:14
const edm::ParameterSet & params_
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)
dead_strip_set dead_strips_
double dead_strip_probability_
bool dead_strips_simulation_on_