Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:54

0001 #ifndef HLTriggerOffline_Higgs_HLTHiggsValidator_H
0002 #define HLTriggerOffline_Higgs_HLTHiggsValidator_H
0003 
0004 /** \class HLTHiggsValidator
0005 *  Generate histograms for trigger efficiencies Higgs related
0006 *  Documentation available on the CMS TWiki:
0007 *  https://twiki.cern.ch/twiki/bin/view/CMS/HiggsWGHLTValidate
0008 *
0009 *  \author  J. Duarte Campderros (based and adapted on J. Klukas,
0010 *           M. Vander Donckt and J. Alcaraz code from the 
0011 *           HLTriggerOffline/Muon package)
0012 */
0013 
0014 //#include "FWCore/PluginManager/interface/ModuleDef.h"
0015 //#include "FWCore/Framework/interface/MakerMacros.h"
0016 
0017 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0018 #include "FWCore/Framework/interface/Frameworkfwd.h"
0019 #include "FWCore/Framework/interface/Event.h"
0020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0021 
0022 #include "DQMServices/Core/interface/DQMStore.h"
0023 
0024 #include "HLTHiggsSubAnalysis.h"
0025 
0026 #include <vector>
0027 #include <cstring>
0028 
0029 struct EVTColContainer;
0030 
0031 class HLTHiggsValidator : public DQMEDAnalyzer {
0032 public:
0033   //! Constructor
0034   HLTHiggsValidator(const edm::ParameterSet &);
0035   ~HLTHiggsValidator() override;
0036 
0037 private:
0038   // concrete analyzer methods
0039   void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override;
0040   void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override;
0041   void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override;
0042 
0043   //! Input from configuration file
0044   edm::ParameterSet _pset;
0045   //! the names of the subanalysis
0046   std::vector<std::string> _analysisnames;
0047 
0048   //! The instances of the class which do the real work
0049   std::vector<HLTHiggsSubAnalysis> _analyzers;
0050 
0051   //! The container with all the collections needed
0052   EVTColContainer *_collections;
0053 };
0054 #endif