1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef DQM_SiStripCommon_APVShotFinder_h
#define DQM_SiStripCommon_APVShotFinder_h
#include <vector>
#include "DQM/SiStripCommon/interface/APVShot.h"
class SiStripDigi;
namespace edm {
template <class T>
struct DetSet;
template <class T>
class DetSetVector;
} // namespace edm
class APVShotFinder {
public:
APVShotFinder(const bool zs = true);
APVShotFinder(const edm::DetSet<SiStripDigi>& digis, const bool zs = true);
APVShotFinder(const edm::DetSetVector<SiStripDigi>& digicoll, const bool zs = true);
void computeShots(const edm::DetSet<SiStripDigi>& digis);
void computeShots(const edm::DetSetVector<SiStripDigi>& digicoll);
const std::vector<APVShot>& getShots() const;
private:
void addShots(const edm::DetSet<SiStripDigi>& digis);
bool _zs;
std::vector<APVShot> _shots;
};
#endif // DQM_SiStripCommon_APVShotFinder_h
|