#include <EmbeddedRootSource.h>
|
bool | bypassVersionCheck () const |
|
| EmbeddedRootSource (ParameterSet const &pset, VectorInputSourceDescription const &desc) |
|
unsigned int | nStreams () const |
|
ProductSelectorRules const & | productSelectorRules () const |
|
RunHelperBase * | runHelper () |
|
bool | skipBadFiles () const |
|
int | treeMaxVirtualSize () const |
|
| ~EmbeddedRootSource () override |
|
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 const > | productRegistry () const |
|
std::shared_ptr< ProductRegistry > & | productRegistry () |
|
ProductRegistry & | productRegistryUpdate () |
|
| VectorInputSource (ParameterSet const &pset, VectorInputSourceDescription const &desc) |
|
virtual | ~VectorInputSource () |
|
Definition at line 34 of file EmbeddedRootSource.h.
Definition at line 16 of file EmbeddedRootSource.cc.
19 nStreams_(desc.allocations_->numberOfStreams()),
33 catalog_(
pset.getUntrackedParameter<std::vector<std::string> >(
"fileNames"),
std::unique_ptr< RunHelperBase > runHelper_
RootServiceChecker rootServiceChecker_
int const treeMaxVirtualSize_
ProductSelectorRules productSelectorRules_
InputFileCatalog catalog_
edm::propagate_const< std::unique_ptr< RootEmbeddedFileSequence > > fileSequence_
edm::EmbeddedRootSource::~EmbeddedRootSource |
( |
| ) |
|
|
override |
void edm::EmbeddedRootSource::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
bool edm::EmbeddedRootSource::bypassVersionCheck |
( |
| ) |
const |
|
inline |
void edm::EmbeddedRootSource::closeFile_ |
( |
| ) |
|
|
privatevirtual |
void edm::EmbeddedRootSource::dropUnwantedBranches_ |
( |
std::vector< std::string > const & |
wantedBranches | ) |
|
|
overrideprivatevirtual |
void edm::EmbeddedRootSource::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
Definition at line 80 of file EmbeddedRootSource.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ProductSelectorRules::fillDescription(), edm::RootEmbeddedFileSequence::fillDescription(), edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
84 std::vector<std::string> defaultStrings;
85 desc.setComment(
"Reads EDM/Root files for mixing.");
86 desc.addUntracked<std::vector<std::string> >(
"fileNames")
87 ->setComment(
"Names of files to be processed.");
89 desc.addUntracked<
bool>(
"skipBadFiles",
false)
90 ->setComment(
"True: Ignore any missing or unopenable input file.\n" 91 "False: Throw exception if missing or unopenable input file.");
92 desc.addUntracked<
bool>(
"bypassVersionCheck",
false)
93 ->setComment(
"True: Bypass release version check.\n" 94 "False: Throw exception if reading file in a release prior to the release in which the file was written.");
95 desc.addUntracked<
int>(
"treeMaxVirtualSize", -1)
96 ->setComment(
"Size of ROOT TTree TBasket cache. Affects performance.");
101 descriptions.add(
"source", desc);
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
static void fillDescription(ParameterSetDescription &desc)
unsigned int edm::EmbeddedRootSource::nStreams |
( |
| ) |
const |
|
inline |
bool edm::EmbeddedRootSource::readOneEvent |
( |
EventPrincipal & |
cache, |
|
|
size_t & |
fileNameHash, |
|
|
CLHEP::HepRandomEngine * |
engine, |
|
|
EventID const * |
id, |
|
|
bool |
recycleFiles |
|
) |
| |
|
overrideprivatevirtual |
bool edm::EmbeddedRootSource::skipBadFiles |
( |
| ) |
const |
|
inline |
int edm::EmbeddedRootSource::treeMaxVirtualSize |
( |
| ) |
const |
|
inline |
bool edm::EmbeddedRootSource::bypassVersionCheck_ |
|
private |
unsigned int edm::EmbeddedRootSource::nStreams_ |
|
private |
std::unique_ptr<RunHelperBase> edm::EmbeddedRootSource::runHelper_ |
|
private |
bool edm::EmbeddedRootSource::skipBadFiles_ |
|
private |
int const edm::EmbeddedRootSource::treeMaxVirtualSize_ |
|
private |