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 
82  public:
83 
84  explicit JetAnalyzer_HeavyIons (const edm::ParameterSet&);
85  virtual ~JetAnalyzer_HeavyIons();
86 
87  void analyze(const edm::Event&, const edm::EventSetup&) override;
88  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
89 
90  private:
91 
95 
102  double mRThreshold;
104 
105  //Tokens
115 
120 
139 
143 
147 
151 
155 
159 
163 
167 
168  // Event variables (including centrality)
171 
172  // new additions Jan 12th 2015
176 
180 
196 
212 
228 
229 
245 
261 
277 
278  // Jet parameters
290 
291  // Parameters
292 
293  bool isCaloJet;
294  bool isJPTJet;
295  bool isPFJet;
296 
297  static const Int_t fourierOrder_ = 5;
298  static const Int_t etaBins_ = 15;
299 
300  static const Int_t nedge_pseudorapidity = etaBins_ + 1;
301 
302 
303 };
304 
305 
306 #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
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 * 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 * mSumPFVsPtInitial_n2p650_n2p043
MonitorElement * mSumPFPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p783_1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > pvToken_
MonitorElement * mSumPFVsPtInitial_n0p783_n0p522
MonitorElement * mSumCaloPt_eta
MonitorElement * mSumPFPt_0p522_0p783
MonitorElement * mSumPFPt_n2p650_n2p043
MonitorElement * mSumCaloPt_n1p740_n1p479
MonitorElement * mSumPFVsPt_1p740_2p043
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 * mSumSquaredPFVsPtInitial
MonitorElement * mSumCaloVsPtInitial_n1p131_n0p783
MonitorElement * mSumSquaredCaloVsPt
MonitorElement * mSumPFVsPt_1p131_1p479
MonitorElement * mSumPFPt_1p131_1p479
MonitorElement * mSumPFVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n0p783_n0p522
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 * 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 * mSumPFPt_n2p043_n1p740
MonitorElement * mSumCaloVsPtInitial_n0p783_n0p522
static const Int_t nedge_pseudorapidity
MonitorElement * mSumCaloVsPtInitial_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p522_0p783
MonitorElement * mSumPFVsPt_0p783_1p131
MonitorElement * mSumCaloPt_n1p479_n1p131
MonitorElement * mSumPFVsPtInitial_n1p740_n1p479
JetAnalyzer_HeavyIons(const edm::ParameterSet &)
MonitorElement * mSumPFVsPtInitial_1p740_2p043
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:43
MonitorElement * mSumCaloVsPt_0p783_1p131
MonitorElement * mSumCaloPt_1p740_2p043
MonitorElement * mSumPFVsPtInitial_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p043_2p650