test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
10 class APVShot {
11 
12  public:
13  APVShot();
14  APVShot(const bool zs=true);
15  APVShot(const std::vector<SiStripDigi>& digis, const DetId& detid, const bool zs=true);
16 
17  void computeShot(const std::vector<SiStripDigi>& digis, const DetId& detid, const bool zs=true);
18 
19  const bool isGenuine() const;
20  const int apvNumber() const;
21  const int nStrips() const;
22  const float median() const;
23  const int subDet() const;
24  const unsigned int detId() const;
25 
26  private:
27 
28  bool _zs;
29  int _apv;
30  int _nstrips;
31  float _median;
33 
34  const static int _threshold;
35 
36 };
37 
38 #endif // DQM_SiStripCommon_APVShot_h
static const int _threshold
Definition: APVShot.h:34
DetId _detid
Definition: APVShot.h:32
float _median
Definition: APVShot.h:31
const unsigned int detId() const
Definition: APVShot.cc:60
const int apvNumber() const
Definition: APVShot.cc:52
const int subDet() const
Definition: APVShot.cc:58
bool _zs
Definition: APVShot.h:28
void computeShot(const std::vector< SiStripDigi > &digis, const DetId &detid, const bool zs=true)
Definition: APVShot.cc:19
const float median() const
Definition: APVShot.cc:56
int _apv
Definition: APVShot.h:29
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
const bool isGenuine() const
Definition: APVShot.cc:50
const int nStrips() const
Definition: APVShot.cc:54
APVShot()
Definition: APVShot.cc:7
Definition: DetId.h:18
int _nstrips
Definition: APVShot.h:30