Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:31

0001 #ifndef Fireworks_Core_FWHLTValidator_h
0002 #define Fireworks_Core_FWHLTValidator_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWHLTValidator
0007 //
0008 
0009 #include "Fireworks/Core/interface/FWValidatorBase.h"
0010 
0011 namespace edm {
0012   class TriggerNames;
0013 }
0014 
0015 class FWHLTValidator : public FWValidatorBase {
0016 public:
0017   FWHLTValidator(std::string& x) : m_process(x) {}
0018   ~FWHLTValidator() override {}
0019 
0020   void setProcess(const char* x) {
0021     m_process = x;
0022     m_triggerNames.clear();
0023   }
0024   void fillOptions(const char* iBegin,
0025                    const char* iEnd,
0026                    std::vector<std::pair<std::shared_ptr<std::string>, std::string> >& oOptions) const override;
0027 
0028   FWHLTValidator(const FWHLTValidator&) = delete;                   // stop default
0029   const FWHLTValidator& operator=(const FWHLTValidator&) = delete;  // stop default
0030 
0031 private:
0032   // ---------- member data --------------------------------
0033   std::string m_process;
0034   mutable std::vector<std::string> m_triggerNames;
0035 };
0036 
0037 #endif