#include <VectorInputSource.h>
|
void | doBeginJob () |
| Called at beginning of job. More...
|
|
void | doEndJob () |
| Called at end of job. More...
|
|
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
|
template<typename T > |
size_t | loopOverEvents (EventPrincipal &cache, size_t &fileNameHash, size_t number, T eventOperator, CLHEP::HepRandomEngine *=nullptr, EventID const *id=nullptr, bool recycleFiles=true) |
|
template<typename T , typename Iterator > |
size_t | loopSpecified (EventPrincipal &cache, size_t &fileNameHash, Iterator const &begin, Iterator const &end, T eventOperator) |
|
ProcessHistoryRegistry const & | processHistoryRegistry () const |
|
ProcessHistoryRegistry & | processHistoryRegistryForUpdate () |
|
std::shared_ptr< ProductRegistry > & | productRegistry () |
|
std::shared_ptr< ProductRegistry const > | productRegistry () const |
|
ProductRegistry & | productRegistryUpdate () |
|
| VectorInputSource (ParameterSet const &pset, VectorInputSourceDescription const &desc) |
|
virtual | ~VectorInputSource () |
|
Definition at line 27 of file VectorInputSource.h.
◆ VectorInputSource()
◆ ~VectorInputSource()
edm::VectorInputSource::~VectorInputSource |
( |
| ) |
|
|
virtual |
◆ beginJob()
virtual void edm::VectorInputSource::beginJob |
( |
| ) |
|
|
privatepure virtual |
◆ clearEventPrincipal()
void edm::VectorInputSource::clearEventPrincipal |
( |
EventPrincipal & |
cache | ) |
|
|
private |
◆ doBeginJob()
void edm::VectorInputSource::doBeginJob |
( |
| ) |
|
◆ doEndJob()
void edm::VectorInputSource::doEndJob |
( |
| ) |
|
◆ dropUnwantedBranches()
void edm::VectorInputSource::dropUnwantedBranches |
( |
std::vector< std::string > const & |
wantedBranches | ) |
|
◆ dropUnwantedBranches_()
virtual void edm::VectorInputSource::dropUnwantedBranches_ |
( |
std::vector< std::string > const & |
wantedBranches | ) |
|
|
privatepure virtual |
◆ endJob()
virtual void edm::VectorInputSource::endJob |
( |
| ) |
|
|
privatepure virtual |
◆ loopOverEvents()
template<typename T >
size_t edm::VectorInputSource::loopOverEvents |
( |
EventPrincipal & |
cache, |
|
|
size_t & |
fileNameHash, |
|
|
size_t |
number, |
|
|
T |
eventOperator, |
|
|
CLHEP::HepRandomEngine * |
engine = nullptr , |
|
|
EventID const * |
id = nullptr , |
|
|
bool |
recycleFiles = true |
|
) |
| |
◆ loopSpecified()
template<typename T , typename Iterator >
size_t edm::VectorInputSource::loopSpecified |
( |
EventPrincipal & |
cache, |
|
|
size_t & |
fileNameHash, |
|
|
Iterator const & |
begin, |
|
|
Iterator const & |
end, |
|
|
T |
eventOperator |
|
) |
| |
◆ processHistoryRegistry()
◆ processHistoryRegistryForUpdate()
◆ productRegistry() [1/2]
std::shared_ptr<ProductRegistry>& edm::VectorInputSource::productRegistry |
( |
| ) |
|
|
inline |
◆ productRegistry() [2/2]
std::shared_ptr<ProductRegistry const> edm::VectorInputSource::productRegistry |
( |
| ) |
const |
|
inline |
◆ productRegistryUpdate()
◆ readOneEvent()
virtual bool edm::VectorInputSource::readOneEvent |
( |
EventPrincipal & |
cache, |
|
|
size_t & |
fileNameHash, |
|
|
CLHEP::HepRandomEngine * |
, |
|
|
EventID const * |
id, |
|
|
bool |
recycleFiles |
|
) |
| |
|
privatepure virtual |
◆ readOneSpecified() [1/2]
void edm::VectorInputSource::readOneSpecified |
( |
EventPrincipal & |
cache, |
|
|
size_t & |
fileNameHash, |
|
|
EventID const & |
event |
|
) |
| |
|
inlineprivate |
◆ readOneSpecified() [2/2]
◆ throwIfOverLimit()
void edm::VectorInputSource::throwIfOverLimit |
( |
unsigned int |
consecutiveRejections | ) |
const |
|
private |
Definition at line 29 of file VectorInputSource.cc.
32 <<
"VectorInputSource::loopOverEvents() read " << consecutiveRejections
33 <<
" consecutive pileup events that were rejected by the eventOperator. "
34 <<
"This is likely a sign of misconfiguration (of e.g. the adjusted-to pileup probability profile). "
35 <<
"If you know what you're doing, this exception can be turned off by setting consecutiveRejectionsLimit=0.";
References consecutiveRejectionsLimit_, and Exception.
Referenced by loopOverEvents().
◆ consecutiveRejectionsLimit_
unsigned int edm::VectorInputSource::consecutiveRejectionsLimit_ |
|
private |
◆ processHistoryRegistry_
◆ productRegistry_