CMS 3D CMS Logo

SiStripApvGainReader.h
Go to the documentation of this file.
1 #ifndef SiStripApvGainReader_H
2 #define SiStripApvGainReader_H
3 
4 // system include files
5 //#include <memory>
6 
7 // user include files
17 
18 // root objects
19 #include "TROOT.h"
20 #include "TSystem.h"
21 #include "TFile.h"
22 #include "TDirectory.h"
23 #include "TTree.h"
24 
26 public:
27  explicit SiStripApvGainReader(const edm::ParameterSet&);
28  ~SiStripApvGainReader() override;
29 
30  void analyze(const edm::Event&, const edm::EventSetup&) override;
31 
32 private:
35  uint32_t gainType_;
37  TTree* tree_;
38  int id_ = 0, detId_ = 0, apvId_ = 0;
39  double gain_ = 0;
40 };
41 #endif
edm::Service< TFileService > fs_
void analyze(const edm::Event &, const edm::EventSetup &) override
SiStripApvGainReader(const edm::ParameterSet &)