CMS 3D CMS Logo

ConversionPostprocessing.h
Go to the documentation of this file.
1 #ifndef ConversionPostprocessing_H
2 #define ConversionPostprocessing_H
3 
6 //
10 
11 #include "TFile.h"
12 #include "TH1.h"
13 #include "TH2.h"
14 #include "TTree.h"
15 #include "TVector3.h"
16 #include "TProfile.h"
17 //
18 
23 
24 //DQM services
27 
28 //
29 
30 #include <vector>
31 
41 // forward declarations
42 class TFile;
43 class TH1F;
44 class TH2F;
45 class TProfile;
46 class TTree;
47 
49 public:
52  //
54  ~ConversionPostprocessing() override;
55 
56  void analyze(const edm::Event&, const edm::EventSetup&) override;
57  void beginJob() override;
58  void endJob() override;
59  void endRun(const edm::Run&, const edm::EventSetup&) override;
60 
61 private:
62  //
63 
66  virtual void runPostprocessing();
67 
70 
72 
74  bool batch_;
77 
78  std::stringstream currentFolder_;
79 
80  double etMin;
81  double etMax;
82  int etBin;
83  double etaMin;
84  double etaMax;
85  int etaBin;
86  int etaBin2;
87  double phiMin;
88  double phiMax;
89  int phiBin;
90  double rMin;
91  double rMax;
92  int rBin;
93  double zMin;
94  double zMax;
95  int zBin;
96 
102 
107 
113 };
114 
115 #endif
ConversionPostprocessing::parameters_
edm::ParameterSet parameters_
Definition: ConversionPostprocessing.h:71
ConversionPostprocessing::verbosity_
int verbosity_
Definition: ConversionPostprocessing.h:69
ConversionPostprocessing::convEffPhiTwoTracks_
MonitorElement * convEffPhiTwoTracks_
Definition: ConversionPostprocessing.h:98
ConversionPostprocessing::zBin
int zBin
Definition: ConversionPostprocessing.h:95
ConversionPostprocessing::currentFolder_
std::stringstream currentFolder_
Definition: ConversionPostprocessing.h:78
ConversionPostprocessing::rMin
double rMin
Definition: ConversionPostprocessing.h:90
MessageLogger.h
ConversionPostprocessing::runPostprocessing
virtual void runPostprocessing()
Definition: ConversionPostprocessing.cc:68
ConversionPostprocessing::convFakeRateEtTwoTracks_
MonitorElement * convFakeRateEtTwoTracks_
Definition: ConversionPostprocessing.h:112
ConversionPostprocessing::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: ConversionPostprocessing.cc:56
edm::Run
Definition: Run.h:45
ConversionPostprocessing::convFakeRateZTwoTracks_
MonitorElement * convFakeRateZTwoTracks_
Definition: ConversionPostprocessing.h:111
ConversionPostprocessing::convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
Definition: ConversionPostprocessing.h:106
ConversionPostprocessing::inputFileName_
std::string inputFileName_
Definition: ConversionPostprocessing.h:76
ConversionPostprocessing::convEffEtaTwoTracks_
MonitorElement * convEffEtaTwoTracks_
Definition: ConversionPostprocessing.h:97
ConversionPostprocessing::~ConversionPostprocessing
~ConversionPostprocessing() override
Definition: ConversionPostprocessing.cc:52
ConversionPostprocessing::convFakeRateEtaTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
Definition: ConversionPostprocessing.h:108
ConversionPostprocessing::dividePlots
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
Definition: ConversionPostprocessing.cc:180
DQMStore.h
ConversionPostprocessing::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: ConversionPostprocessing.cc:63
ConversionPostprocessing::convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
Definition: ConversionPostprocessing.h:103
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
ConversionPostprocessing::convFakeRateRTwoTracks_
MonitorElement * convFakeRateRTwoTracks_
Definition: ConversionPostprocessing.h:110
ConversionPostprocessing::etaMin
double etaMin
Definition: ConversionPostprocessing.h:83
ConversionPostprocessing::outputFileName_
std::string outputFileName_
Definition: ConversionPostprocessing.h:75
ConversionPostprocessing::convEffRTwoTracks_
MonitorElement * convEffRTwoTracks_
Definition: ConversionPostprocessing.h:99
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
MakerMacros.h
dqm::legacy::DQMStore
Definition: DQMStore.h:727
ConversionPostprocessing::endJob
void endJob() override
Definition: ConversionPostprocessing.cc:58
ConversionPostprocessing::convEffEtaTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
Definition: ConversionPostprocessing.h:104
ConversionPostprocessing::etBin
int etBin
Definition: ConversionPostprocessing.h:82
ConversionPostprocessing::convEffRTwoTracksAndVtxProbGT0_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
Definition: ConversionPostprocessing.h:105
Service.h
ConversionPostprocessing::etMin
double etMin
Definition: ConversionPostprocessing.h:80
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ConversionPostprocessing::batch_
bool batch_
Definition: ConversionPostprocessing.h:74
TFileService.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
ConversionPostprocessing::ConversionPostprocessing
ConversionPostprocessing(const edm::ParameterSet &pset)
Definition: ConversionPostprocessing.cc:20
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
ConversionPostprocessing::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: ConversionPostprocessing.h:51
ConversionPostprocessing::convFakeRatePhiTwoTracks_
MonitorElement * convFakeRatePhiTwoTracks_
Definition: ConversionPostprocessing.h:109
ConversionPostprocessing::etaBin2
int etaBin2
Definition: ConversionPostprocessing.h:86
ConversionPostprocessing::dbe_
DQMStore * dbe_
Definition: ConversionPostprocessing.h:68
HLTTauDQMOffline_cfi.numerator
numerator
Definition: HLTTauDQMOffline_cfi.py:179
ConversionPostprocessing::standAlone_
bool standAlone_
Definition: ConversionPostprocessing.h:73
edm::EventSetup
Definition: EventSetup.h:57
ConversionPostprocessing::rBin
int rBin
Definition: ConversionPostprocessing.h:92
ConversionPostprocessing::beginJob
void beginJob() override
Definition: ConversionPostprocessing.cc:54
ConversionPostprocessing::convEffEtTwoTracks_
MonitorElement * convEffEtTwoTracks_
Definition: ConversionPostprocessing.h:101
ConversionPostprocessing::etMax
double etMax
Definition: ConversionPostprocessing.h:81
ConversionPostprocessing::convEffZTwoTracks_
MonitorElement * convEffZTwoTracks_
Definition: ConversionPostprocessing.h:100
HLTTauDQMOffline_cfi.denominator
denominator
Definition: HLTTauDQMOffline_cfi.py:180
ConversionPostprocessing::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: ConversionPostprocessing.h:50
ConversionPostprocessing::phiMax
double phiMax
Definition: ConversionPostprocessing.h:88
ConversionPostprocessing::rMax
double rMax
Definition: ConversionPostprocessing.h:91
ConversionPostprocessing::zMax
double zMax
Definition: ConversionPostprocessing.h:94
ConversionPostprocessing::zMin
double zMin
Definition: ConversionPostprocessing.h:93
EventSetup.h
Exception.h
ConversionPostprocessing::etaMax
double etaMax
Definition: ConversionPostprocessing.h:84
ParameterSet.h
ConversionPostprocessing::phiMin
double phiMin
Definition: ConversionPostprocessing.h:87
edm::Event
Definition: Event.h:73
ConversionPostprocessing
Definition: ConversionPostprocessing.h:48
ConversionPostprocessing::phiBin
int phiBin
Definition: ConversionPostprocessing.h:89
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ConversionPostprocessing::etaBin
int etaBin
Definition: ConversionPostprocessing.h:85