Main Page
Namespaces
Classes
Package Documentation
FWCore
Sources
src
FromFiles.cc
Go to the documentation of this file.
1
#include "
FWCore/Sources/interface/FromFiles.h
"
2
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
3
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
4
5
namespace
edm
{
6
FromFiles::FromFiles
(
ParameterSet
const
&
pset
) :
7
catalog_(pset.getUntrackedParameter<
std
::vector<
std
::
string
> >(
"fileNames"
),
8
pset.getUntrackedParameter<
std
::
string
>(
"overrideCatalog"
,
std
::
string
())),
9
fileIndex_(0) {
10
}
11
12
FromFiles::~FromFiles
() {}
13
14
void
15
FromFiles::fillDescription
(
ParameterSetDescription
& desc) {
16
std::vector<std::string> defaultStrings;
17
desc.
addUntracked
<std::vector<std::string> >(
"fileNames"
, defaultStrings)
18
->setComment(
"Names of files to be processed."
);
19
desc.
addUntracked
<
std::string
>(
"overrideCatalog"
,
std::string
());
20
}
21
22
size_t
23
FromFiles::fileIndex
()
const
{
24
return
fileIndex_
;
25
}
26
}
27
28
edm::FromFiles::FromFiles
FromFiles(ParameterSet const &pset)
Definition:
FromFiles.cc:6
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:94
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
std
Definition:
JetResolutionObject.h:80
edm::FromFiles::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition:
FromFiles.cc:15
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
ParameterSet.h
FromFiles.h
ParameterSetDescription.h
edm::FromFiles::fileIndex_
size_t fileIndex_
Definition:
FromFiles.h:34
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::FromFiles::~FromFiles
~FromFiles()
Definition:
FromFiles.cc:12
edm::FromFiles::fileIndex
size_t fileIndex() const
Definition:
FromFiles.cc:23
Generated for CMSSW Reference Manual by
1.8.11