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 
25 class SiStripGain;
26 
28 public:
29  explicit SiStripApvGainReader(const edm::ParameterSet&);
30  ~SiStripApvGainReader() override;
31 
32  void analyze(const edm::Event&, const edm::EventSetup&) override;
33 
34 private:
37  uint32_t gainType_;
40  TTree* tree_ = nullptr;
41  int id_ = 0, detId_ = 0, apvId_ = 0;
42  double gain_ = 0;
43 };
44 #endif
SiStripApvGainReader::gainToken_
edm::ESGetToken< SiStripGain, SiStripGainRcd > gainToken_
Definition: SiStripApvGainReader.h:38
SiStripApvGainReader
Definition: SiStripApvGainReader.h:27
MessageLogger.h
SiStripGain
Definition: SiStripGain.h:44
SiStripApvGainReader::id_
int id_
Definition: SiStripApvGainReader.h:41
SiStripApvGainReader::tree_
TTree * tree_
Definition: SiStripApvGainReader.h:40
SiStripApvGainReader::SiStripApvGainReader
SiStripApvGainReader(const edm::ParameterSet &)
Definition: SiStripApvGainReader.cc:13
SiStripGainRcd.h
EDAnalyzer.h
SiStripApvGainReader::gain_
double gain_
Definition: SiStripApvGainReader.h:42
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiStripApvGainReader::gainType_
uint32_t gainType_
Definition: SiStripApvGainReader.h:37
Service.h
SiStripApvGainReader::detId_
int detId_
Definition: SiStripApvGainReader.h:41
SiStripApvGainReader::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripApvGainReader.cc:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TFileService.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::Service< TFileService >
SiStripApvGainReader::~SiStripApvGainReader
~SiStripApvGainReader() override
Definition: SiStripApvGainReader.cc:28
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< SiStripGain, SiStripGainRcd >
SiStripApvGainReader::formatedOutput_
std::string formatedOutput_
Definition: SiStripApvGainReader.h:36
Frameworkfwd.h
SiStripApvGainReader::apvId_
int apvId_
Definition: SiStripApvGainReader.h:41
EventSetup.h
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripApvGainReader::printdebug_
bool printdebug_
Definition: SiStripApvGainReader.h:35
SiStripApvGainReader::fs_
edm::Service< TFileService > fs_
Definition: SiStripApvGainReader.h:39