CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTTauDQMCaloPlotter.h
Go to the documentation of this file.
1 // Original Author: Michail Bachtis
2 // Created: Sun Jan 20 20:10:02 CST 2008
3 // University of Wisconsin-Madison
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
26 #include <string>
27 
28 //Include DQM core
31 
33 typedef std::vector<LV> LVColl;
34 
35 //
36 // class decleration
37 //
38 
39 
41  public:
42  HLTTauDQMCaloPlotter(const edm::ParameterSet&,int,int,int,double,bool,double);
44  void analyze(const edm::Event&, const edm::EventSetup&,const LVColl&);
45 
46  private:
47 
48  //Parameters to read
49  std::vector<edm::InputTag> l2preJets_;
50  edm::InputTag l2TauInfoAssoc_; //Path to analyze
51  edm::InputTag met_; //Handle to missing Et
52  bool doRef_; //DoReference Analysis
53  //Select if you want match or not
55  std::string triggerTag_;//tag for dqm flder
56  edm::InputTag l2Isolated_; //Path to analyze
57 
58  //Histogram Limits
59 
60  double EtMax_;
61  int NPtBins_;
62  int NEtaBins_;
63  int NPhiBins_;
64 
65 
67 
68  //Monitor elements main
72 
76 
80 
82 
83 
86 
89 
94 
99 
100 
101 
108 
115 
116  bool matchJet(const reco::Jet&,const reco::CaloJetCollection&);//See if this Jet Is Matched
117  std::pair<bool,LV> match(const reco::Jet&,const LVColl&);//See if this Jet Is Matched
118  std::pair<bool,reco::CaloJet> inverseMatch(const LV&,const reco::CaloJetCollection&);//See if this Jet Is Matched
119 
120 
121  class SorterByPt {
122  public:
126  {
127  return jet1.pt()>jet2.pt();
128  }
129  };
130 
131 
132 
133 };
134 
135 
MonitorElement * isoEtaEffDenom
MonitorElement * hcalClusterDeltaRRMS
Jets made from CaloTowers.
Definition: CaloJet.h:30
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:15
MonitorElement * isoEtaEffNum
Base class for all types of Jets.
Definition: Jet.h:21
std::vector< edm::InputTag > l2preJets_
MonitorElement * preJetEta
MonitorElement * nHcalClusters
MonitorElement * isoEtEffDenom
MonitorElement * ecalClusterEtaRMS
MonitorElement * isoEtEffNum
MonitorElement * seedHcalEt
MonitorElement * recoPhiEffDenom
MonitorElement * isoPhiEffNum
bool operator()(reco::CaloJet jet1, reco::CaloJet jet2)
math::XYZTLorentzVectorD LV
MonitorElement * ecalClusterDeltaRRMS
MonitorElement * seedEcalEt
MonitorElement * isoJetEta
void analyze(const edm::Event &, const edm::EventSetup &, const LVColl &)
MonitorElement * isoJetEt
MonitorElement * preJetPhi
MonitorElement * isoJetPhi
MonitorElement * ecalClusterPhiRMS
std::vector< LV > LVColl
MonitorElement * recoEtEffDenom
MonitorElement * recoEtaEffNum
MonitorElement * recoPhiEffNum
MonitorElement * recoEtaEffDenom
std::pair< bool, LV > match(const reco::Jet &, const LVColl &)
MonitorElement * isoPhiEffDenom
std::pair< bool, reco::CaloJet > inverseMatch(const LV &, const reco::CaloJetCollection &)
virtual double pt() const
transverse momentum
HLTTauDQMCaloPlotter(const edm::ParameterSet &, int, int, int, double, bool, double)
MonitorElement * preJetEt
MonitorElement * hcalClusterEtaRMS
MonitorElement * hcalIsolEt
MonitorElement * jetEtRes
bool matchJet(const reco::Jet &, const reco::CaloJetCollection &)
MonitorElement * recoEtEffNum
MonitorElement * ecalIsolEt
MonitorElement * hcalClusterPhiRMS
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
MonitorElement * nEcalClusters