|
| CheckDataProductSize (Parameters const &config) |
| Constructor; see the class documentation for the configuration. More...
|
|
virtual void | analyze (art::Event const &event) override |
|
| EDAnalyzer (fhicl::ParameterSet const &pset) |
|
template<typename Config > |
| EDAnalyzer (Table< Config > const &config) |
|
std::string | workerType () const |
|
virtual | ~Analyzer () noexcept |
|
| Analyzer (fhicl::ParameterSet const &pset) |
|
template<typename Config > |
| Analyzer (Table< Config > const &config) |
|
void | doBeginJob (SharedResources const &resources) |
|
void | doEndJob () |
|
void | doRespondToOpenInputFile (FileBlock const &fb) |
|
void | doRespondToCloseInputFile (FileBlock const &fb) |
|
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
|
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
|
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
|
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
|
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
|
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
|
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
|
| ~Observer () noexcept |
|
| Observer (Observer const &)=delete |
|
| Observer (Observer &&)=delete |
|
Observer & | operator= (Observer const &)=delete |
|
Observer & | operator= (Observer &&)=delete |
|
void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
|
void | fillDescriptions (ModuleDescription const &) |
|
fhicl::ParameterSetID | selectorConfig () const |
|
virtual | ~ModuleBase () noexcept |
|
| ModuleBase () |
|
ModuleDescription const & | moduleDescription () const |
|
void | setModuleDescription (ModuleDescription const &) |
|
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
|
void | sortConsumables (std::string const ¤t_process_name) |
|
template<typename T , BranchType BT> |
ViewToken< T > | consumesView (InputTag const &tag) |
|
template<typename T , BranchType BT> |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
|
Checks the size of the specified collection.
Throws an exception if the size of the collection in the specified data product is not as expected. The expectation can be expressed directly as a number of elements in the collection, or indirectly as the requirement that the tested collection has the same size as another one (still of recob::SpacePoint
).
Configuration parameters
- inputLabel (input tag, mandatory): label of the data product with the collection
- expectedSize (integer): expected number of elements in the collection
- sameSizeAs (inputTag): expected number of elements is the same as this other data product
Definition at line 54 of file CheckDataProductSize_module.cc.