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
edm::GetProductCheckerOutputModule Class Reference
Inheritance diagram for edm::GetProductCheckerOutputModule:
edm::OutputModule edm::EDConsumerBase

Public Member Functions

 GetProductCheckerOutputModule (ParameterSet const &pset)
 
virtual ~GetProductCheckerOutputModule ()
 
- Public Member Functions inherited from edm::OutputModule
BranchChildren const & branchChildren () const
 
BranchIDLists const * branchIDLists () const
 
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)
 
bool wantAllEvents () const
 
virtual ~OutputModule ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) 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 fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::OutputModule
static const std::string & baseType ()
 
static void fillDescription (ParameterSetDescription &desc)
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Private Member Functions

virtual void write (EventPrincipal const &e, edm::ModuleCallingContext const *) override
 
virtual void writeLuminosityBlock (LuminosityBlockPrincipal const &, edm::ModuleCallingContext const *) override
 
virtual void writeRun (RunPrincipal const &, edm::ModuleCallingContext const *) override
 

Additional Inherited Members

- Public Types inherited from edm::OutputModule
typedef OutputModule ModuleType
 
- 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 (EventPrincipal const &ep, ModuleCallingContext const *) const
 
ModuleDescription const & moduleDescription () 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 33 of file GetProductCheckerOutputModule.cc.

Constructor & Destructor Documentation

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

Definition at line 57 of file GetProductCheckerOutputModule.cc.

57  :
58  OutputModule(iPSet) {
59  }
OutputModule(ParameterSet const &pset)
Definition: OutputModule.cc:31
edm::GetProductCheckerOutputModule::~GetProductCheckerOutputModule ( )
virtual

Definition at line 65 of file GetProductCheckerOutputModule.cc.

65  {
66  }

Member Function Documentation

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

Definition at line 141 of file GetProductCheckerOutputModule.cc.

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

141  {
144  descriptions.add("productChecker", desc);
145  }
static void fillDescription(ParameterSetDescription &desc)
void edm::GetProductCheckerOutputModule::write ( EventPrincipal const &  e,
edm::ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::OutputModule.

Definition at line 116 of file GetProductCheckerOutputModule.cc.

References edm::check(), and edm::EventPrincipal::id().

Referenced by pkg.AbstractPkg::generate().

116  {
117  std::ostringstream str;
118  str << e.id();
119  check(e, str.str(), mcc);
120  }
static void check(Principal const &p, std::string const &id, edm::ModuleCallingContext const *mcc)
void edm::GetProductCheckerOutputModule::writeLuminosityBlock ( LuminosityBlockPrincipal const &  l,
edm::ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::OutputModule.

Definition at line 121 of file GetProductCheckerOutputModule.cc.

References edm::check(), and edm::LuminosityBlockPrincipal::id().

121  {
122  std::ostringstream str;
123  str << l.id();
124  check(l, str.str(), mcc);
125  }
static void check(Principal const &p, std::string const &id, edm::ModuleCallingContext const *mcc)
void edm::GetProductCheckerOutputModule::writeRun ( RunPrincipal const &  r,
edm::ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::OutputModule.

Definition at line 126 of file GetProductCheckerOutputModule.cc.

References edm::check(), and edm::RunPrincipal::id().

126  {
127  std::ostringstream str;
128  str << r.id();
129  check(r, str.str(), mcc);
130  }
static void check(Principal const &p, std::string const &id, edm::ModuleCallingContext const *mcc)