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 
78 class MonitorElement;
79 
81  public:
82 
83  explicit JetAnalyzer_HeavyIons (const edm::ParameterSet&);
84  virtual ~JetAnalyzer_HeavyIons();
85 
86  void analyze(const edm::Event&, const edm::EventSetup&) override;
87  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
88 
89  private:
90 
94 
101  double mRThreshold;
103 
104  //Tokens
114 
115  //edm::EDGetTokenT<reco::VoronoiMap> backgrounds_;
120 
138  // MonitorElement *ueraw;
139 
143 
147 
151 
155 
159 
163 
167 
171 
172  // Event variables (including centrality)
175 
176  // new additions Jan 12th 2015
183  //MonitorElement *mSumDeltapT_HF;
186  //MonitorElement *mDeltapT_phiMinusPsi2;
188 
195 
208 
224 
240 
256 
257 
273 
289 
305 
306  // Jet parameters
318 
319  // Parameters
320 
321  bool isCaloJet;
322  bool isJPTJet;
323  bool isPFJet;
324 
325  static const Int_t fourierOrder_ = 5;
326  static const Int_t etaBins_ = 15;
327 
328  static const size_t nedge_pseudorapidity = etaBins_ + 1;
329 
330 
331 };
332 
333 
334 #endif
static const Int_t etaBins_
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandToken_
MonitorElement * mSumPFVsPt_2p650_5p191
MonitorElement * mSumCaloVsPt_HF
MonitorElement * mSumCaloVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n5p191_n2p650
MonitorElement * mSumCaloVsPt_n1p131_n0p783
MonitorElement * mSumSquaredPFPt
MonitorElement * mSumPFVsPtInitial
edm::EDGetTokenT< reco::CandidateView > caloCandViewToken_
MonitorElement * mSumCaloPt_n2p043_n1p740
MonitorElement * mPFVsPtInitial_eta_phi
edm::EDGetTokenT< reco::JPTJetCollection > jptJetsToken_
MonitorElement * mSumCaloVsPtInitial_HF
MonitorElement * mSumPFVsPtInitial_1p131_1p479
MonitorElement * mSumSquaredCaloVsPt_eta
MonitorElement * mSumPFVsPt_n5p191_n2p650
MonitorElement * mSumCaloVsPtInitial_n2p650_n2p043
MonitorElement * mCaloVsPtInitial
MonitorElement * mSumCaloVsPt_1p479_1p740
MonitorElement * mSumCaloVsPt_n2p650_n2p043
MonitorElement * mSumCaloVsPt_n0p783_n0p522
MonitorElement * mSumSquaredCaloVsPtInitial_eta
MonitorElement * mSumCaloVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n2p043_n1p740
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
MonitorElement * mSumCaloVsPtInitial_1p131_1p479
MonitorElement * mPFVsPt_eta_phi
MonitorElement * mSumCaloPt_0p783_1p131
edm::EDGetTokenT< std::vector< float > > backgrounds_value_
MonitorElement * mSumCaloVsPtInitial_n1p479_n1p131
MonitorElement * mSumPFPt_n0p522_0p522
MonitorElement * mSumSquaredCaloPt
MonitorElement * mSumPFPt_2p043_2p650
MonitorElement * mSumPFVsPt_0p522_0p783
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mSumSquaredCaloVsPtInitial
MonitorElement * mSumCaloPt_1p131_1p479
MonitorElement * mSumSquaredPFVsPt_eta
MonitorElement * mSumPFVsPt_eta
MonitorElement * mSumPFVsPtInitial_2p650_5p191
MonitorElement * mSumCaloVsPt_1p131_1p479
MonitorElement * mSumPFPt_n1p740_n1p479
MonitorElement * mDeltapT_eta_phi
MonitorElement * mSumPFVsPtInitial_n2p650_n2p043
MonitorElement * mCaloVsPtInitial_eta_phi
MonitorElement * mSumPFPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p783_1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > pvToken_
MonitorElement * mSumPFVsPtInitial_n0p783_n0p522
MonitorElement * mVs_1_y_versus_HF
MonitorElement * mSumCaloPt_eta
MonitorElement * mSumPFPt_0p522_0p783
MonitorElement * mSumPFPt_n2p650_n2p043
static const size_t nedge_pseudorapidity
MonitorElement * mSumCaloPt_n1p740_n1p479
MonitorElement * mSumPFVsPt_1p740_2p043
MonitorElement * mCaloPt_eta_phi
MonitorElement * mSumCaloPt_0p522_0p783
MonitorElement * mSumCaloVsPt_n1p479_n1p131
MonitorElement * mSumCaloPt_n2p650_n2p043
MonitorElement * mSumPFPt_0p783_1p131
static const Int_t fourierOrder_
MonitorElement * mSumCaloPt_1p479_1p740
MonitorElement * mSumPFVsPt_1p479_1p740
MonitorElement * mSumPFVsPt_HF
MonitorElement * mSumCaloVsPtInitial_0p522_0p783
MonitorElement * mSumCaloPt_HF
MonitorElement * mPFVsPtInitial
MonitorElement * mSumCaloVsPtInitial_n0p522_0p522
MonitorElement * mSumPFVsPtInitial_n1p479_n1p131
MonitorElement * mSumPFVsPt_n2p650_n2p043
MonitorElement * mSumPFVsPt_n0p522_0p522
const Int_t MAXPARTICLE
MonitorElement * mVs_0_y_versus_HF
MonitorElement * mSumSquaredPFVsPtInitial
MonitorElement * mSumCaloVsPtInitial_n1p131_n0p783
MonitorElement * mSumSquaredCaloVsPt
MonitorElement * mSumPFVsPt_1p131_1p479
MonitorElement * mSumPFPt_1p131_1p479
MonitorElement * mSumPFVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n0p783_n0p522
MonitorElement * mVs_1_x_versus_HF
MonitorElement * mSumPFPt_n1p479_n1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > hiVertexToken_
MonitorElement * mConstituents
MonitorElement * mSumPFVsPt_n1p479_n1p131
MonitorElement * mSumSquaredPFVsPt
MonitorElement * mSumCaloVsPt_n1p740_n1p479
MonitorElement * mSumCaloVsPtInitial_1p740_2p043
MonitorElement * mSumCaloPt_n0p783_n0p522
MonitorElement * mSumSquaredCaloPt_eta
edm::EDGetTokenT< reco::Centrality > centralityToken_
MonitorElement * mSumCaloVsPtInitial_2p043_2p650
MonitorElement * mSumCaloPt_n0p522_0p522
MonitorElement * mSumPFVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n2p043_n1p740
MonitorElement * mSumPFPt_n5p191_n2p650
MonitorElement * mSumPFVsPt_2p043_2p650
MonitorElement * mSumCaloVsPt_1p740_2p043
MonitorElement * mSumCaloVsPt_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_n5p191_n2p650
edm::EDGetTokenT< reco::BasicJetCollection > basicJetsToken_
MonitorElement * mSumPFVsPtInitial_HF
MonitorElement * mSumCaloVsPtInitial_n1p740_n1p479
MonitorElement * mSumPFPt_1p479_1p740
MonitorElement * mSumCaloPt_2p650_5p191
edm::InputTag mInputPFCandCollection
MonitorElement * mSumPFVsPtInitial_n1p131_n0p783
edm::EDGetTokenT< edm::ValueMap< reco::VoronoiBackground > > backgrounds_
MonitorElement * mSumSquaredPFPt_eta
MonitorElement * mSumPFPt_n1p131_n0p783
MonitorElement * mVs_0_x_versus_HF
MonitorElement * mSumCaloVsPtInitial_n5p191_n2p650
MonitorElement * mSumCaloVsPtInitial
edm::EDGetTokenT< reco::CandidateView > pfCandViewToken_
MonitorElement * mSumCaloVsPtInitial_eta
edm::EDGetTokenT< CaloTowerCollection > caloTowersToken_
MonitorElement * mSumCaloVsPtInitial_0p783_1p131
MonitorElement * mSumPFPt_1p740_2p043
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * mSumCaloPt_n5p191_n2p650
MonitorElement * mSumPFPt_n0p783_n0p522
MonitorElement * mSumCaloPt_2p043_2p650
MonitorElement * mSumCaloPt_n1p131_n0p783
MonitorElement * mPFPt_eta_phi
MonitorElement * mSumPFPt_n2p043_n1p740
MonitorElement * mSumCaloVsPtInitial_n0p783_n0p522
MonitorElement * mSumCaloVsPtInitial_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p522_0p783
MonitorElement * mSumPFVsPt_0p783_1p131
MonitorElement * mVs_2_y_versus_HF
MonitorElement * mSumCaloPt_n1p479_n1p131
MonitorElement * mSumPFVsPtInitial_n1p740_n1p479
JetAnalyzer_HeavyIons(const edm::ParameterSet &)
MonitorElement * mVs_2_x_versus_HF
MonitorElement * mSumPFVsPtInitial_1p740_2p043
MonitorElement * mCaloVsPt_eta_phi
MonitorElement * mSumPFVsPt_n1p740_n1p479
MonitorElement * mSumSquaredPFVsPtInitial_eta
MonitorElement * mSumPFVsPt_n1p131_n0p783
MonitorElement * mSumPFVsPtInitial_2p043_2p650
MonitorElement * mSumCaloVsPt_eta
MonitorElement * mSumCaloVsPt_0p522_0p783
MonitorElement * mSumPFVsPtInitial_eta
Definition: Run.h:41
MonitorElement * mSumCaloVsPt_0p783_1p131
MonitorElement * mSumCaloPt_1p740_2p043
MonitorElement * mSumPFVsPtInitial_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p043_2p650