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 }
virtual void setDirectory(TDirectory *dir)
Definition: Benchmark.cc:13
~PFCandidateManager() override
void setParameters(float dRMax=0.3, bool matchCharge=true, Benchmark::Mode mode=Benchmark::DEFAULT)
set the benchmark parameters
void setup(DQMStore::IBooker &b)
book histograms
void setDirectory(TDirectory *dir) override
set directory (to use in ROOT)
double b
Definition: hdecay.h:120