CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::one::OutputModule< T > Class Template Reference

#include "FWCore/Framework/interface/one/OutputModule.h"

Inheritance diagram for edm::one::OutputModule< T >:
edm::one::OutputModuleBase edm::EDConsumerBase evf::EvFOutputModule

Public Member Functions

SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
 OutputModule (edm::ParameterSet const &iPSet)
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- 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 (OutputModuleBase const &)=delete
 
 OutputModuleBase (ParameterSet const &pset)
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
SubProcessParentageHelper const * subProcessParentageHelper () const
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~OutputModuleBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

const OutputModuleoperator= (const OutputModule &)=delete
 
 OutputModule (const OutputModule &)=delete
 

Private Attributes

impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
 
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
 

Additional Inherited Members

- Public Types inherited from edm::one::OutputModuleBase
typedef OutputModuleBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::OutputModuleBase
static const std::string & baseType ()
 
static void fillDescription (ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::one::OutputModuleBase
void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
bool doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
bool doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
bool doEvent (EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID ()
 
virtual void preallocLumis (unsigned int)
 
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
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

template<typename... T>
class edm::one::OutputModule< T >

Description: [one line class summary]

Usage: <usage>

Definition at line 30 of file OutputModule.h.

Constructor & Destructor Documentation

◆ OutputModule() [1/2]

template<typename... T>
edm::one::OutputModule< T >::OutputModule ( edm::ParameterSet const &  iPSet)
inline

Definition at line 32 of file OutputModule.h.

◆ OutputModule() [2/2]

template<typename... T>
edm::one::OutputModule< T >::OutputModule ( const OutputModule< T > &  )
privatedelete

Member Function Documentation

◆ globalLuminosityBlocksQueue()

template<typename... T>
SerialTaskQueue* edm::one::OutputModule< T >::globalLuminosityBlocksQueue ( )
inlinefinalvirtual

Reimplemented from edm::one::OutputModuleBase.

Definition at line 47 of file OutputModule.h.

47 { return globalLuminosityBlocksQueue_.queue(); }

◆ globalRunsQueue()

template<typename... T>
SerialTaskQueue* edm::one::OutputModule< T >::globalRunsQueue ( )
inlinefinalvirtual

Reimplemented from edm::one::OutputModuleBase.

Definition at line 46 of file OutputModule.h.

46 { return globalRunsQueue_.queue(); }

◆ operator=()

template<typename... T>
const OutputModule& edm::one::OutputModule< T >::operator= ( const OutputModule< T > &  )
privatedelete

◆ wantsGlobalLuminosityBlocks()

template<typename... T>
bool edm::one::OutputModule< T >::wantsGlobalLuminosityBlocks ( ) const
inlinefinalvirtual

Implements edm::one::OutputModuleBase.

Definition at line 44 of file OutputModule.h.

44 { return WantsGlobalLuminosityBlockTransitions<T...>::value; }

◆ wantsGlobalRuns()

template<typename... T>
bool edm::one::OutputModule< T >::wantsGlobalRuns ( ) const
inlinefinalvirtual

Implements edm::one::OutputModuleBase.

Definition at line 43 of file OutputModule.h.

43 { return WantsGlobalRunTransitions<T...>::value; }

Member Data Documentation

◆ globalLuminosityBlocksQueue_

template<typename... T>
impl::OptionalSerialTaskQueueHolder<WantsSerialGlobalLuminosityBlockTransitions<T...>::value> edm::one::OutputModule< T >::globalLuminosityBlocksQueue_
private

◆ globalRunsQueue_

template<typename... T>
impl::OptionalSerialTaskQueueHolder<WantsSerialGlobalRunTransitions<T...>::value> edm::one::OutputModule< T >::globalRunsQueue_
private
edm::one::OutputModuleBase::OutputModuleBase
OutputModuleBase(ParameterSet const &pset)
Definition: OutputModuleBase.cc:45
susybsm::HSCParticleType::Type
Type
Definition: HSCParticle.h:20
edm::one::OutputModule::globalLuminosityBlocksQueue_
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: OutputModule.h:61
T
long double T
Definition: Basic3DVectorLD.h:48
relativeConstraints.value
value
Definition: relativeConstraints.py:53
edm::one::OutputModule::globalRunsQueue_
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: OutputModule.h:59