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
FromFiles::~FromFiles
() {}
12
13
void
FromFiles::fillDescription
(
ParameterSetDescription
&
desc
) {
14
std::vector<std::string> defaultStrings;
15
desc
.addUntracked<std::vector<std::string> >(
"fileNames"
, defaultStrings)
16
->setComment(
"Names of files to be processed."
);
17
desc
.addUntracked<
std::string
>(
"overrideCatalog"
,
std::string
());
18
}
19
20
size_t
FromFiles::fileIndex
()
const
{
return
fileIndex_
; }
21
}
// namespace edm
edm::FromFiles::fileIndex
size_t fileIndex() const
Definition:
FromFiles.cc:20
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
FromFiles.h
ParameterSetDescription.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::FromFiles::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition:
FromFiles.cc:13
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
std
Definition:
JetResolutionObject.h:76
edm::FromFiles::FromFiles
FromFiles(ParameterSet const &pset)
Definition:
FromFiles.cc:6
edm::FromFiles::~FromFiles
~FromFiles()
Definition:
FromFiles.cc:11
edm::FromFiles::fileIndex_
size_t fileIndex_
Definition:
FromFiles.h:33
ParameterSet.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16