CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 class InitMsgBuilder;
13 class EventMsgBuilder;
14 namespace edm {
15  class ParameterSet;
17  class EventForOutput;
18  class ThinnedAssociationsHelper;
19  class TriggerResults;
20 
22  public:
26 
27  std::unique_ptr<InitMsgBuilder> serializeRegistry(SerializeDataBuffer& sbuf,
28  BranchIDLists const& branchLists,
29  ThinnedAssociationsHelper const& helper,
30  std::string const& processName,
31  std::string const& moduleLabel,
32  ParameterSetID const& toplevel,
33  SendJobHeader::ParameterSetMap const* psetMap);
34 
35  std::unique_ptr<EventMsgBuilder> serializeEvent(SerializeDataBuffer& sbuf,
36  EventForOutput const& e,
38  ParameterSetID const& selectorCfg);
39 
41 
42  protected:
43  std::unique_ptr<SerializeDataBuffer> serializerBuffer_;
44 
45  private:
46  void setHltMask(EventForOutput const& e,
47  Handle<TriggerResults> const& triggerResults,
48  std::vector<unsigned char>& hltbits) const;
49 
51 
56 
58 
59  // test luminosity sections
62 
63  unsigned int hltsize_;
64  char host_name_[255];
65 
68 
69  }; //end-of-class-def
70 
71 } // namespace edm
72 
73 #endif
std::unique_ptr< EventMsgBuilder > serializeEvent(SerializeDataBuffer &sbuf, EventForOutput const &e, Handle< TriggerResults > const &triggerResults, ParameterSetID const &selectorCfg)
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
EventSelector::Strings Strings
std::map< ParameterSetID, ParameterSetBlob > ParameterSetMap
StreamerOutputModuleCommon(ParameterSet const &ps, SelectedProducts const *selections)
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
std::unique_ptr< SerializeDataBuffer > serializerBuffer_
static void fillDescription(ParameterSetDescription &desc)
unsigned int uint32
Definition: MsgTools.h:13
void setHltMask(EventForOutput const &e, Handle< TriggerResults > const &triggerResults, std::vector< unsigned char > &hltbits) const
std::unique_ptr< InitMsgBuilder > serializeRegistry(SerializeDataBuffer &sbuf, BranchIDLists const &branchLists, ThinnedAssociationsHelper const &helper, std::string const &processName, std::string const &moduleLabel, ParameterSetID const &toplevel, SendJobHeader::ParameterSetMap const *psetMap)
static std::string const triggerResults("TriggerResults")
StreamerCompressionAlgo