CMS 3D CMS Logo

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;
26 
27  unsigned short strips_no_;
28  double threshold_;
30 };
31 
32 #endif
std::vector< std::vector< std::pair< int, double > > > DigiPrimaryMapType
Definition: RPSimTypes.h:23
std::map< unsigned short, std::vector< std::pair< int, double > > > strip_charge_map_links_type
Definition: RPSimTypes.h:29
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:12
std::map< unsigned short, double > strip_charge_map
Definition: RPSimTypes.h:15
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_