DQMOffline
PFTau
src
PFCandidateManager.cc
Go to the documentation of this file.
1
#include "
DQMOffline/PFTau/interface/PFCandidateManager.h
"
2
3
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
4
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include <TFile.h>
8
#include <TH1.h>
9
#include <TH2.h>
10
#include <TROOT.h>
11
12
using namespace
std
;
13
14
PFCandidateManager::~PFCandidateManager
() {}
15
16
void
PFCandidateManager::setDirectory
(TDirectory *
dir
) {
17
Benchmark::setDirectory
(
dir
);
18
19
candBench_.setDirectory(
dir
);
20
pfCandBench_.setDirectory(
dir
);
21
matchCandBench_.setDirectory(
dir
);
22
}
23
24
void
PFCandidateManager::setParameters
(
float
dRMax
,
bool
matchCharge
,
Benchmark::Mode
mode
) {
25
dRMax_ =
dRMax
;
26
matchCharge_ =
matchCharge
;
27
mode_ =
mode
;
28
29
candBench_.setParameters(
mode
);
30
pfCandBench_.setParameters(
mode
);
31
matchCandBench_.setParameters(
mode
);
32
}
33
34
void
PFCandidateManager::setup
(
DQMStore::IBooker
&
b
) {
35
candBench_.setup(
b
);
36
pfCandBench_.setup(
b
);
37
matchCandBench_.setup(
b
);
38
}
PFCandidateManager::setDirectory
void setDirectory(TDirectory *dir) override
set directory (to use in ROOT)
Definition:
PFCandidateManager.cc:16
PFCandidate.h
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
pfCandidateManager_cfi.matchCharge
matchCharge
Definition:
pfCandidateManager_cfi.py:15
b
double b
Definition:
hdecay.h:118
Benchmark::Mode
Mode
Definition:
Benchmark.h:32
PFCandidateManager.h
Benchmark::setDirectory
virtual void setDirectory(TDirectory *dir)
Definition:
Benchmark.cc:13
metBenchmark_cfi.dRMax
dRMax
Definition:
metBenchmark_cfi.py:18
std
Definition:
JetResolutionObject.h:76
PFCandidateManager::setParameters
void setParameters(float dRMax=0.3, bool matchCharge=true, Benchmark::Mode mode=Benchmark::DEFAULT)
set the benchmark parameters
Definition:
PFCandidateManager.cc:24
PFCandidateManager::~PFCandidateManager
~PFCandidateManager() override
Definition:
PFCandidateManager.cc:14
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
PFCandidateManager::setup
void setup(DQMStore::IBooker &b)
book histograms
Definition:
PFCandidateManager.cc:34
DeadROC_duringRun.dir
dir
Definition:
DeadROC_duringRun.py:23
Generated for CMSSW Reference Manual by
1.8.16