/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoJets/JetAnalyzers/interface/JetValidation.h
44 строки
1 KB
Christopher Jones
Moved modules in RecoJets/JetAnalyzers to thread-friendly types
08 дек 2021, 00:25
08 дек 2021, 00:25
711d2bc
Код
Авторство
О чём код?
// Class: JetValidation.h // Description: Some Basic validation plots for jets. // Author: K. Kousouris // Date: 27 - August - 2008 // #ifndef JetValidation_h #define JetValidation_h #include <TH1.h> #include <TH2.h> #include <TProfile.h> #include <TFile.h> #include "TNamed.h" #include <vector> #include <map> #include "FWCore/Framework/interface/one/EDAnalyzer.h" class JetValidation : public edm::one::EDAnalyzer<> { public: JetValidation(edm::ParameterSet const& cfg); private: void beginJob() override; void analyze(edm::Event const& e, edm::EventSetup const& iSetup) override; void endJob() override; void FillHist1D(const TString& histName, const Double_t& x); void FillHist2D(const TString& histName, const Double_t& x, const Double_t& y); void FillHistProfile(const TString& histName, const Double_t& x, const Double_t& y); std::map<TString, TH1*> m_HistNames1D; std::map<TString, TH2*> m_HistNames2D; std::map<TString, TProfile*> m_HistNamesProfile; TFile* m_file; double PtMin; double dRmatch; int Njets; bool MCarlo; std::string histoFileName; std::string genAlgo; std::string calAlgo; std::string jetTracksAssociator; }; #endif