CMS 3D CMS Logo

StreamerOutputModuleCommon.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_StreamerOutputModuleCommon_h
2 #define IOPool_Streamer_StreamerOutputModuleCommon_h
3 
9 #include <memory>
10 #include <vector>
11 
12 namespace edm {
13  class ParameterSet;
15  class EventForOutput;
16  class ThinnedAssociationsHelper;
17  class TriggerResults;
18 
19  namespace streamer {
20  class InitMsgBuilder;
21  class EventMsgBuilder;
22 
24  public:
26 
27  static Parameters parameters(ParameterSet const& ps);
28 
29  explicit StreamerOutputModuleCommon(Parameters const& p,
31  std::string const& moduleLabel);
32 
35  std::string const& moduleLabel)
37 
40 
41  std::unique_ptr<InitMsgBuilder> serializeRegistry(std::string const& processName,
42  std::string const& moduleLabel,
43  ParameterSetID const& toplevel,
44  SendJobHeader::ParameterSetMap const* psetMap);
45 
46  std::unique_ptr<EventMsgBuilder> serializeEventMetaData(BranchIDLists const& branchLists,
48 
49  std::unique_ptr<EventMsgBuilder> serializeEvent(EventForOutput const& e,
51  ParameterSetID const& selectorCfg);
52 
53  protected:
55 
56  private:
59 
60  uint32_t eventMetaDataChecksum_ = 0;
61  }; //end-of-class-def
62  } // namespace streamer
63 } // namespace edm
64 
65 #endif
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
Definition: helper.py:1
StreamerOutputModuleCommon(Parameters const &p, SelectedProducts const *selections, std::string const &moduleLabel)
std::map< ParameterSetID, ParameterSetBlob > ParameterSetMap
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
static Parameters parameters(ParameterSet const &ps)
std::unique_ptr< InitMsgBuilder > serializeRegistry(std::string const &processName, std::string const &moduleLabel, ParameterSetID const &toplevel, SendJobHeader::ParameterSetMap const *psetMap)
std::unique_ptr< EventMsgBuilder > serializeEventMetaData(BranchIDLists const &branchLists, ThinnedAssociationsHelper const &helper)
static void fillDescription(ParameterSetDescription &desc)
static std::string const triggerResults("TriggerResults")
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:32
HLT enums.
StreamerOutputModuleCommon(ParameterSet const &ps, SelectedProducts const *selections, std::string const &moduleLabel)
std::unique_ptr< EventMsgBuilder > serializeEvent(EventForOutput const &e, Handle< TriggerResults > const &triggerResults, ParameterSetID const &selectorCfg)