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
RPixPileUpSignals
Definition: RPixPileUpSignals.h:7
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
RPixPileUpSignals::det_id_
uint32_t det_id_
Definition: RPixPileUpSignals.h:26
RPixPileUpSignals::the_pixel_charge_piled_up_map_
std::map< unsigned short, double > the_pixel_charge_piled_up_map_
Definition: RPixPileUpSignals.h:23
RPixPileUpSignals::the_pixel_charge_piled_up_map_links_
std::map< unsigned short, std::vector< std::pair< int, double > > > the_pixel_charge_piled_up_map_links_
Definition: RPixPileUpSignals.h:24
edm::ParameterSet
Definition: ParameterSet.h:47
RPixPileUpSignals::RPixPileUpSignals
RPixPileUpSignals(const edm::ParameterSet &params, uint32_t det_id)
Definition: RPixPileUpSignals.cc:4
RPixPileUpSignals::add
void add(const std::map< unsigned short, double > &charge_induced, int PSimHitIndex)
Definition: RPixPileUpSignals.cc:14
RPixPileUpSignals::links_persistence_
bool links_persistence_
Definition: RPixPileUpSignals.h:25
RPixPileUpSignals::dumpLinks
std::map< unsigned short, std::vector< std::pair< int, double > > > & dumpLinks()
Definition: RPixPileUpSignals.h:18
RPixPileUpSignals::reset
void reset()
Definition: RPixPileUpSignals.cc:9
RPixPileUpSignals::verbosity_
bool verbosity_
Definition: RPixPileUpSignals.h:27
ParameterSet.h
RPixPileUpSignals::dumpSignal
const std::map< unsigned short, double > & dumpSignal()
Definition: RPixPileUpSignals.h:15