CMS 3D CMS Logo

APVShotFinder.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommon_APVShotFinder_h
2 #define DQM_SiStripCommon_APVShotFinder_h
3 
4 #include <vector>
6 
7 class SiStripDigi;
8 
9 
10 namespace edm {
11  template <class T> struct DetSet;
12  template <class T> class DetSetVector;
13 }
14 
16 
17  public:
18  APVShotFinder(const bool zs=true);
19  APVShotFinder(const edm::DetSet<SiStripDigi>& digis, const bool zs=true);
20  APVShotFinder(const edm::DetSetVector<SiStripDigi>& digicoll, const bool zs=true);
21 
22  void computeShots(const edm::DetSet<SiStripDigi>& digis);
23  void computeShots(const edm::DetSetVector<SiStripDigi>& digicoll);
24 
25  const std::vector<APVShot>& getShots() const;
26 
27  private:
28 
29  void addShots(const edm::DetSet<SiStripDigi>& digis);
30 
31  bool _zs;
32  std::vector<APVShot> _shots;
33 
34 };
35 
36 #endif // DQM_SiStripCommon_APVShotFinder_h
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
std::vector< APVShot > _shots
Definition: APVShotFinder.h:32
HLT enums.