CMS 3D CMS Logo

APVShot.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommon_APVShot_h
2 #define DQM_SiStripCommon_APVShot_h
3 
4 #include <vector>
6 
7 class SiStripDigi;
8 
9 class APVShot {
10 public:
11  APVShot();
12  APVShot(const bool zs = true);
13  APVShot(const std::vector<SiStripDigi>& digis, const DetId& detid, const bool zs = true);
14 
15  void computeShot(const std::vector<SiStripDigi>& digis, const DetId& detid, const bool zs = true);
16 
17  const bool isGenuine() const;
18  const int apvNumber() const;
19  const int nStrips() const;
20  const float median() const;
21  const int subDet() const;
22  const unsigned int detId() const;
23 
24 private:
25  bool _zs;
26  int _apv;
27  int _nstrips;
28  float _median;
30 
31  const static int _threshold;
32 };
33 
34 #endif // DQM_SiStripCommon_APVShot_h
APVShot::isGenuine
const bool isGenuine() const
Definition: APVShot.cc:47
APVShot::computeShot
void computeShot(const std::vector< SiStripDigi > &digis, const DetId &detid, const bool zs=true)
Definition: APVShot.cc:16
APVShot::APVShot
APVShot()
Definition: APVShot.cc:7
APVShot
Definition: APVShot.h:9
APVShot::subDet
const int subDet() const
Definition: APVShot.cc:55
APVShot::_nstrips
int _nstrips
Definition: APVShot.h:27
APVShot::_apv
int _apv
Definition: APVShot.h:26
APVShot::_detid
DetId _detid
Definition: APVShot.h:29
DetId
Definition: DetId.h:17
APVShot::_threshold
const static int _threshold
Definition: APVShot.h:31
APVShot::_median
float _median
Definition: APVShot.h:28
APVShot::apvNumber
const int apvNumber() const
Definition: APVShot.cc:49
APVShot::median
const float median() const
Definition: APVShot.cc:53
APVShot::_zs
bool _zs
Definition: APVShot.h:25
APVShot::nStrips
const int nStrips() const
Definition: APVShot.cc:51
APVShot::detId
const unsigned int detId() const
Definition: APVShot.cc:57
DetId.h
SiStripDigi
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12