|
|
Go to the documentation of this file.
18 rootServiceChecker_(),
28 skipBadFiles_(
pset.getUntrackedParameter<
bool>(
"skipBadFiles",
false)),
29 bypassVersionCheck_(
pset.getUntrackedParameter<
bool>(
"bypassVersionCheck",
false)),
30 treeMaxVirtualSize_(
pset.getUntrackedParameter<
int>(
"treeMaxVirtualSize", -1)),
31 productSelectorRules_(
pset,
"inputCommands",
"InputSource"),
52 CLHEP::HepRandomEngine* engine,
65 std::vector<std::string>
rules;
66 rules.reserve(wantedBranches.size() + 1);
67 rules.emplace_back(
"drop *");
72 pset.addUntrackedParameter(
"inputCommands",
rules);
79 std::vector<std::string> defaultStrings;
80 desc.
setComment(
"Reads EDM/Root files for mixing.");
81 desc.
addUntracked<std::vector<std::string> >(
"fileNames")->setComment(
"Names of files to be processed.");
85 "True: Ignore any missing or unopenable input file.\n"
86 "False: Throw exception if missing or unopenable input file.");
89 "True: Bypass release version check.\n"
90 "False: Throw exception if reading file in a release prior to the release in which the file was written.");
92 ->setComment(
"Size of ROOT TTree TBasket cache. Affects performance.");
97 descriptions.
add(
"source", desc);
EmbeddedRootSource(ParameterSet const &pset, VectorInputSourceDescription const &desc)
bool readOneEvent(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id, bool recycleFiles) override
~EmbeddedRootSource() override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ProductSelectorRules productSelectorRules_
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setComment(std::string const &value)
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
static void fillDescriptions(ConfigurationDescriptions &descriptions)
virtual void closeFile_()
static void fillDescription(ParameterSetDescription &desc)
edm::propagate_const< std::unique_ptr< RootEmbeddedFileSequence > > fileSequence_
void readOneSpecified(EventPrincipal &cache, size_t &fileNameHash, SecondaryEventIDAndFileInfo const &id) override
void dropUnwantedBranches_(std::vector< std::string > const &wantedBranches) override