test
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 
4 
5 // #include "DQMServices/Core/interface/MonitorElement.h"
6 // #include "DQMServices/Core/interface/DQMStore.h"
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();
47  pfCandBench_.setup();
48  matchCandBench_.setup();
49 }
50 
51 
52 
virtual void setDirectory(TDirectory *dir)
Definition: Benchmark.cc:19
void setParameters(float dRMax=0.3, bool matchCharge=true, Benchmark::Mode mode=Benchmark::DEFAULT)
set the benchmark parameters
void setDirectory(TDirectory *dir)
set directory (to use in ROOT)
dbl *** dir
Definition: mlp_gen.cc:35
void setup()
book histograms