CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFCandidateManager.cc
Go to the documentation of this file.
2 
3 
5 
6 
8 
9 #include <TROOT.h>
10 #include <TFile.h>
11 #include <TH1.h>
12 #include <TH2.h>
13 
14 
15 using namespace std;
16 
17 
18 
20 
21 
23 
25 
26  candBench_.setDirectory(dir);
27  pfCandBench_.setDirectory(dir);
28  matchCandBench_.setDirectory(dir);
29 
30 }
31 
33  bool matchCharge,
35  dRMax_ = dRMax;
36  matchCharge_ = matchCharge;
37  mode_ = mode;
38 
39  candBench_.setParameters(mode);
40  pfCandBench_.setParameters(mode);
41  matchCandBench_.setParameters(mode);
42 
43 }
44 
46  candBench_.setup(b);
47  pfCandBench_.setup(b);
48  matchCandBench_.setup(b);
49 }
virtual void setDirectory(TDirectory *dir)
Definition: Benchmark.cc:18
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)
set directory (to use in ROOT)
double b
Definition: hdecay.h:120
dbl *** dir
Definition: mlp_gen.cc:35