1 |
// -*- C++ -*-
|
2 |
#ifndef Plot_Reco
|
3 |
#define Plot_Reco
|
4 |
//
|
5 |
// Package: PlotReco
|
6 |
// Class: PlotReco
|
7 |
//
|
8 |
/**\class PlotReco PlotReco.h LJMet/Utils/interface/PlotReco.h
|
9 |
|
10 |
Description: Quick look at the RECO data
|
11 |
|
12 |
Implementation:
|
13 |
Keep this class as simple and fast as possible
|
14 |
*/
|
15 |
//
|
16 |
// Original Author: "Gena Kukartsev"
|
17 |
// Created: Tue Nov 10 13:39:12 CDT 2009
|
18 |
// $Id: PlotReco.h,v 1.2 2009/12/02 19:42:47 kukartse Exp $
|
19 |
//
|
20 |
//
|
21 |
|
22 |
|
23 |
#include <memory>
|
24 |
#include "TTree.h"
|
25 |
#include "Rtypes.h"
|
26 |
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
27 |
#include "FWCore/Framework/interface/EDAnalyzer.h"
|
28 |
#include "FWCore/Framework/interface/Event.h"
|
29 |
#include "FWCore/Framework/interface/MakerMacros.h"
|
30 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
31 |
#include "LJMet/Utils/interface/MeanCounter.h"
|
32 |
|
33 |
|
34 |
class PlotReco : public edm::EDAnalyzer {
|
35 |
public:
|
36 |
explicit PlotReco(const edm::ParameterSet&);
|
37 |
~PlotReco();
|
38 |
|
39 |
|
40 |
private:
|
41 |
virtual void beginJob() ;
|
42 |
virtual void analyze(const edm::Event&, const edm::EventSetup&);
|
43 |
virtual void endJob() ;
|
44 |
|
45 |
void init_leaves(void) ;
|
46 |
|
47 |
TTree * _tree;
|
48 |
Int_t ievent, ilumi, irun;
|
49 |
Int_t njets;
|
50 |
Double_t jet1_pt, jet1_eta, jet1_phi;
|
51 |
std::vector<double> jet_pt, jet_eta, jet_phi;
|
52 |
std::vector<double> track_pt, track_eta, track_phi;
|
53 |
};
|
54 |
|
55 |
#endif
|