CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
edm::StreamerOutputModuleBase Class Referenceabstract

#include <StreamerOutputModuleBase.h>

Inheritance diagram for edm::StreamerOutputModuleBase:
edm::one::OutputModule< one::WatchRuns, one::WatchLuminosityBlocks > edm::one::OutputModuleBase edm::EDConsumerBase edm::StreamerOutputModule< Consumer > evf::RecoEventOutputModuleForFU< Consumer >

Public Member Functions

 StreamerOutputModuleBase (ParameterSet const &ps)
 
virtual ~StreamerOutputModuleBase ()
 
- Public Member Functions inherited from edm::one::OutputModule< one::WatchRuns, one::WatchLuminosityBlocks >
 OutputModule (edm::ParameterSet const &iPSet)
 
- Public Member Functions inherited from edm::one::OutputModuleBase
BranchIDLists const * branchIDLists ()
 
std::array< bool,
NumBranchTypes > const & 
hasNewlyDroppedBranch () const
 
SelectedProductsForBranchType
const & 
keptProducts () const
 
int maxEvents () const
 
const ModuleDescriptionmoduleDescription () const
 
OutputModuleBaseoperator= (OutputModuleBase const &)=delete
 
 OutputModuleBase (ParameterSet const &pset)
 
 OutputModuleBase (OutputModuleBase const &)=delete
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &)
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
virtual ~OutputModuleBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescription (ParameterSetDescription &desc)
 
- Static Public Member Functions inherited from edm::one::OutputModuleBase
static const std::string & baseType ()
 
static void fillDescription (ParameterSetDescription &desc)
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Private Member Functions

virtual void beginJob () override
 
virtual void beginRun (RunPrincipal const &, ModuleCallingContext const *) override
 
virtual void doOutputEvent (EventMsgBuilder const &msg)=0
 
virtual void doOutputHeader (InitMsgBuilder const &init_message)=0
 
virtual void endJob () override
 
virtual void endRun (RunPrincipal const &, ModuleCallingContext const *) override
 
Trig getTriggerResults (EDGetTokenT< TriggerResults > const &token, EventPrincipal const &ep, ModuleCallingContext const *) const
 
std::auto_ptr< EventMsgBuilderserializeEvent (EventPrincipal const &e, ModuleCallingContext const *mcc)
 
std::auto_ptr< InitMsgBuilderserializeRegistry ()
 
void setHltMask (EventPrincipal const &e, ModuleCallingContext const *)
 
void setLumiSection ()
 
virtual void start ()=0
 
virtual void stop ()=0
 
virtual void write (EventPrincipal const &e, ModuleCallingContext const *) override
 
virtual void writeLuminosityBlock (LuminosityBlockPrincipal const &, ModuleCallingContext const *) override
 
virtual void writeRun (RunPrincipal const &, ModuleCallingContext const *) override
 

Private Attributes

int compressionLevel_
 
std::vector< unsigned char > hltbits_
 
unsigned int hltsize_
 
Strings hltTriggerSelections_
 
char host_name_ [255]
 
std::vector< bool > l1bit_
 
uint32 lumi_
 
int lumiSectionInterval_
 
int maxEventSize_
 
uint32 origSize_
 
uint32 outputModuleId_
 
SelectedProducts const * selections_
 
SerializeDataBuffer serializeDataBuffer_
 
StreamSerializer serializer_
 
double timeInSecSinceUTC
 
edm::EDGetTokenT
< edm::TriggerResults
trToken_
 
bool useCompression_
 

Additional Inherited Members

- Public Types inherited from edm::one::OutputModuleBase
typedef OutputModuleBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::one::OutputModuleBase
void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
bool doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
bool doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
bool doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
std::map< BranchID::value_type,
BranchID::value_type > const & 
droppedBranchIDToKeptBranchID ()
 
ParameterSetID selectorConfig () const
 
void setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 19 of file StreamerOutputModuleBase.h.

Constructor & Destructor Documentation

edm::StreamerOutputModuleBase::StreamerOutputModuleBase ( ParameterSet const &  ps)
explicit

Definition at line 58 of file StreamerOutputModuleBase.cc.

edm::StreamerOutputModuleBase::~StreamerOutputModuleBase ( )
virtual

Definition at line 107 of file StreamerOutputModuleBase.cc.

Member Function Documentation

void edm::StreamerOutputModuleBase::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::OutputModuleBase.

Reimplemented in evf::RecoEventOutputModuleForFU< Consumer >.

Definition at line 124 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::beginRun ( RunPrincipal const &  ,
ModuleCallingContext const *   
)
overrideprivatevirtual

Definition at line 110 of file StreamerOutputModuleBase.cc.

