CondTools
SiStrip
plugins
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
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/ServiceRegistry/interface/Service.h
"
13
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
16
#include "
CalibTracker/Records/interface/SiStripGainRcd.h
"
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
27
class
SiStripApvGainReader
:
public
edm::EDAnalyzer
{
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
:
35
bool
printdebug_
;
36
std::string
formatedOutput_
;
37
uint32_t
gainType_
;
38
edm::ESGetToken<SiStripGain, SiStripGainRcd>
gainToken_
;
39
edm::Service<TFileService>
fs_
;
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
Generated for CMSSW Reference Manual by
1.8.16