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 namespace edm {
10  template <class T>
11  struct DetSet;
12  template <class T>
13  class DetSetVector;
14 } // namespace edm
15 
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  void addShots(const edm::DetSet<SiStripDigi>& digis);
29 
30  bool _zs;
31  std::vector<APVShot> _shots;
32 };
33 
34 #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:31
HLT enums.