CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiCollectionProfiler.h
Go to the documentation of this file.
1 #ifndef DPGAnalysis_SiStripTools_DigiCollectionProfile_H
2 #define DPGAnalysis_SiStripTools_DigiCollectionProfile_H
3 
4 #include <vector>
5 
6 class TProfile;
7 class TH2F;
8 class DetId;
9 
10 class SiStripDigi;
11 
13 
14  public:
16  DigiCollectionProfiler(TProfile* tibprof,
17  TProfile* tobprof,
18  TProfile* tecpprof,
19  TProfile* tecmprof,
20  TH2F* tib2d,
21  TH2F* tob2d,
22  TH2F* tecp2d,
23  TH2F* tecm2d);
24 
26 
28  void setMaskedModules(std::vector<unsigned int> maskedmod);
29 
30  private:
31 
32  int ismasked(const DetId& mod) const;
33 
34  unsigned int m_nevent;
35 
36  TProfile* m_tibprof;
37  TProfile* m_tobprof;
38  TProfile* m_tecpprof;
39  TProfile* m_tecmprof;
40  TH2F* m_tib2d;
41  TH2F* m_tob2d;
42  TH2F* m_tecp2d;
43  TH2F* m_tecm2d;
44 
45  std::vector<unsigned int> m_maskedmod;
46 
47 };
48 
49 #endif // DPGAnalysis_SiStripTools_DigiCollectionProfile_H
std::vector< unsigned int > m_maskedmod
void setMaskedModules(std::vector< unsigned int > maskedmod)
list mod
Load physics model.
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
Definition: DetId.h:20
int ismasked(const DetId &mod) const
void analyze(edm::Handle< edm::DetSetVector< SiStripDigi > > digis)