Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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::FromFiles
FromFiles(ParameterSet const &pset)
Definition:
FromFiles.cc:6
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:100
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
edm::FromFiles::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition:
FromFiles.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
FromFiles.h
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::FromFiles::fileIndex_
size_t fileIndex_
Definition:
FromFiles.h:33
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::FromFiles::~FromFiles
~FromFiles()
Definition:
FromFiles.cc:11
edm::FromFiles::fileIndex
size_t fileIndex() const
Definition:
FromFiles.cc:20
Generated for CMSSW Reference Manual by
1.8.5