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
void computeShots(const edm::DetSet< SiStripDigi > &digis)
APVShotFinder(const bool zs=true)
void addShots(const edm::DetSet< SiStripDigi > &digis)
edmNew::DetSet< TTStub< Ref_Phase2TrackerDigi_ > > DetSet
Definition: Stub.h:28
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
const std::vector< APVShot > & getShots() const
HLT enums.