1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef RecoParticleFlow_Benchmark_PFCandidateBenchmark_h
#define RecoParticleFlow_Benchmark_PFCandidateBenchmark_h
#include "DQMOffline/PFTau/interface/Benchmark.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
/// To plot specific PFCandidate quantities
/// the name of the histograms corresponds to the name of the
/// PFCandidate accessors.
class PFCandidateBenchmark : public Benchmark {
public:
PFCandidateBenchmark(Mode mode) : Benchmark(mode) {}
~PFCandidateBenchmark() override;
/// book histograms
void setup(DQMStore::IBooker &b);
void fill(const reco::PFCandidateCollection &pfCands);
/// fill histograms with a given particle
void fillOne(const reco::PFCandidate &pfCand);
protected:
TH1F *particleId_;
TH1F *ecalEnergy_;
TH1F *hcalEnergy_;
TH1F *mva_e_pi_;
TH1F *elementsInBlocksSize_;
};
#endif
|