CMS 3D CMS Logo

edm::VectorInputSource Class Reference

#include <FWCore/Sources/interface/VectorInputSource.h>

Inheritance diagram for edm::VectorInputSource:

edm::EDInputSource edm::InputSource edm::ProductRegistryHelper edm::PoolSource

List of all members.

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, EventID const &id, unsigned int fileSeqNumber)
void readMany (int number, EventPrincipalVector &result)
void readManyRandom (int number, EventPrincipalVector &result, unsigned int &fileSeqNumber)
 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, EventID const &id, unsigned int fileSeqNumber)=0
virtual void readMany_ (int number, EventPrincipalVector &result)=0
virtual void readManyRandom_ (int number, EventPrincipalVector &result, unsigned int &fileSeqNumber)=0


Detailed Description

Definition at line 23 of file VectorInputSource.h.


Member Typedef Documentation

typedef std::vector<EventPrincipalVectorElement> edm::VectorInputSource::EventPrincipalVector

Definition at line 26 of file VectorInputSource.h.

typedef boost::shared_ptr<EventPrincipal> edm::VectorInputSource::EventPrincipalVectorElement

Definition at line 25 of file VectorInputSource.h.


Constructor & Destructor Documentation

edm::VectorInputSource::VectorInputSource ( ParameterSet const &  pset,
InputSourceDescription const &  desc 
) [explicit]

Definition at line 8 of file VectorInputSource.cc.

00008                                                                                                    :
00009     EDInputSource(pset, desc) {}

edm::VectorInputSource::~VectorInputSource (  )  [virtual]

Definition at line 11 of file VectorInputSource.cc.

00011 {}


Member Function Documentation

void edm::VectorInputSource::dropUnwantedBranches ( std::vector< std::string > const &  wantedBranches  ) 

Definition at line 29 of file VectorInputSource.cc.

References dropUnwantedBranches_().

Referenced by edm::PileUp::dropUnwantedBranches().

00029                                                                                     {
00030     this->dropUnwantedBranches_(wantedBranches);
00031   }

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,
EventID const &  id,
unsigned int  fileSeqNumber 
)

Definition at line 19 of file VectorInputSource.cc.

References readMany_().

00019                                                                                                                      {
00020     this->readMany_(number, result, id, fileSeqNumber);
00021   }

void edm::VectorInputSource::readMany ( int  number,
EventPrincipalVector result 
)

Definition at line 14 of file VectorInputSource.cc.

References readMany_().

Referenced by edm::PileUp::readPileUp().

00014                                                                       {
00015     this->readMany_(number, result);
00016   }

virtual void edm::VectorInputSource::readMany_ ( int  number,
EventPrincipalVector result,
EventID const &  id,
unsigned int  fileSeqNumber 
) [private, pure virtual]

virtual void edm::VectorInputSource::readMany_ ( int  number,
EventPrincipalVector result 
) [private, pure virtual]

Referenced by readMany().

void edm::VectorInputSource::readManyRandom ( int  number,
EventPrincipalVector result,
unsigned int fileSeqNumber 
)

Definition at line 24 of file VectorInputSource.cc.

References readManyRandom_().

Referenced by edm::PileUp::readPileUp().

00024                                                                                                          {
00025     this->readManyRandom_(number, result, fileSeqNumber);
00026   }

virtual void edm::VectorInputSource::readManyRandom_ ( int  number,
EventPrincipalVector result,
unsigned int fileSeqNumber 
) [private, pure virtual]

Referenced by readManyRandom().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:44:46 2009 for CMSSW by  doxygen 1.5.4