CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SoftLeptonTagPlotter.h
Go to the documentation of this file.
1 #ifndef RecoBTag_Analysis_SoftLeptonTagPlotter_h
2 #define RecoBTag_Analysis_SoftLeptonTagPlotter_h
3 
7 // #include "RecoBTag/MCTools/interface/JetFlavour.h"
9 
11 public:
12 
13  SoftLeptonTagPlotter(const std::string & tagName, const EtaPtBin & etaPtBin,
14  const edm::ParameterSet& pSet, const unsigned int& mc,
15  const bool& willFinalize, DQMStore::IBooker & ibook);
16 
17  ~SoftLeptonTagPlotter( void ) ;
18 
19  void analyzeTag (const reco::BaseTagInfo * baseTagInfo, const double & jec, const int & jetFlavour);
20  void analyzeTag (const reco::BaseTagInfo * baseTagInfo, const double & jec, const int & jetFlavour, const float & w);
21 
22  virtual void finalize(DQMStore::IBooker & ibook_, DQMStore::IGetter & igetter_) {}
23 
24  void psPlot( const std::string & name );
25  void epsPlot( const std::string & name );
26 
27 private:
28 
29  unsigned int mcPlots_;
31 
32  // keep plots for up to 3 leptons per jet
33  static const int s_leptons = 2;
34  FlavourHistograms<double> * m_leptonId[s_leptons]; // lepton identification discriminant
35  FlavourHistograms<double> * m_leptonPt[s_leptons]; // lepton transverse momentum
36  FlavourHistograms<double> * m_sip2dsig[s_leptons]; // 2D signed inpact parameter significance
37  FlavourHistograms<double> * m_sip3dsig[s_leptons]; // 3D signed inpact parameter significance
38  FlavourHistograms<double> * m_sip2d[s_leptons]; // 2D signed inpact parameter
39  FlavourHistograms<double> * m_sip3d[s_leptons]; // 3D signed inpact parameter
40  FlavourHistograms<double> * m_ptRel[s_leptons]; // transverse momentum wrt. jet axis
41  FlavourHistograms<double> * m_p0Par[s_leptons]; // parallel momentum wrt. jet axis in the B rest frame
42  FlavourHistograms<double> * m_etaRel[s_leptons]; // (pseudo)rapidity along jet axis
43  FlavourHistograms<double> * m_deltaR[s_leptons]; // (pseudo)angular distance to jet axis
44  FlavourHistograms<double> * m_ratio[s_leptons]; // momentum over jet energy
45  FlavourHistograms<double> * m_ratioRel[s_leptons]; // momentum parallel to jet axis over jet energy
46 
47 };
48 
49 #endif // RecoBTag_Analysis_SoftLeptonTagPlotter_h
FlavourHistograms< double > * m_leptonPt[s_leptons]
FlavourHistograms< double > * m_sip3d[s_leptons]
virtual void finalize(DQMStore::IBooker &ibook_, DQMStore::IGetter &igetter_)
FlavourHistograms< double > * m_ratio[s_leptons]
const double w
Definition: UKUtility.cc:23
const EtaPtBin & etaPtBin()
FlavourHistograms< double > * m_leptonId[s_leptons]
void psPlot(const std::string &name)
SoftLeptonTagPlotter(const std::string &tagName, const EtaPtBin &etaPtBin, const edm::ParameterSet &pSet, const unsigned int &mc, const bool &willFinalize, DQMStore::IBooker &ibook)
FlavourHistograms< double > * m_ratioRel[s_leptons]
FlavourHistograms< double > * m_sip2dsig[s_leptons]
void epsPlot(const std::string &name)
FlavourHistograms< double > * m_ptRel[s_leptons]
FlavourHistograms< double > * m_p0Par[s_leptons]
FlavourHistograms< double > * m_etaRel[s_leptons]
FlavourHistograms< double > * m_sip2d[s_leptons]
void analyzeTag(const reco::BaseTagInfo *baseTagInfo, const double &jec, const int &jetFlavour)
static const int s_leptons
FlavourHistograms< double > * m_sip3dsig[s_leptons]
FlavourHistograms< double > * m_deltaR[s_leptons]