File indexing completed on 2024-04-06 12:18:52
0001 #ifndef HLTriggerOffline_Exotica_HLTExoticaValidator_H
0002 #define HLTriggerOffline_Exotica_HLTExoticaValidator_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/Framework/interface/Frameworkfwd.h"
0018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0019
0020 #include "DQMServices/Core/interface/DQMOneEDAnalyzer.h"
0021 #include "DQMServices/Core/interface/DQMStore.h"
0022
0023 #include "HLTriggerOffline/Exotica/interface/HLTExoticaSubAnalysis.h"
0024
0025 #include <cstring>
0026 #include <vector>
0027
0028 struct EVTColContainer;
0029
0030
0031
0032
0033
0034
0035
0036 class HLTExoticaValidator : public DQMOneEDAnalyzer<> {
0037 public:
0038
0039 HLTExoticaValidator(const edm::ParameterSet &);
0040 ~HLTExoticaValidator() override;
0041
0042 protected:
0043
0044 void bookHistograms(DQMStore::IBooker &iBooker, const edm::Run &iRun, const edm::EventSetup &iSetup) override;
0045
0046 private:
0047 void beginJob() override;
0048
0049 void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override;
0050
0051 void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override;
0052 void dqmEndRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override;
0053 void endJob() override;
0054
0055
0056 edm::ParameterSet _pset;
0057
0058 std::vector<std::string> _analysisnames;
0059
0060
0061 std::vector<HLTExoticaSubAnalysis> _analyzers;
0062
0063
0064 EVTColContainer *_collections;
0065 };
0066
0067 #endif