CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileUpFP420.h
Go to the documentation of this file.
1 #ifndef PileUpFP420_h
2 #define PileUpFP420_h
3 
5 #include <map>
6 
7 class SimHit;
8 
9 // Class which takes the responses from each SimHit and piles-up them.
11 
12  public:
13 
14  typedef float Amplitude;
15  typedef std::map< int, Amplitude, std::less<int> > signal_map_type;
16  typedef std::map< int , std::vector < std::pair < const PSimHit*, Amplitude > >, std::less<int> > HitToDigisMapType;
17 
18  virtual ~PileUpFP420(){}
19 
21  virtual void add(HitDigitizerFP420::hit_map_type, const PSimHit& hit, int);
25  private:
26  void resetLink();
27  void resetSignal();
30 
31 };
32 #endif
signal_map_type theMap
Definition: PileUpFP420.h:29
void resetLink()
Definition: PileUpFP420.cc:38
void reset()
Definition: PileUpFP420.h:22
float Amplitude
Definition: PileUpFP420.h:14
std::map< int, float, std::less< int > > hit_map_type
HitToDigisMapType theMapLink
Definition: PileUpFP420.h:28
virtual void add(HitDigitizerFP420::hit_map_type, const PSimHit &hit, int)
Definition: PileUpFP420.cc:13
virtual ~PileUpFP420()
Definition: PileUpFP420.h:18
void resetSignal()
Definition: PileUpFP420.cc:35
signal_map_type dumpSignal()
Definition: PileUpFP420.h:23
std::map< int, Amplitude, std::less< int > > signal_map_type
Definition: PileUpFP420.h:15
HitToDigisMapType dumpLink()
Definition: PileUpFP420.h:24
std::map< int, std::vector< std::pair< const PSimHit *, Amplitude > >, std::less< int > > HitToDigisMapType
Definition: PileUpFP420.h:16