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 
27  public:
28  explicit SiStripApvGainReader( const edm::ParameterSet& );
29  ~SiStripApvGainReader() override;
30 
31  void analyze( const edm::Event&, const edm::EventSetup& ) override;
32 
33  private:
36  uint32_t gainType_;
38  TTree *tree_;
39  int id_=0, detId_=0, apvId_=0;
40  double gain_=0;
41 
42 };
43 #endif
edm::Service< TFileService > fs_
void analyze(const edm::Event &, const edm::EventSetup &) override
SiStripApvGainReader(const edm::ParameterSet &)