CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetAnalyzer_HeavyIons.h
Go to the documentation of this file.
1 #ifndef JetAnalyzer_HeavyIons_H
2 #define JetAnalyzer_HeavyIons_H
3 
4 
5 //
6 // Jet Tester class for heavy ion jets. for DQM jet analysis monitoring
7 // For CMSSW_7_4_X, especially reading background subtracted jets
8 // author: Raghav Kunnawalkam Elayavalli,
9 // Jan 12th 2015
10 // Rutgers University, email: raghav.k.e at CERN dot CH
11 //
12 // this class will be very similar to the class available in the validation suite under RecoJets/JetTester_HeavyIons
13 //
14 
15 
16 #include <memory>
17 #include <fstream>
26 
34 
43 
49 
50 // include the basic jet for the PuPF jets.
53 // include the pf candidates
55 // include the voronoi subtraction
58 // include the centrality variables
60 
67 
72 #include <map>
73 #include <string>
74 
75 
76 const Int_t MAXPARTICLE = 10000;
77 const Double_t BarrelEta = 2.0;
78 const Double_t EndcapEta = 3.0;
79 const Double_t ForwardEta = 5.0;
80 
81 class MonitorElement;
82 
84 
85  public:
86 
87  explicit JetAnalyzer_HeavyIons (const edm::ParameterSet&);
88  virtual ~JetAnalyzer_HeavyIons();
89 
90  void analyze(const edm::Event&, const edm::EventSetup&) override;
91  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
92 
93  private:
94 
97 
104  double mRThreshold;
106 
110 
114 
115  //Tokens
125 
129 
137 
158 
179 
200 
212 
220 
234 
238 
242 
246 
250 
254 
258 
262 
263  // Event variables (including centrality)
266 
267  // new additions Jan 12th 2015
271 
275 
291 
307 
323 
324 
340 
356 
372 
373  // Jet parameters
385 
394 
403 
412 
421 
422  // Parameters
423 
424  bool isCaloJet;
425  bool isJPTJet;
426  bool isPFJet;
427 
428  static const Int_t fourierOrder_ = 5;
429  static const Int_t etaBins_ = 15;
430 
431  static const Int_t nedge_pseudorapidity = etaBins_ + 1;
432 
433 
434 
435 
436 };
437 
438 
439 #endif
static const Int_t etaBins_
MonitorElement * mPFCandpT_Forward_photon
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_30To50
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandToken_
MonitorElement * mPFVsPtInitial_Barrel_Centrality_25_20
MonitorElement * mSumPFVsPt_2p650_5p191
MonitorElement * mSumCaloVsPt_HF
MonitorElement * mSumCaloVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n5p191_n2p650
MonitorElement * mSumCaloVsPt_n1p131_n0p783
MonitorElement * mSumSquaredPFPt
MonitorElement * mPFCandpT_vs_eta_electron
MonitorElement * mSumPFVsPtInitial
edm::EDGetTokenT< reco::CandidateView > caloCandViewToken_
MonitorElement * mSumCaloPt_n2p043_n1p740
MonitorElement * mPFVsPtInitial_Barrel_Centrality_10_5
MonitorElement * mPFCandpT_Forward_EME_inHF
const Double_t EndcapEta
edm::EDGetTokenT< reco::JPTJetCollection > jptJetsToken_
MonitorElement * mSumCaloVsPtInitial_HF
MonitorElement * mSumPFVsPtInitial_1p131_1p479
MonitorElement * mSumSquaredCaloVsPt_eta
MonitorElement * mSumPFVsPt_n5p191_n2p650
MonitorElement * mPFVsPtInitial_EndCap_Centrality_60_55
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_80To120
MonitorElement * mSumCaloVsPtInitial_n2p650_n2p043
MonitorElement * mCaloVsPtInitial
MonitorElement * mPFDeltaR_pTCorrected_PFpT_180To300
MonitorElement * mSumCaloVsPt_1p479_1p740
MonitorElement * mPFVsPtInitial_Barrel_Centrality_55_50
MonitorElement * mPFVsPtInitial_Barrel_Centrality_90_85
MonitorElement * mSumCaloVsPt_n2p650_n2p043
MonitorElement * mSumCaloVsPt_n0p783_n0p522
MonitorElement * mSumSquaredCaloVsPtInitial_eta
MonitorElement * mPFVsPtInitial_EndCap_Centrality_15_10
MonitorElement * mSumCaloVsPtInitial_1p479_1p740
MonitorElement * mPFCandpT_Forward_muon
MonitorElement * mPFVsPtInitial_HF_Centrality_75_70
MonitorElement * mSumPFVsPt_n2p043_n1p740
MonitorElement * mPFVsPtInitial_EndCap_Centrality_55_50
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
MonitorElement * mSumCaloVsPtInitial_1p131_1p479
MonitorElement * mPFVsPtInitial_HF_Centrality_20_15
MonitorElement * mSumCaloPt_0p783_1p131
MonitorElement * mPFVsPtInitial_EndCap_Centrality_25_20
MonitorElement * mPFCandpT_Endcap_NeutralHadron
MonitorElement * mPFVsPtInitial_HF
MonitorElement * mPFVsPtInitial_HF_Centrality_25_20
edm::EDGetTokenT< std::vector< float > > backgrounds_value_
MonitorElement * mSumCaloVsPtInitial_n1p479_n1p131
MonitorElement * mPFVsPtInitial_Barrel_Centrality_5_0
MonitorElement * mPFCandpT_vs_eta_EME_inHF
MonitorElement * mSumPFPt_n0p522_0p522
MonitorElement * mSumSquaredCaloPt
MonitorElement * mPFVsPtInitial_Barrel_Centrality_95_90
MonitorElement * mSumPFPt_2p043_2p650
MonitorElement * mSumPFVsPt_0p522_0p783
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mSumSquaredCaloVsPtInitial
MonitorElement * mSumCaloPt_1p131_1p479
MonitorElement * mPFVsPtInitial_EndCap_Centrality_30_25
MonitorElement * mSumSquaredPFVsPt_eta
MonitorElement * mSumPFVsPt_eta
MonitorElement * mSumPFVsPtInitial_2p650_5p191
MonitorElement * mSumCaloVsPt_1p131_1p479
MonitorElement * mSumPFPt_n1p740_n1p479
MonitorElement * mPFVsPtInitial_HF_Centrality_85_80
MonitorElement * mSumPFVsPtInitial_n2p650_n2p043
MonitorElement * mSumPFPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p783_1p131
MonitorElement * mPFCandpT_Forward_electron
MonitorElement * mPFDeltaR_pTCorrected_PFpT_300ToInf
edm::EDGetTokenT< std::vector< reco::Vertex > > pvToken_
MonitorElement * mSumPFVsPtInitial_n0p783_n0p522
MonitorElement * mPFVsPtInitial_EndCap_Centrality_10_5
MonitorElement * mSumCaloPt_eta
MonitorElement * mSumPFPt_0p522_0p783
MonitorElement * mSumPFPt_n2p650_n2p043
MonitorElement * mPFCandpT_vs_eta_muon
MonitorElement * mPFVsPtInitial_EndCap_Centrality_80_75
MonitorElement * mSumCaloPt_n1p740_n1p479
MonitorElement * mPFVsPtInitial_Barrel_Centrality_15_10
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_50To80
MonitorElement * mSumPFVsPt_1p740_2p043
MonitorElement * mPFCandpT_Endcap_HadE_inHF
edm::EDGetTokenT< int > centralityBinToken
MonitorElement * mSumCaloPt_0p522_0p783
MonitorElement * mSumCaloVsPt_n1p479_n1p131
MonitorElement * mPFCandpT_Endcap_ChargedHadron
MonitorElement * mSumCaloPt_n2p650_n2p043
MonitorElement * mSumPFPt_0p783_1p131
static const Int_t fourierOrder_
MonitorElement * mSumCaloPt_1p479_1p740
MonitorElement * mSumPFVsPt_1p479_1p740
MonitorElement * mPFCandpT_vs_eta_NeutralHadron
MonitorElement * mSumPFVsPt_HF
MonitorElement * mPFVsPtInitial_HF_Centrality_45_40
MonitorElement * mSumCaloVsPtInitial_0p522_0p783
MonitorElement * mPFVsPtInitial_EndCap_Centrality_100_95
MonitorElement * mSumCaloPt_HF
MonitorElement * mPFVsPtInitial
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_20To30
MonitorElement * mPFVsPtInitial_EndCap_Centrality_70_65
MonitorElement * mSumCaloVsPtInitial_n0p522_0p522
MonitorElement * mSumPFVsPtInitial_n1p479_n1p131
MonitorElement * mPFVsPtInitial_Barrel_Centrality_100_95
MonitorElement * mPFCandpT_vs_eta_photon
MonitorElement * mPFVsPtInitial_Barrel_Centrality_20_15
MonitorElement * mSumPFVsPt_n2p650_n2p043
MonitorElement * mSumPFVsPt_n0p522_0p522
const Int_t MAXPARTICLE
edm::EDGetTokenT< reco::Centrality > centralityToken
MonitorElement * mSumSquaredPFVsPtInitial
MonitorElement * mPFCandpT_Forward_ChargedHadron
MonitorElement * mSumCaloVsPtInitial_n1p131_n0p783
MonitorElement * mSumSquaredCaloVsPt
MonitorElement * mSumPFVsPt_1p131_1p479
MonitorElement * mPFVsPtInitial_Barrel_Centrality_75_70
MonitorElement * mSumPFPt_1p131_1p479
MonitorElement * mSumPFVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n0p783_n0p522
edm::Handle< int > centralityBin_
MonitorElement * mPFCandpT_Endcap_muon
MonitorElement * mPFCandpT_Endcap_photon
MonitorElement * mPFDeltaR_Scaled_R
MonitorElement * mSumPFPt_n1p479_n1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > hiVertexToken_
MonitorElement * mPFVsPtInitial_EndCap_Centrality_65_60
MonitorElement * mConstituents
MonitorElement * mPFDeltaR_pTCorrected_PFpT_80To120
MonitorElement * mPFVsPtInitial_EndCap_Centrality_50_45
MonitorElement * mPFVsPtInitial_EndCap_Centrality_35_30
MonitorElement * mPFDeltaR_pTCorrected_PFpT_50To80
MonitorElement * mPFVsPtInitial_EndCap_Centrality_95_90
MonitorElement * mPFCandpT_Barrel_photon
MonitorElement * mPFVsPtInitial_HF_Centrality_40_35
MonitorElement * mSumPFVsPt_n1p479_n1p131
MonitorElement * mPFVsPtInitial_EndCap_Centrality_75_70
MonitorElement * mPFVsPtInitial_HF_Centrality_50_45
MonitorElement * mSumSquaredPFVsPt
MonitorElement * mPFVsPtDeltaR_pTCorrected
MonitorElement * mPFDeltaR_pTCorrected
MonitorElement * mSumCaloVsPt_n1p740_n1p479
MonitorElement * mSumCaloVsPtInitial_1p740_2p043
MonitorElement * mSumCaloPt_n0p783_n0p522
MonitorElement * mPFVsPtInitial_HF_Centrality_90_85
MonitorElement * mSumSquaredCaloPt_eta
MonitorElement * mPFDeltaR_pTCorrected_PFpT_20To30
MonitorElement * mSumCaloVsPtInitial_2p043_2p650
MonitorElement * mPFCandpT_Barrel_Unknown
MonitorElement * mSumCaloPt_n0p522_0p522
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_120To180
MonitorElement * mSumPFVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n2p043_n1p740
MonitorElement * mPFCandpT_Barrel_NeutralHadron
edm::Handle< reco::Centrality > centrality_
MonitorElement * mPFCandpT_Endcap_Unknown
MonitorElement * mPFDeltaR_pTCorrected_PFpT_30To50
MonitorElement * mSumPFPt_n5p191_n2p650
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_300ToInf
MonitorElement * mSumPFVsPt_2p043_2p650
MonitorElement * mSumCaloVsPt_1p740_2p043
const Double_t ForwardEta
MonitorElement * mSumCaloVsPt_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p650_5p191
MonitorElement * mPFCandpT_vs_eta_ChargedHadron
MonitorElement * mSumPFVsPtInitial_n5p191_n2p650
MonitorElement * mPFCandpT_Forward_HadE_inHF
edm::EDGetTokenT< reco::BasicJetCollection > basicJetsToken_
MonitorElement * mSumPFVsPtInitial_HF
MonitorElement * mPFCandpT_Barrel_ChargedHadron
MonitorElement * mSumCaloVsPtInitial_n1p740_n1p479
MonitorElement * mPFCandpT_Barrel_HadE_inHF
MonitorElement * mPFVsPtInitial_HF_Centrality_15_10
MonitorElement * mSumPFPt_1p479_1p740
MonitorElement * mSumCaloPt_2p650_5p191
MonitorElement * mPFVsPtInitial_Barrel_Centrality_60_55
MonitorElement * mPFVsPtInitial_Barrel_Centrality_30_25
MonitorElement * mPFVsPtInitial_Barrel_Centrality_85_80
MonitorElement * mPFVsPtInitial_HF_Centrality_80_75
edm::InputTag mInputPFCandCollection
MonitorElement * mSumPFVsPtInitial_n1p131_n0p783
edm::EDGetTokenT< edm::ValueMap< reco::VoronoiBackground > > backgrounds_
MonitorElement * mPFVsPtInitial_HF_Centrality_95_90
MonitorElement * mSumSquaredPFPt_eta
MonitorElement * mSumPFPt_n1p131_n0p783
MonitorElement * mPFCandpT_Endcap_EME_inHF
MonitorElement * mSumCaloVsPtInitial_n5p191_n2p650
MonitorElement * mPFCandpT_vs_eta_HadE_inHF
MonitorElement * mPFVsPtInitial_HF_Centrality_65_60
MonitorElement * mPFVsPtInitial_HF_Centrality_100_95
MonitorElement * mSumCaloVsPtInitial
edm::EDGetTokenT< reco::CandidateView > pfCandViewToken_
MonitorElement * mSumCaloVsPtInitial_eta
edm::EDGetTokenT< CaloTowerCollection > caloTowersToken_
MonitorElement * mPFVsPtInitialDeltaR_pTCorrected
MonitorElement * mSumCaloVsPtInitial_0p783_1p131
MonitorElement * mSumPFPt_1p740_2p043
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * mPFCandpT_Forward_Unknown
MonitorElement * mSumCaloPt_n5p191_n2p650
MonitorElement * mPFVsPtInitial_HF_Centrality_60_55
MonitorElement * mSumPFPt_n0p783_n0p522
MonitorElement * mSumCaloPt_2p043_2p650
MonitorElement * mSumCaloPt_n1p131_n0p783
MonitorElement * mPFVsPtInitial_Barrel_Centrality_45_40
MonitorElement * mPFVsPtInitial_Barrel_Centrality_50_45
MonitorElement * mSumPFPt_n2p043_n1p740
MonitorElement * mPFVsPtInitial_EndCap_Centrality_5_0
MonitorElement * mPFCandpT_Barrel_electron
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_180To300
MonitorElement * mPFVsPtInitial_EndCap_Centrality_45_40
MonitorElement * mSumCaloVsPtInitial_n0p783_n0p522
MonitorElement * mPFVsPtInitial_HF_Centrality_5_0
MonitorElement * mPFCandpT_Endcap_electron
static const Int_t nedge_pseudorapidity
MonitorElement * mPFVsPtInitial_EndCap_Centrality_20_15
MonitorElement * mPFVsPtInitial_Barrel_Centrality_40_35
MonitorElement * mSumCaloVsPtInitial_2p650_5p191
MonitorElement * mPFVsPtInitial_EndCap_Centrality_90_85
const Double_t BarrelEta
MonitorElement * mSumPFVsPtInitial_0p522_0p783
MonitorElement * mPFVsPtInitial_Barrel_Centrality_35_30
MonitorElement * mSumPFVsPt_0p783_1p131
MonitorElement * mPFVsPtInitial_HF_Centrality_10_5
MonitorElement * mPFVsPtInitial_Barrel_Centrality_70_65
MonitorElement * mSumCaloPt_n1p479_n1p131
MonitorElement * mPFDeltaR_pTCorrected_PFpT_120To180
MonitorElement * mSumPFVsPtInitial_n1p740_n1p479
JetAnalyzer_HeavyIons(const edm::ParameterSet &)
MonitorElement * mSumPFVsPtInitial_1p740_2p043
MonitorElement * mPFCandpT_Barrel_EME_inHF
MonitorElement * mPFVsPtInitial_EndCap_Centrality_40_35
MonitorElement * mSumPFVsPt_n1p740_n1p479
MonitorElement * mPFVsPtInitial_HF_Centrality_35_30
MonitorElement * mSumSquaredPFVsPtInitial_eta
MonitorElement * mSumPFVsPt_n1p131_n0p783
MonitorElement * mSumPFVsPtInitial_2p043_2p650
MonitorElement * mSumCaloVsPt_eta
MonitorElement * mPFCandpT_vs_eta_Unknown
MonitorElement * mSumCaloVsPt_0p522_0p783
MonitorElement * mPFVsPtInitial_Barrel_Centrality_65_60
MonitorElement * mPFCandpT_Forward_NeutralHadron
MonitorElement * mPFVsPtInitial_Barrel_Centrality_80_75
MonitorElement * mSumPFVsPtInitial_eta
Definition: Run.h:43
MonitorElement * mPFVsPtInitial_EndCap_Centrality_85_80
MonitorElement * mSumCaloVsPt_0p783_1p131
MonitorElement * mSumCaloPt_1p740_2p043
MonitorElement * mSumPFVsPtInitial_n0p522_0p522
MonitorElement * mPFVsPtInitial_HF_Centrality_70_65
MonitorElement * mPFVsPtInitial_HF_Centrality_30_25
MonitorElement * mPFVsPtInitial_HF_Centrality_55_50
MonitorElement * mSumCaloVsPt_2p043_2p650
MonitorElement * mPFCandpT_Barrel_muon