Main Page
Namespaces
Classes
Package Documentation
src
FWCore
Sources
interface
RawInputSource.h
Go to the documentation of this file.
1
#ifndef FWCore_Sources_RawInputSource_h
2
#define FWCore_Sources_RawInputSource_h
3
4
/*----------------------------------------------------------------------
5
----------------------------------------------------------------------*/
6
7
#include <memory>
8
#include <utility>
9
10
#include "
DataFormats/Provenance/interface/EventID.h
"
11
#include "
FWCore/Framework/interface/InputSource.h
"
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
14
namespace
edm
{
15
class
ParameterSet
;
16
class
Timestamp
;
17
class
RawInputSource
:
public
InputSource
{
18
public
:
19
explicit
RawInputSource
(
ParameterSet
const
&
pset
,
InputSourceDescription
const
& desc);
20
~RawInputSource
()
override
;
21
static
void
fillDescription
(
ParameterSetDescription
&
description
);
22
23
protected
:
24
void
makeEvent
(
EventPrincipal
& eventPrincipal,
EventAuxiliary
const
& eventAuxiliary);
25
virtual
bool
checkNextEvent
() = 0;
26
virtual
void
read
(
EventPrincipal
& eventPrincipal) = 0;
27
void
setInputFileTransitionsEachEvent
() {
inputFileTransitionsEachEvent_
=
true
;}
28
29
private
:
30
void
readEvent_
(
EventPrincipal
& eventPrincipal)
override
;
31
std::shared_ptr<LuminosityBlockAuxiliary>
readLuminosityBlockAuxiliary_
()
override
;
32
std::shared_ptr<RunAuxiliary>
readRunAuxiliary_
()
override
;
33
virtual
void
reset_
();
34
void
rewind_
()
override
;
35
ItemType
getNextItemType
()
override
;
36
void
closeFile_
()
final
;
37
virtual
void
genuineCloseFile
() { }
38
39
bool
inputFileTransitionsEachEvent_
;
40
bool
fakeInputFileTransition_
;
41
};
42
}
43
#endif
edm::RawInputSource::genuineCloseFile
virtual void genuineCloseFile()
Definition:
RawInputSource.h:37
edm::RawInputSource::readEvent_
void readEvent_(EventPrincipal &eventPrincipal) override
Definition:
RawInputSource.cc:45
edm::RawInputSource::readLuminosityBlockAuxiliary_
std::shared_ptr< LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
Definition:
RawInputSource.cc:36
EventID.h
edm::RawInputSource
Definition:
RawInputSource.h:17
ParameterSet
Definition:
Functions.h:16
edm::RawInputSource::closeFile_
void closeFile_() final
Definition:
RawInputSource.cc:116
edm::EventPrincipal
Definition:
EventPrincipal.h:46
edm::RawInputSource::setInputFileTransitionsEachEvent
void setInputFileTransitionsEachEvent()
Definition:
RawInputSource.h:27
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::RawInputSource::RawInputSource
RawInputSource(ParameterSet const &pset, InputSourceDescription const &desc)
Definition:
RawInputSource.cc:15
Frameworkfwd.h
InputSource.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
edm::InputSource::ItemType
ItemType
Definition:
InputSource.h:76
edm::RawInputSource::~RawInputSource
~RawInputSource() override
Definition:
RawInputSource.cc:24
edm::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::RawInputSource::checkNextEvent
virtual bool checkNextEvent()=0
edm::RawInputSource::inputFileTransitionsEachEvent_
bool inputFileTransitionsEachEvent_
Definition:
RawInputSource.h:39
edm::RawInputSource::read
virtual void read(EventPrincipal &eventPrincipal)=0
edm::RawInputSource::readRunAuxiliary_
std::shared_ptr< RunAuxiliary > readRunAuxiliary_() override
Definition:
RawInputSource.cc:28
edm::RawInputSource::rewind_
void rewind_() override
Definition:
RawInputSource.cc:104
edm::RawInputSource::getNextItemType
ItemType getNextItemType() override
Definition:
RawInputSource.cc:59
heppy_report.description
description
Definition:
heppy_report.py:44
edm::EventAuxiliary
Definition:
EventAuxiliary.h:14
edm::RawInputSource::fakeInputFileTransition_
bool fakeInputFileTransition_
Definition:
RawInputSource.h:40
edm::RawInputSource::reset_
virtual void reset_()
Definition:
RawInputSource.cc:96
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::RawInputSource::makeEvent
void makeEvent(EventPrincipal &eventPrincipal, EventAuxiliary const &eventAuxiliary)
Definition:
RawInputSource.cc:54
edm::InputSource
Definition:
InputSource.h:74
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::RawInputSource::fillDescription
static void fillDescription(ParameterSetDescription &description)
Definition:
RawInputSource.cc:109
Timestamp
Generated for CMSSW Reference Manual by
1.8.11