CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
edm::GetProductCheckerOutputModule Class Reference
Inheritance diagram for edm::GetProductCheckerOutputModule:
edm::OutputModule edm::EDConsumerBase

Public Member Functions

 GetProductCheckerOutputModule (ParameterSet const &pset)
 
 ~GetProductCheckerOutputModule () override
 
- Public Member Functions inherited from edm::OutputModule
BranchIDLists const * branchIDLists ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch () const
 
SelectedProductsForBranchType const & keptProducts () const
 
int maxEvents () const
 
OutputModuleoperator= (OutputModule const &)=delete
 
 OutputModule (ParameterSet const &pset)
 
 OutputModule (OutputModule const &)=delete
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
 ~OutputModule () 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::OutputModule
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 &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Private Member Functions

void write (EventForOutput const &e) override
 
void writeLuminosityBlock (LuminosityBlockForOutput const &) override
 
void writeRun (RunForOutput const &) override
 

Additional Inherited Members

- Public Types inherited from edm::OutputModule
typedef OutputModule ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::OutputModule
void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *act, ModuleCallingContext const *mcc)
 
void doPreallocate (PreallocationConfiguration const &)
 
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID ()
 
Trig getTriggerResults (EDGetTokenT< TriggerResults > const &token, EventForOutput const &e) const
 
ModuleDescription const & moduleDescription () const
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
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 32 of file GetProductCheckerOutputModule.cc.

Constructor & Destructor Documentation

edm::GetProductCheckerOutputModule::GetProductCheckerOutputModule ( ParameterSet const &  pset)
explicit

Definition at line 56 of file GetProductCheckerOutputModule.cc.

56  :
57  OutputModule(iPSet) {
58  }
OutputModule(ParameterSet const &pset)
Definition: OutputModule.cc:39
edm::GetProductCheckerOutputModule::~GetProductCheckerOutputModule ( )
override

Definition at line 64 of file GetProductCheckerOutputModule.cc.

64  {
65  }

Member Function Documentation

void edm::GetProductCheckerOutputModule::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 122 of file GetProductCheckerOutputModule.cc.

References edm::ConfigurationDescriptions::add(), DEFINE_FWK_MODULE, and edm::OutputModule::fillDescription().

122  {
125  descriptions.add("productChecker", desc);
126  }
static void fillDescription(ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
void edm::GetProductCheckerOutputModule::write ( EventForOutput const &  e)
overrideprivatevirtual

Implements edm::OutputModule.

Definition at line 97 of file GetProductCheckerOutputModule.cc.

References edm::check(), edm::EventForOutput::id(), edm::InEvent, edm::OutputModule::keptProducts(), and harvestTrackValidationPlots::str.

Referenced by pkg.AbstractPkg::generate().

97  {
98  std::ostringstream str;
99  str << e.id();
100  check(e, str.str(), keptProducts()[InEvent]);
101  }
SelectedProductsForBranchType const & keptProducts() const
Definition: OutputModule.h:76
static void check(T const &p, std::string const &id, SelectedProducts const &iProducts)
void edm::GetProductCheckerOutputModule::writeLuminosityBlock ( LuminosityBlockForOutput const &  l)
overrideprivatevirtual

Implements edm::OutputModule.

Definition at line 102 of file GetProductCheckerOutputModule.cc.

References edm::check(), edm::LuminosityBlockForOutput::id(), edm::InLumi, edm::OutputModule::keptProducts(), and harvestTrackValidationPlots::str.

102  {
103  std::ostringstream str;
104  str << l.id();
105  check(l, str.str(), keptProducts()[InLumi]);
106  }
SelectedProductsForBranchType const & keptProducts() const
Definition: OutputModule.h:76
static void check(T const &p, std::string const &id, SelectedProducts const &iProducts)
void edm::GetProductCheckerOutputModule::writeRun ( RunForOutput const &  r)
overrideprivatevirtual

Implements edm::OutputModule.

Definition at line 107 of file GetProductCheckerOutputModule.cc.

References edm::check(), edm::RunForOutput::id(), edm::InRun, edm::OutputModule::keptProducts(), and harvestTrackValidationPlots::str.

107  {
108  std::ostringstream str;
109  str << r.id();
110  check(r, str.str(), keptProducts()[InRun]);
111  }
SelectedProductsForBranchType const & keptProducts() const
Definition: OutputModule.h:76
static void check(T const &p, std::string const &id, SelectedProducts const &iProducts)