CMS 3D CMS Logo

RPixPileUpSignals.h
Go to the documentation of this file.
1 #ifndef SimPPS_PPSPixelDigiProducer_RPix_PILE_UP_SIGNALS_H
2 #define SimPPS_PPSPixelDigiProducer_RPix_PILE_UP_SIGNALS_H
3 
4 #include <map>
6 
8 public:
9  RPixPileUpSignals(const edm::ParameterSet &params, uint32_t det_id);
10 
11  void reset();
12 
13  void add(const std::map<unsigned short, double> &charge_induced, int PSimHitIndex);
14 
15  inline const std::map<unsigned short, double> &dumpSignal() { return the_pixel_charge_piled_up_map_; }
16 
17  // for each pixel the indeces of PSimHit and amounts of charge generated by it is given
18  inline std::map<unsigned short, std::vector<std::pair<int, double> > > &dumpLinks() {
20  }
21 
22 private:
23  std::map<unsigned short, double> the_pixel_charge_piled_up_map_;
24  std::map<unsigned short, std::vector<std::pair<int, double> > > the_pixel_charge_piled_up_map_links_;
26  uint32_t det_id_;
27  bool verbosity_;
28 };
29 
30 #endif
std::map< unsigned short, double > the_pixel_charge_piled_up_map_
std::map< unsigned short, std::vector< std::pair< int, double > > > the_pixel_charge_piled_up_map_links_
RPixPileUpSignals(const edm::ParameterSet &params, uint32_t det_id)
const std::map< unsigned short, double > & dumpSignal()
void add(const std::map< unsigned short, double > &charge_induced, int PSimHitIndex)
std::map< unsigned short, std::vector< std::pair< int, double > > > & dumpLinks()