Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:27

0001 #ifndef SimPPS_RPDigiProducer_RP_PILE_UP_SIGNALS_H
0002 #define SimPPS_RPDigiProducer_RP_PILE_UP_SIGNALS_H
0003 
0004 #include <map>
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "SimPPS/RPDigiProducer/interface/RPSimTypes.h"
0007 
0008 class RPPileUpSignals {
0009 public:
0010   RPPileUpSignals(const edm::ParameterSet &params, RPDetId det_id);
0011   void reset();
0012   void add(const simromanpot::strip_charge_map &charge_induced, int PSimHitIndex);
0013   inline const simromanpot::strip_charge_map &dumpSignal() { return the_strip_charge_piled_up_map_; }
0014   inline simromanpot::strip_charge_map_links_type &dumpLinks() { return the_strip_charge_piled_up_map_links_; }
0015 
0016 private:
0017   simromanpot::strip_charge_map the_strip_charge_piled_up_map_;
0018   simromanpot::strip_charge_map_links_type the_strip_charge_piled_up_map_links_;
0019   bool links_persistence_;
0020   RPDetId det_id_;
0021   bool verbosity_;
0022 };
0023 
0024 #endif  //SimPPS_RPDigiProducer_RP_PILE_UP_SIGNALS_H