Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:47

0001 #ifndef TrackProbabilityTagPlotter_H
0002 #define TrackProbabilityTagPlotter_H
0003 
0004 #include "DQMOffline/RecoB/interface/BaseTagInfoPlotter.h"
0005 #include "DataFormats/TrackReco/interface/Track.h"
0006 #include "DataFormats/BTauReco/interface/TrackProbabilityTagInfo.h"
0007 #include "DQMOffline/RecoB/interface/FlavourHistorgrams.h"
0008 // #include "RecoBTag/MCTools/interface/JetFlavour.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 
0011 class TrackProbabilityTagPlotter : public BaseTagInfoPlotter {
0012 public:
0013   TrackProbabilityTagPlotter(const std::string& tagName,
0014                              const EtaPtBin& etaPtBin,
0015                              const edm::ParameterSet& pSet,
0016                              const unsigned int& mc,
0017                              const bool& wf,
0018                              DQMStore::IBooker& ibook);
0019 
0020   ~TrackProbabilityTagPlotter() override;
0021 
0022   void analyzeTag(const reco::BaseTagInfo* tagInfo, double jec, int jetFlavour, float w = 1) override;
0023 
0024   void finalize(DQMStore::IBooker& ibook_, DQMStore::IGetter& igetter_) override;
0025 
0026   void epsPlot(const std::string& name) override;
0027 
0028   void psPlot(const std::string& name) override;
0029 
0030 private:
0031   int nBinEffPur_;
0032   double startEffPur_;
0033   double endEffPur_;
0034   std::vector<std::unique_ptr<FlavourHistograms<double>>> tkcntHistosSig3D_;
0035   std::vector<std::unique_ptr<FlavourHistograms<double>>> tkcntHistosSig2D_;
0036   std::vector<std::unique_ptr<EffPurFromHistos>> effPurFromHistos_;
0037   unsigned int mcPlots_;
0038   bool willFinalize_;
0039 };
0040 
0041 #endif