CMS 3D CMS Logo

PFClusterValidation.h
Go to the documentation of this file.
1 #ifndef Validation_RecoParticleFlow_plugins_PFClusterValidation_h
2 #define Validation_RecoParticleFlow_plugins_PFClusterValidation_h
3 
4 #include <algorithm>
5 #include <cmath>
6 #include <iostream>
7 #include <string>
8 #include <utility>
9 #include <vector>
10 
40 
42 public:
44  ~PFClusterValidation() override;
45  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
46  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
47 
48 private:
49  static constexpr double partR2 = 0.3 * 0.3; // dr cutoff (squared)
50  static double sumEnergy(edm::Handle<reco::PFClusterCollection> const& pfClusters, double eta, double phi);
51 
57 
61 
66 
70 
74 
78 
82 
86 
89 
100 
102 };
103 
104 #endif // Validation_RecoParticleFlow_plugins_PFClusterValidation_h
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
PFClusterValidation::ratio_Esummed_HCAL_1_
MonitorElement * ratio_Esummed_HCAL_1_
Definition: PFClusterValidation.h:72
PFClusterValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: PFClusterValidation.cc:22
MessageLogger.h
PFClusterValidation::partR2
static constexpr double partR2
Definition: PFClusterValidation.h:49
ESHandle.h
PFBlockElementCluster.h
PFCandidate.h
PFClusterValidation::hepMCTok_
edm::EDGetTokenT< edm::HepMCProduct > hepMCTok_
Definition: PFClusterValidation.h:52
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
PFClusterValidation::ratio_Esummed_HCAL_4_
MonitorElement * ratio_Esummed_HCAL_4_
Definition: PFClusterValidation.h:84
PFClusterValidation::ratio_Esummed_HO_2_
MonitorElement * ratio_Esummed_HO_2_
Definition: PFClusterValidation.h:77
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_1_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_1_
Definition: PFClusterValidation.h:93
DQMStore.h
PFClusterValidation::ratio_Esummed_ECAL_HCAL_1_
MonitorElement * ratio_Esummed_ECAL_HCAL_1_
Definition: PFClusterValidation.h:92
EDAnalyzer.h
PFClusterValidation::emean_vs_eta_HF_
MonitorElement * emean_vs_eta_HF_
Definition: PFClusterValidation.h:62
PFClusterValidation::ratio_Esummed_HO_1_
MonitorElement * ratio_Esummed_HO_1_
Definition: PFClusterValidation.h:73
PFClusterValidation::ratio_Esummed_HCAL_3_
MonitorElement * ratio_Esummed_HCAL_3_
Definition: PFClusterValidation.h:80
edm::Handle
Definition: AssociativeIterator.h:50
PFRecHit.h
PFClusterValidation::ratio_Esummed_ECAL_HCAL_4_
MonitorElement * ratio_Esummed_ECAL_HCAL_4_
Definition: PFClusterValidation.h:98
PFLayer.h
MakerMacros.h
PFClusterValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Definition: PFClusterValidation.cc:124
PFClusterValidation::ratio_Esummed_ECAL_HCAL_0_
MonitorElement * ratio_Esummed_ECAL_HCAL_0_
Definition: PFClusterValidation.h:90
PFClusterValidation::emean_vs_eta_EHFO_
MonitorElement * emean_vs_eta_EHFO_
Definition: PFClusterValidation.h:65
PFClusterValidation::ratio_Esummed_HCAL_0_
MonitorElement * ratio_Esummed_HCAL_0_
Definition: PFClusterValidation.h:68
PFClusterValidation::ratio_Esummed_ECAL_HCAL_2_
MonitorElement * ratio_Esummed_ECAL_HCAL_2_
Definition: PFClusterValidation.h:94
Service.h
PVValHelper::eta
Definition: PVValidationHelpers.h:69
PFClusterValidation::ratio_Esummed_ECAL_4_
MonitorElement * ratio_Esummed_ECAL_4_
Definition: PFClusterValidation.h:83
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_2_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_2_
Definition: PFClusterValidation.h:95
PFCluster.h
PFClusterValidation::pfClusterHFTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterHFTok_
Definition: PFClusterValidation.h:56
CaloClusterFwd.h
PFClusterValidation::emean_vs_eta_E_
MonitorElement * emean_vs_eta_E_
Definition: PFClusterValidation.h:58
PFClusterValidation::egen_MC_
MonitorElement * egen_MC_
Definition: PFClusterValidation.h:101
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_0_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_0_
Definition: PFClusterValidation.h:91
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
PFClusterValidation::ratio_Esummed_HF_6_
MonitorElement * ratio_Esummed_HF_6_
Definition: PFClusterValidation.h:88
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
PackedCandidate.h
PFClusterValidation::ratio_Esummed_HCAL_2_
MonitorElement * ratio_Esummed_HCAL_2_
Definition: PFClusterValidation.h:76
ModuleDef.h
PFClusterFwd.h
PFClusterValidation::ratio_Esummed_ECAL_HCAL_3_
MonitorElement * ratio_Esummed_ECAL_HCAL_3_
Definition: PFClusterValidation.h:96
PFClusterValidation::PFClusterValidation
PFClusterValidation(edm::ParameterSet const &conf)
Definition: PFClusterValidation.cc:9
PFClusterValidation::pfClusterHOTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterHOTok_
Definition: PFClusterValidation.h:55
PFClusterValidation::ratio_Esummed_HF_5_
MonitorElement * ratio_Esummed_HF_5_
Definition: PFClusterValidation.h:87
CaloTowerDetId.h
edm::EventSetup
Definition: EventSetup.h:57
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_4_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_4_
Definition: PFClusterValidation.h:99
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
PFClusterValidation::pfClusterECALTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterECALTok_
Definition: PFClusterValidation.h:53
PFClusterValidation
Definition: PFClusterValidation.h:41
PFClusterValidation::pfClusterHCALTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterHCALTok_
Definition: PFClusterValidation.h:54
PFClusterValidation::emean_vs_eta_EHF_
MonitorElement * emean_vs_eta_EHF_
Definition: PFClusterValidation.h:64
PFRecHitFraction.h
PFClusterValidation::~PFClusterValidation
~PFClusterValidation() override
Definition: PFClusterValidation.cc:20
CaloTowerCollection.h
PFClusterValidation::emean_vs_eta_HO_
MonitorElement * emean_vs_eta_HO_
Definition: PFClusterValidation.h:63
PFBlock.h
DDAxes::phi
PFClusterValidation::ratio_Esummed_ECAL_1_
MonitorElement * ratio_Esummed_ECAL_1_
Definition: PFClusterValidation.h:71
PFClusterValidation::emean_vs_eta_H_
MonitorElement * emean_vs_eta_H_
Definition: PFClusterValidation.h:59
DetId.h
Frameworkfwd.h
PFClusterValidation::ratio_Esummed_ECAL_3_
MonitorElement * ratio_Esummed_ECAL_3_
Definition: PFClusterValidation.h:79
PFClusterValidation::ratio_Esummed_HO_4_
MonitorElement * ratio_Esummed_HO_4_
Definition: PFClusterValidation.h:85
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
PFClusterValidation::ratio_Esummed_HO_3_
MonitorElement * ratio_Esummed_HO_3_
Definition: PFClusterValidation.h:81
PFClusterValidation::ratio_Esummed_HO_0_
MonitorElement * ratio_Esummed_HO_0_
Definition: PFClusterValidation.h:69
PFClusterValidation::emean_vs_eta_EH_
MonitorElement * emean_vs_eta_EH_
Definition: PFClusterValidation.h:60
ParameterSet.h
HepMCProduct.h
PFClusterValidation::ratio_Esummed_ECAL_2_
MonitorElement * ratio_Esummed_ECAL_2_
Definition: PFClusterValidation.h:75
edm::Event
Definition: Event.h:73
PFClusterValidation::sumEnergy
static double sumEnergy(edm::Handle< reco::PFClusterCollection > const &pfClusters, double eta, double phi)
Definition: PFClusterValidation.cc:219
Vector3D.h
PFBlockElementTrack.h
PFClusterValidation::ratio_Esummed_ECAL_0_
MonitorElement * ratio_Esummed_ECAL_0_
Definition: PFClusterValidation.h:67
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_3_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_3_
Definition: PFClusterValidation.h:97
CaloCluster.h
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37