17 rootServiceChecker_(),
18 catalog_(pset.getUntrackedParameter<std::vector<std::
string> >(
"fileNames"),
19 pset.getUntrackedParameter<std::
string>(
"overrideCatalog", std::
string())),
41 return fileSequence_->readOneEvent(cache, fileNameHash, engine,
id);
59 std::vector<std::string> defaultStrings;
60 desc.
setComment(
"Reads EDM/Root files for mixing.");
61 desc.
addUntracked<std::vector<std::string> >(
"fileNames")
62 ->setComment(
"Names of files to be processed.");
66 descriptions.
add(
"source", desc);
virtual void dropUnwantedBranches_(std::vector< std::string > const &wantedBranches)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
std::unique_ptr< RootEmbeddedFileSequence > fileSequence_
void setComment(std::string const &value)
virtual void readOneSpecified(EventPrincipal &cache, size_t &fileNameHash, SecondaryEventIDAndFileInfo const &id)
EmbeddedRootSource(ParameterSet const &pset, VectorInputSourceDescription const &desc)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
virtual bool readOneEvent(EventPrincipal &cache, size_t &fileNameHash, CLHEP::HepRandomEngine *, EventID const *id) override
static void fillDescription(ParameterSetDescription &desc)
virtual ~EmbeddedRootSource()
virtual void closeFile_()
void add(std::string const &label, ParameterSetDescription const &psetDescription)