#include <VectorInputSource.h>
Public Types | |
typedef std::vector < EventPrincipalVectorElement > | EventPrincipalVector |
typedef boost::shared_ptr < EventPrincipal > | EventPrincipalVectorElement |
Public Member Functions | |
void | dropUnwantedBranches (std::vector< std::string > const &wantedBranches) |
void | readMany (int number, EventPrincipalVector &result) |
void | readManyRandom (int number, EventPrincipalVector &result, unsigned int &fileSeqNumber) |
void | readManySequential (int number, EventPrincipalVector &result, unsigned int &fileSeqNumber) |
void | readManySpecified (std::vector< EventID > const &events, EventPrincipalVector &result) |
VectorInputSource (ParameterSet const &pset, InputSourceDescription const &desc) | |
virtual | ~VectorInputSource () |
Private Member Functions | |
virtual void | dropUnwantedBranches_ (std::vector< std::string > const &wantedBranches)=0 |
virtual void | readMany_ (int number, EventPrincipalVector &result)=0 |
virtual void | readManyRandom_ (int number, EventPrincipalVector &result, unsigned int &fileSeqNumber)=0 |
virtual void | readManySequential_ (int number, EventPrincipalVector &result, unsigned int &fileSeqNumber)=0 |
virtual void | readManySpecified_ (std::vector< EventID > const &events, EventPrincipalVector &result)=0 |
Definition at line 20 of file VectorInputSource.h.
typedef std::vector<EventPrincipalVectorElement> edm::VectorInputSource::EventPrincipalVector |
Definition at line 23 of file VectorInputSource.h.
typedef boost::shared_ptr<EventPrincipal> edm::VectorInputSource::EventPrincipalVectorElement |
Definition at line 22 of file VectorInputSource.h.
edm::VectorInputSource::VectorInputSource | ( | ParameterSet const & | pset, |
InputSourceDescription const & | desc | ||
) | [explicit] |
Definition at line 7 of file VectorInputSource.cc.
: EDInputSource(pset, desc) {}
edm::VectorInputSource::~VectorInputSource | ( | ) | [virtual] |
Definition at line 10 of file VectorInputSource.cc.
{}
void edm::VectorInputSource::dropUnwantedBranches | ( | std::vector< std::string > const & | wantedBranches | ) |
Definition at line 33 of file VectorInputSource.cc.
References dropUnwantedBranches_().
Referenced by edm::PileUp::dropUnwantedBranches().
{ this->dropUnwantedBranches_(wantedBranches); }
virtual void edm::VectorInputSource::dropUnwantedBranches_ | ( | std::vector< std::string > const & | wantedBranches | ) | [private, pure virtual] |
Implemented in edm::PoolSource.
Referenced by dropUnwantedBranches().
void edm::VectorInputSource::readMany | ( | int | number, |
EventPrincipalVector & | result | ||
) |
Definition at line 13 of file VectorInputSource.cc.
References readMany_().
virtual void edm::VectorInputSource::readMany_ | ( | int | number, |
EventPrincipalVector & | result | ||
) | [private, pure virtual] |
Implemented in edm::PoolSource.
Referenced by readMany().
void edm::VectorInputSource::readManyRandom | ( | int | number, |
EventPrincipalVector & | result, | ||
unsigned int & | fileSeqNumber | ||
) |
Definition at line 18 of file VectorInputSource.cc.
References readManyRandom_().
Referenced by edm::PileUp::readPileUp().
{ this->readManyRandom_(number, result, fileSeqNumber); }
virtual void edm::VectorInputSource::readManyRandom_ | ( | int | number, |
EventPrincipalVector & | result, | ||
unsigned int & | fileSeqNumber | ||
) | [private, pure virtual] |
Implemented in edm::PoolSource.
Referenced by readManyRandom().
void edm::VectorInputSource::readManySequential | ( | int | number, |
EventPrincipalVector & | result, | ||
unsigned int & | fileSeqNumber | ||
) |
Definition at line 23 of file VectorInputSource.cc.
References readManySequential_().
Referenced by edm::PileUp::readPileUp().
{ this->readManySequential_(number, result, fileSeqNumber); }
virtual void edm::VectorInputSource::readManySequential_ | ( | int | number, |
EventPrincipalVector & | result, | ||
unsigned int & | fileSeqNumber | ||
) | [private, pure virtual] |
Implemented in edm::PoolSource.
Referenced by readManySequential().
void edm::VectorInputSource::readManySpecified | ( | std::vector< EventID > const & | events, |
EventPrincipalVector & | result | ||
) |
Definition at line 28 of file VectorInputSource.cc.
References readManySpecified_().
Referenced by edm::PileUp::readPileUp().
{ this->readManySpecified_(events, result); }
virtual void edm::VectorInputSource::readManySpecified_ | ( | std::vector< EventID > const & | events, |
EventPrincipalVector & | result | ||
) | [private, pure virtual] |
Implemented in edm::PoolSource.
Referenced by readManySpecified().