CMS 3D CMS Logo

PFCandidateManager.cc
Go to the documentation of this file.
2 
4 
6 
7 #include <TFile.h>
8 #include <TH1.h>
9 #include <TH2.h>
10 #include <TROOT.h>
11 
12 using namespace std;
13 
15 
18 
19  candBench_.setDirectory(dir);
20  pfCandBench_.setDirectory(dir);
21  matchCandBench_.setDirectory(dir);
22 }
23 
25  dRMax_ = dRMax;
26  matchCharge_ = matchCharge;
27  mode_ = mode;
28 
29  candBench_.setParameters(mode);
30  pfCandBench_.setParameters(mode);
31  matchCandBench_.setParameters(mode);
32 }
33 
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