Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Sources
interface
EDInputSource.h
Go to the documentation of this file.
1
#ifndef FWCore_Sources_EDInputSource_h
2
#define FWCore_Sources_EDInputSource_h
3
4
/*----------------------------------------------------------------------
5
----------------------------------------------------------------------*/
6
7
#include "
DataFormats/Provenance/interface/LuminosityBlockID.h
"
8
#include "
DataFormats/Provenance/interface/RunID.h
"
9
#include "
FWCore/Catalog/interface/InputFileCatalog.h
"
10
#include "
FWCore/Framework/interface/InputSource.h
"
11
#include <vector>
12
#include <string>
13
14
namespace
edm {
15
struct
InputSourceDescription;
16
class
ParameterSet
;
17
class
ParameterSetDescription
;
18
19
class
EDInputSource
:
public
InputSource
{
20
public
:
21
explicit
EDInputSource
(
ParameterSet
const
& pset,
InputSourceDescription
const
& desc);
22
virtual
~EDInputSource
();
23
24
std::vector<std::string>
const
&
logicalFileNames
(
int
n
= 0)
const
{
25
return
n
?
secondaryCatalog_
.
logicalFileNames
() :
catalog_
.
logicalFileNames
();
26
}
27
std::vector<std::string>
const
&
fileNames
(
int
n
= 0)
const
{
28
return
n
?
secondaryCatalog_
.
fileNames
() :
catalog_
.
fileNames
();
29
}
30
std::vector<FileCatalogItem>
const
&
fileCatalogItems
(
int
n
= 0)
const
{
31
return
n
?
secondaryCatalog_
.
fileCatalogItems
() :
catalog_
.
fileCatalogItems
();
32
}
33
InputFileCatalog
&
catalog
(
int
n
= 0) {
return
n
?
secondaryCatalog_
:
catalog_
;}
34
35
static
void
fillDescription
(
ParameterSetDescription
& desc);
36
37
private
:
38
InputFileCatalog
catalog_
;
39
InputFileCatalog
secondaryCatalog_
;
40
};
41
}
42
#endif
LuminosityBlockID.h
RunID.h
ParameterSetDescription
edm::EDInputSource::fileNames
std::vector< std::string > const & fileNames(int n=0) const
Definition:
EDInputSource.h:27
ParameterSet
Definition:
Functions.h:16
edm::EDInputSource::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition:
EDInputSource.cc:33
edm::EDInputSource
Definition:
EDInputSource.h:19
InputSource.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
edm::EDInputSource::EDInputSource
EDInputSource(ParameterSet const &pset, InputSourceDescription const &desc)
Definition:
EDInputSource.cc:17
edm::EDInputSource::catalog_
InputFileCatalog catalog_
Definition:
EDInputSource.h:38
edm::InputSourceDescription
Definition:
InputSourceDescription.h:17
edm::EDInputSource::catalog
InputFileCatalog & catalog(int n=0)
Definition:
EDInputSource.h:33
edm::InputFileCatalog::logicalFileNames
std::vector< std::string > const & logicalFileNames() const
Definition:
InputFileCatalog.h:34
edm::EDInputSource::fileCatalogItems
std::vector< FileCatalogItem > const & fileCatalogItems(int n=0) const
Definition:
EDInputSource.h:30
edm::InputFileCatalog::fileNames
std::vector< std::string > const & fileNames() const
Definition:
InputFileCatalog.h:35
InputFileCatalog.h
n
int n
Definition:
DTDataIntegrityTask.cc:33
edm::EDInputSource::secondaryCatalog_
InputFileCatalog secondaryCatalog_
Definition:
EDInputSource.h:39
edm::InputSource
Definition:
InputSource.h:70
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::EDInputSource::logicalFileNames
std::vector< std::string > const & logicalFileNames(int n=0) const
Definition:
EDInputSource.h:24
edm::EDInputSource::~EDInputSource
virtual ~EDInputSource()
Definition:
EDInputSource.cc:29
edm::InputFileCatalog
Definition:
InputFileCatalog.h:28
edm::InputFileCatalog::fileCatalogItems
std::vector< FileCatalogItem > const & fileCatalogItems() const
Definition:
InputFileCatalog.h:33
Generated for CMSSW Reference Manual by
1.8.5