CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTTopPlotter.h
Go to the documentation of this file.
1 #ifndef DQMOffline_Trigger_HLTTopPlotter_H
2 #define DQMOffline_Trigger_HLTTopPlotter_H
3 
15 // Base Class Headers
17 //#include "DQMOffline/Trigger/interface/MuonInformationDump.h"
18 
32 //#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
35 
37 
40 //#include "CommonTools/Utilities/interface/StringCutObjectSelector.h"
43 
45 
47 
48 
49 #include <vector>
50 #include "TFile.h"
51 #include "TNtuple.h"
52 
53 
54 
56 
58 
59  // Inheritance means TopPlotter has all the same
60  // members and functions as HLTMuonMatchAndPlot
61  // In this header we can define extras for top
62 
63 
64 public:
65 
67  HLTTopPlotter( const edm::ParameterSet& pset, std::string triggerName,
68  std::vector<std::string> moduleNames, MuonSelectionStruct inputSelection,
69  std::string customName,
70  std::vector<std::string> validTriggers,
71  const edm::Run & currentRun,
72  const edm::EventSetup & currentEventSetup);
73 
74  // Operations
75  void begin ( );
76  void analyze( const edm::Event & iEvent );
77  void finish ( );
78  //MonitorElement* bookIt ( TString name, TString title, std::vector<double> );
79 
80 
81 
82 private:
83 
84  std::vector <MonitorElement*> hDeltaRMaxJetLep;
85  std::vector <MonitorElement*> hJetMultip;
86 
87  void sortJets (reco::CaloJetCollection & theJets);
88 
89  double EtaCut_, PtCut_;
90  int NJets_;
92 
93  std::vector<double> theJetMParameters;
94 
95 
96 };
97 #endif
void sortJets(reco::CaloJetCollection &theJets)
std::vector< MonitorElement * > hDeltaRMaxJetLep
Definition: HLTTopPlotter.h:84
std::vector< MonitorElement * > hJetMultip
Definition: HLTTopPlotter.h:85
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
std::vector< double > theJetMParameters
Definition: HLTTopPlotter.h:93
int iEvent
Definition: GenABIO.cc:243
HLTTopPlotter(const edm::ParameterSet &pset, std::string triggerName, std::vector< std::string > moduleNames, MuonSelectionStruct inputSelection, std::string customName, std::vector< std::string > validTriggers, const edm::Run &currentRun, const edm::EventSetup &currentEventSetup)
Constructor.
tuple pset
Definition: CrabTask.py:85
void analyze(const edm::Event &iEvent)
edm::InputTag CaloJetInputTag
Definition: HLTTopPlotter.h:91
Definition: Run.h:31
math::PtEtaPhiELorentzVectorF LorentzVector
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects