CMS 3D CMS Logo

ScheduleInfo.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ScheduleInfo_h
2 #define FWCore_Framework_ScheduleInfo_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : ScheduleInfo
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Jul 15 19:39:56 CEST 2010
19 //
20 
21 // system include files
22 #include <vector>
23 #include <string>
24 
25 // user include files
26 
27 // forward declarations
28 namespace edm {
29  class ParameterSet;
30  class Schedule;
31 
32  class ScheduleInfo {
33  public:
34  ScheduleInfo(const Schedule*);
35  virtual ~ScheduleInfo();
36 
37  // ---------- const member functions ---------------------
38 
40  void availableModuleLabels(std::vector<std::string>& oLabelsToFill) const;
41 
45  const edm::ParameterSet* parametersForModule(const std::string& iLabel) const;
46 
48  void availablePaths(std::vector<std::string>& oLabelsToFill) const;
49 
51  void modulesInPath(const std::string& iPathLabel, std::vector<std::string>& oLabelsToFill) const;
52  // ---------- static member functions --------------------
53 
54  // ---------- member functions ---------------------------
55 
56  private:
57  //ScheduleInfo(const ScheduleInfo&); // stop default
58 
59  //const ScheduleInfo& operator=(const ScheduleInfo&); // stop default
60 
61  // ---------- member data --------------------------------
63  };
64 
65 } // namespace edm
66 
67 #endif
edm::ScheduleInfo::modulesInPath
void modulesInPath(const std::string &iPathLabel, std::vector< std::string > &oLabelsToFill) const
add to oLabelsToFill in execution order the labels of all modules in path iPathLabel
Definition: ScheduleInfo.cc:91
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ScheduleInfo::availablePaths
void availablePaths(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all paths in the process
Definition: ScheduleInfo.cc:87
edm::Schedule
Definition: Schedule.h:122
edm::ScheduleInfo::parametersForModule
const edm::ParameterSet * parametersForModule(const std::string &iLabel) const
Definition: ScheduleInfo.cc:73
edm::ScheduleInfo::schedule_
const Schedule * schedule_
Definition: ScheduleInfo.h:62
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
edm::ScheduleInfo
Definition: ScheduleInfo.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ScheduleInfo::availableModuleLabels
void availableModuleLabels(std::vector< std::string > &oLabelsToFill) const
adds to oLabelsToFill the labels for all modules used in the process
Definition: ScheduleInfo.cc:64
edm::ScheduleInfo::ScheduleInfo
ScheduleInfo(const Schedule *)
Definition: ScheduleInfo.cc:36
edm::ScheduleInfo::~ScheduleInfo
virtual ~ScheduleInfo()
Definition: ScheduleInfo.cc:43