CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/Fireworks/Core/interface/FWHLTValidator.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWHLTValidator_h
00002 #define Fireworks_Core_FWHLTValidator_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWHLTValidator
00007 // $Id: FWHLTValidator.h,v 1.4 2011/02/18 17:38:42 amraktad Exp $
00008 //
00009 
00010 #include "Fireworks/Core/src/FWValidatorBase.h"
00011 
00012 namespace edm {
00013   class TriggerNames;
00014 }
00015 
00016 class FWHLTValidator: public FWValidatorBase {
00017 
00018 public:
00019    FWHLTValidator(std::string& x):m_process(x){}
00020    virtual ~FWHLTValidator() {}
00021 
00022    void setProcess(const char* x) { m_process = x; m_triggerNames.clear(); }
00023    virtual void fillOptions(const char* iBegin, const char* iEnd,
00024                             std::vector<std::pair<boost::shared_ptr<std::string>, std::string> >& oOptions) const;
00025 private:
00026    FWHLTValidator(const FWHLTValidator&); // stop default
00027    const FWHLTValidator& operator=(const FWHLTValidator&); // stop default
00028   
00029    // ---------- member data --------------------------------
00030    std::string m_process;
00031    mutable std::vector<std::string> m_triggerNames;
00032 };
00033 
00034 
00035 #endif