CMS 3D CMS Logo

SiStripPlotGain.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SiStripPlotGain
4 // Class: SiStripPlotGain
5 //
14 //
15 // Original Author: Domenico GIORDANO
16 // Created: Mon Aug 10 10:42:04 CEST 2009
17 //
18 //
19 
20 // system include files
21 #include <memory>
22 
23 // user include files
29 
32 
34 
39 
40 #include "TFile.h"
41 #include "TH1F.h"
42 #include "TH2F.h"
43 
44 //
45 // class decleration
46 //
47 class TrackerTopology;
48 
50 public:
51  explicit SiStripPlotGain(const edm::ParameterSet &);
52  ~SiStripPlotGain() override;
53 
54 private:
55  void beginRun(const edm::Run &run, const edm::EventSetup &es) override;
56  void analyze(const edm::Event &, const edm::EventSetup &) override{};
57  void endJob() override;
58 
59  void DoAnalysis(const TrackerTopology &tTopo, const SiStripApvGain &);
60  void getHistos(DetId detid, const TrackerTopology &tTopo, std::vector<TH1F *> &histos);
61  TH1F *getHisto(const long unsigned int &index);
62 
63  // ----------member data ---------------------------
64 
68 
69  TFile *file;
70  std::vector<TH1F *> vTH1;
71 
73 };
SiStripDependentRecords.h
SiStripPlotGain::gainToken_
edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd > gainToken_
Definition: SiStripPlotGain.h:66
MessageLogger.h
SiStripPlotGain::DoAnalysis
void DoAnalysis(const TrackerTopology &tTopo, const SiStripApvGain &)
Definition: SiStripPlotGain.cc:22
edm::ESWatcher< SiStripApvGainRcd >
SiStripPlotGain
Definition: SiStripPlotGain.h:49
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
EDAnalyzer.h
SiStripPlotGain::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripPlotGain.h:67
SiStripPlotGain::endJob
void endJob() override
Definition: SiStripPlotGain.cc:89
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
DetId
Definition: DetId.h:17
MakerMacros.h
TrackerTopology.h
TrackerTopologyRcd.h
SiStripPlotGain::~SiStripPlotGain
~SiStripPlotGain() override
Definition: SiStripPlotGain.cc:10
TrackerMap
Definition: TrackerMap.h:76
SiStripApvGain.h
SiStripPlotGain::tkmap
TrackerMap * tkmap
Definition: SiStripPlotGain.h:72
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SiStripPlotGain::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: SiStripPlotGain.cc:14
SiStripPlotGain::getHisto
TH1F * getHisto(const long unsigned int &index)
Definition: SiStripPlotGain.cc:75
SiStripPlotGain::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripPlotGain.h:56
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd >
TrackerMap.h
combine.histos
histos
Definition: combine.py:4
SiStripPlotGain::gainWatcher_
edm::ESWatcher< SiStripApvGainRcd > gainWatcher_
Definition: SiStripPlotGain.h:65
SiStripPlotGain::file
TFile * file
Definition: SiStripPlotGain.h:69
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
ESWatcher.h
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
SiStripPlotGain::SiStripPlotGain
SiStripPlotGain(const edm::ParameterSet &)
Definition: SiStripPlotGain.cc:3
SiStripPlotGain::getHistos
void getHistos(DetId detid, const TrackerTopology &tTopo, std::vector< TH1F * > &histos)
Definition: SiStripPlotGain.cc:50
ParameterSet.h
SiStripPlotGain::vTH1
std::vector< TH1F * > vTH1
Definition: SiStripPlotGain.h:70
edm::Event
Definition: Event.h:73
SiStripApvGain
Definition: SiStripApvGain.h:25