virtual void edm::StreamerOutputModuleBase::doOutputEvent ( EventMsgBuilder const &  msg)
privatepure virtual
virtual void edm::StreamerOutputModuleBase::doOutputHeader ( InitMsgBuilder const &  init_message)
privatepure virtual
void edm::StreamerOutputModuleBase::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::OutputModuleBase.

Definition at line 127 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::endRun ( RunPrincipal const &  ,
ModuleCallingContext const *   
)
overrideprivatevirtual

Definition at line 119 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::fillDescription ( ParameterSetDescription desc)
static
Trig edm::StreamerOutputModuleBase::getTriggerResults ( EDGetTokenT< TriggerResults > const &  token,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
) const
private

Definition at line 202 of file StreamerOutputModuleBase.cc.

std::auto_ptr< EventMsgBuilder > edm::StreamerOutputModuleBase::serializeEvent ( EventPrincipal const &  e,
ModuleCallingContext const *  mcc 
)
private

Definition at line 254 of file StreamerOutputModuleBase.cc.

std::auto_ptr< InitMsgBuilder > edm::StreamerOutputModuleBase::serializeRegistry ( )
private

Definition at line 144 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::setHltMask ( EventPrincipal const &  e,
ModuleCallingContext const *  mcc 
)
private

Definition at line 213 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::setLumiSection ( )
private

Definition at line 244 of file StreamerOutputModuleBase.cc.

virtual void edm::StreamerOutputModuleBase::start ( )
privatepure virtual
virtual void edm::StreamerOutputModuleBase::stop ( )
privatepure virtual
void edm::StreamerOutputModuleBase::write ( EventPrincipal const &  e,
ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::one::OutputModuleBase.

Definition at line 138 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::writeLuminosityBlock ( LuminosityBlockPrincipal const &  ,
ModuleCallingContext const *   
)
overrideprivatevirtual

Implements edm::one::OutputModuleBase.

Definition at line 135 of file StreamerOutputModuleBase.cc.

void edm::StreamerOutputModuleBase::writeRun ( RunPrincipal const &  ,
ModuleCallingContext const *   
)
overrideprivatevirtual

Implements edm::one::OutputModuleBase.

Definition at line 132 of file StreamerOutputModuleBase.cc.

Member Data Documentation

int edm::StreamerOutputModuleBase::compressionLevel_
private

Definition at line 50 of file StreamerOutputModuleBase.h.

std::vector<unsigned char> edm::StreamerOutputModuleBase::hltbits_
private

Definition at line 64 of file StreamerOutputModuleBase.h.

unsigned int edm::StreamerOutputModuleBase::hltsize_
private

Definition at line 61 of file StreamerOutputModuleBase.h.

Strings edm::StreamerOutputModuleBase::hltTriggerSelections_
private

Definition at line 69 of file StreamerOutputModuleBase.h.

char edm::StreamerOutputModuleBase::host_name_[255]
private

Definition at line 66 of file StreamerOutputModuleBase.h.

std::vector<bool> edm::StreamerOutputModuleBase::l1bit_
private

Definition at line 63 of file StreamerOutputModuleBase.h.

uint32 edm::StreamerOutputModuleBase::lumi_
private

Definition at line 62 of file StreamerOutputModuleBase.h.

int edm::StreamerOutputModuleBase::lumiSectionInterval_
private

Definition at line 53 of file StreamerOutputModuleBase.h.

int edm::StreamerOutputModuleBase::maxEventSize_
private

Definition at line 48 of file StreamerOutputModuleBase.h.

uint32 edm::StreamerOutputModuleBase::origSize_
private

Definition at line 65 of file StreamerOutputModuleBase.h.

uint32 edm::StreamerOutputModuleBase::outputModuleId_
private

Definition at line 70 of file StreamerOutputModuleBase.h.

SelectedProducts const* edm::StreamerOutputModuleBase::selections_
private

Definition at line 46 of file StreamerOutputModuleBase.h.

SerializeDataBuffer edm::StreamerOutputModuleBase::serializeDataBuffer_
private

Definition at line 58 of file StreamerOutputModuleBase.h.

StreamSerializer edm::StreamerOutputModuleBase::serializer_
private

Definition at line 56 of file StreamerOutputModuleBase.h.

double edm::StreamerOutputModuleBase::timeInSecSinceUTC
private

Definition at line 54 of file StreamerOutputModuleBase.h.

edm::EDGetTokenT<edm::TriggerResults> edm::StreamerOutputModuleBase::trToken_
private

Definition at line 68 of file StreamerOutputModuleBase.h.

bool edm::StreamerOutputModuleBase::useCompression_
private

Definition at line 49 of file StreamerOutputModuleBase.h.