CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/L1TriggerConfig/L1GtConfigProducers/interface/L1GtTriggerMenuTester.h

Go to the documentation of this file.
00001 #ifndef L1GtConfigProducers_L1GtTriggerMenuTester_h
00002 #define L1GtConfigProducers_L1GtTriggerMenuTester_h
00003 
00020 // this class header
00021 #include "L1TriggerConfig/L1GtConfigProducers/interface/L1GtTriggerMenuTester.h"
00022 
00023 // system include files
00024 #include <string>
00025 #include <map>
00026 
00027 // user include files
00028 //   base class
00029 #include "FWCore/Framework/interface/EDAnalyzer.h"
00030 
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00033 
00034 #include "CondFormats/L1TObjects/interface/L1GtAlgorithm.h"
00035 
00036 // forward declarations
00037 
00038 
00039 // class declaration
00040 class L1GtTriggerMenuTester: public edm::EDAnalyzer {
00041 
00042 public:
00043 
00044     // constructor
00045     explicit L1GtTriggerMenuTester(const edm::ParameterSet&);
00046 
00047     // destructor
00048     virtual ~L1GtTriggerMenuTester();
00049 
00050     virtual void analyze(const edm::Event&, const edm::EventSetup&);
00051 
00052 private:
00053 
00055     typedef std::map<std::string, const L1GtAlgorithm*>::const_iterator
00056             CItAlgoP;
00057 
00059     std::string m_htmlFile;
00060 
00062     void printTriggerGroup(const std::string& trigGroupName,
00063             const std::map<std::string, const L1GtAlgorithm*>& trigGroup);
00064 
00065 };
00066 
00067 #endif /*L1GtConfigProducers_L1GtTriggerMenuTester_h*/