CMS 3D CMS Logo

FWHLTValidator.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWHLTValidator_h
2 #define Fireworks_Core_FWHLTValidator_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWHLTValidator
7 //
8 
10 
11 namespace edm {
12  class TriggerNames;
13 }
14 
16 public:
17  FWHLTValidator(std::string& x) : m_process(x) {}
18  ~FWHLTValidator() override {}
19 
20  void setProcess(const char* x) {
21  m_process = x;
22  m_triggerNames.clear();
23  }
24  void fillOptions(const char* iBegin,
25  const char* iEnd,
26  std::vector<std::pair<std::shared_ptr<std::string>, std::string> >& oOptions) const override;
27 
28 private:
29  FWHLTValidator(const FWHLTValidator&) = delete; // stop default
30  const FWHLTValidator& operator=(const FWHLTValidator&) = delete; // stop default
31 
32  // ---------- member data --------------------------------
34  mutable std::vector<std::string> m_triggerNames;
35 };
36 
37 #endif
void setProcess(const char *x)
std::string m_process
std::vector< std::string > m_triggerNames
FWHLTValidator(std::string &x)
HLT enums.
~FWHLTValidator() override