CMS 3D CMS Logo

MatchCandidateBenchmark.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_Benchmark_MatchCandidateBenchmark_h
2 #define RecoParticleFlow_Benchmark_MatchCandidateBenchmark_h
3 
5 
9 
10 #include <vector>
11 
14 
15  public:
16 
18 
19  ~MatchCandidateBenchmark() override;
20 
22  void setup(DQMStore::IBooker& b);
24 
26  void fillOne( const reco::Candidate& candidate,
27  const reco::Candidate& matchedCandidate );
28 
29  void fillOne( const reco::Candidate& candidate,
30  const reco::Candidate& matchedCandidate,
31  const edm::ParameterSet& parameterSet );
32 
33  protected:
34 
39 
42  std::vector<TH1F*> pTRes_ ;
43  std::vector<TH1F*> BRpTRes_ ;
44  std::vector<TH1F*> ERpTRes_ ;
45 
47 
48 };
49 
50 
51 
52 #endif
To plot Candidate quantities.
void fillOne(const reco::Candidate &candidate, const reco::Candidate &matchedCandidate)
fill histograms with a given particle
abstract base class
Definition: Benchmark.h:22
void setup(DQMStore::IBooker &b)
book histograms
std::vector< TH1F * > pTRes_
std::vector< TH1F * > BRpTRes_
double b
Definition: hdecay.h:120
std::vector< TH1F * > ERpTRes_
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11