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
edm::DetSetVector< SiStripDigi >
APVShot.h
edm::DetSet< SiStripDigi >
edm
HLT enums.
Definition: AlignableModifier.h:19
APVShotFinder::APVShotFinder
APVShotFinder(const bool zs=true)
Definition: APVShotFinder.cc:10
l1tVertexFinder::DetSet
edmNew::DetSet< TTStub< Ref_Phase2TrackerDigi_ > > DetSet
Definition: Stub.h:28
APVShotFinder::_zs
bool _zs
Definition: APVShotFinder.h:30
APVShotFinder::addShots
void addShots(const edm::DetSet< SiStripDigi > &digis)
Definition: APVShotFinder.cc:33
APVShotFinder::_shots
std::vector< APVShot > _shots
Definition: APVShotFinder.h:31
APVShotFinder
Definition: APVShotFinder.h:16
SiStripDigi
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
APVShotFinder::getShots
const std::vector< APVShot > & getShots() const
Definition: APVShotFinder.cc:69
APVShotFinder::computeShots
void computeShots(const edm::DetSet< SiStripDigi > &digis)
Definition: APVShotFinder.cc:20