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 class InitMsgBuilder;
13 class EventMsgBuilder;
14 namespace edm {
15  class ParameterSet;
17  class EventForOutput;
18  class ThinnedAssociationsHelper;
19  class TriggerResults;
20 
22  public:
25  static void fillDescription(ParameterSetDescription& desc);
26 
27  std::unique_ptr<InitMsgBuilder> serializeRegistry(SerializeDataBuffer& sbuf,
28  BranchIDLists const& branchLists,
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,
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
InitMsgBuilder
Definition: InitMsgBuilder.h:9
edm::StreamerOutputModuleCommon::serializeRegistry
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)
Definition: StreamerOutputModuleCommon.cc:91
edm::StreamerOutputModuleCommon::serializer_
StreamSerializer serializer_
Definition: StreamerOutputModuleCommon.h:50
Handle.h
edm::StreamerOutputModuleCommon::maxEventSize_
int maxEventSize_
Definition: StreamerOutputModuleCommon.h:52
StreamedProducts.h
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::StreamerOutputModuleCommon::hltTriggerSelections_
Strings hltTriggerSelections_
Definition: StreamerOutputModuleCommon.h:66
edm::StreamerOutputModuleCommon::outputModuleId_
uint32 outputModuleId_
Definition: StreamerOutputModuleCommon.h:67
edm::Handle
Definition: AssociativeIterator.h:50
edm::StreamerOutputModuleCommon::serializerBuffer_
std::unique_ptr< SerializeDataBuffer > serializerBuffer_
Definition: StreamerOutputModuleCommon.h:43
uint32
unsigned int uint32
Definition: MsgTools.h:13
EventMsgBuilder
Definition: EventMsgBuilder.h:8
edm::SelectedProducts
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
Definition: SelectedProducts.h:11
edm::StreamerOutputModuleCommon::host_name_
char host_name_[255]
Definition: StreamerOutputModuleCommon.h:64
edm::StreamSerializer
Definition: StreamSerializer.h:72
edm::StreamerOutputModuleCommon::compressionLevel_
int compressionLevel_
Definition: StreamerOutputModuleCommon.h:55
edm::StreamerOutputModuleCommon::compressionAlgo_
StreamerCompressionAlgo compressionAlgo_
Definition: StreamerOutputModuleCommon.h:57
edm::StreamerOutputModuleCommon::timeInSecSinceUTC
double timeInSecSinceUTC
Definition: StreamerOutputModuleCommon.h:61
EventForOutput
edm::Hash< ParameterSetType >
edm::StreamerCompressionAlgo
StreamerCompressionAlgo
Definition: StreamSerializer.h:66
edm::BranchIDLists
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
StreamSerializer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::StreamerOutputModuleCommon::~StreamerOutputModuleCommon
~StreamerOutputModuleCommon()
Definition: StreamerOutputModuleCommon.cc:89
edm::ThinnedAssociationsHelper
Definition: ThinnedAssociationsHelper.h:35
edm::ParameterSet
Definition: ParameterSet.h:36
edm::StreamerOutputModuleCommon::useCompression_
bool useCompression_
Definition: StreamerOutputModuleCommon.h:53
ParameterSet
Definition: Functions.h:16
edm::Strings
EventSelector::Strings Strings
Definition: EventSelector.cc:48
helper
Definition: helper.py:1
TriggerNames.h
MsgTools.h
edm::StreamerOutputModuleCommon::getSerializerBuffer
SerializeDataBuffer * getSerializerBuffer()
Definition: StreamerOutputModuleCommon.cc:283
SimL1EmulatorRepack_CalouGT_cff.processName
processName
Definition: SimL1EmulatorRepack_CalouGT_cff.py:17
edm::SendJobHeader::ParameterSetMap
std::map< ParameterSetID, ParameterSetBlob > ParameterSetMap
Definition: StreamedProducts.h:104
edm::EventForOutput
Definition: EventForOutput.h:50
edm::StreamerOutputModuleCommon::serializeEvent
std::unique_ptr< EventMsgBuilder > serializeEvent(SerializeDataBuffer &sbuf, EventForOutput const &e, Handle< TriggerResults > const &triggerResults, ParameterSetID const &selectorCfg)
Definition: StreamerOutputModuleCommon.cc:199
SerializeDataBuffer
Definition: StreamSerializer.h:23
ParameterSetDescription
edm::triggerResults
static const std::string triggerResults("TriggerResults")
edm::StreamerOutputModuleCommon::lumiSectionInterval_
int lumiSectionInterval_
Definition: StreamerOutputModuleCommon.h:60
edm::StreamerOutputModuleCommon::hltsize_
unsigned int hltsize_
Definition: StreamerOutputModuleCommon.h:63
clusterbigeventsdebugger_cfi.selections
selections
Definition: clusterbigeventsdebugger_cfi.py:10
edm::StreamerOutputModuleCommon::setHltMask
void setHltMask(EventForOutput const &e, Handle< TriggerResults > const &triggerResults, std::vector< unsigned char > &hltbits) const
Definition: StreamerOutputModuleCommon.cc:158
HerwigMaxPtPartonFilter_cfi.moduleLabel
moduleLabel
Definition: HerwigMaxPtPartonFilter_cfi.py:4
edm::StreamerOutputModuleCommon::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: StreamerOutputModuleCommon.cc:270
edm::StreamerOutputModuleCommon::StreamerOutputModuleCommon
StreamerOutputModuleCommon(ParameterSet const &ps, SelectedProducts const *selections)
Definition: StreamerOutputModuleCommon.cc:26
edm::StreamerOutputModuleCommon
Definition: StreamerOutputModuleCommon.h:21
edm::StreamerOutputModuleCommon::compressionAlgoStr_
std::string compressionAlgoStr_
Definition: StreamerOutputModuleCommon.h:54
HLTObjectsMonitor_cfi.TriggerResults
TriggerResults
Definition: HLTObjectsMonitor_cfi.py:9
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37