Main Page
Namespaces
Classes
Package Documentation
FWCore
Framework
interface
RunForOutput.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_RunForOutput_h
2
#define FWCore_Framework_RunForOutput_h
3
4
// -*- C++ -*-
5
//
6
// Package: Framework
7
// Class : RunForOutput
8
//
16
/*----------------------------------------------------------------------
17
18
----------------------------------------------------------------------*/
19
20
#include "
DataFormats/Common/interface/Wrapper.h
"
21
#include "
DataFormats/Provenance/interface/RunAuxiliary.h
"
22
#include "
FWCore/Framework/interface/OccurrenceForOutput.h
"
23
#include "
FWCore/Framework/interface/PrincipalGetAdapter.h
"
24
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
25
26
#include <memory>
27
#include <string>
28
#include <typeinfo>
29
#include <vector>
30
31
namespace
edmtest
{
32
class
TestOutputModule;
33
}
34
35
namespace
edm
{
36
class
ModuleCallingContext;
37
38
class
RunForOutput
:
public
OccurrenceForOutput
{
39
public
:
40
RunForOutput
(
RunPrincipal
const
& rp,
ModuleDescription
const
& md,
41
ModuleCallingContext
const
*);
42
~
RunForOutput
();
43
44
RunAuxiliary
const
&
runAuxiliary
()
const
{
return
aux_;}
45
RunID
const
&
id
()
const
{
return
aux_.id();}
46
RunNumber_t
run
()
const
{
return
aux_.run();}
47
Timestamp
const
&
beginTime
()
const
{
return
aux_.beginTime();}
48
Timestamp
const
&
endTime
()
const
{
return
aux_.endTime();}
49
50
private
:
51
friend
class
edmtest::TestOutputModule;
// For testing
52
53
RunPrincipal
const
&
54
runPrincipal()
const
;
55
56
RunAuxiliary
const
&
aux_
;
57
58
static
const
std::string
emptyString_
;
59
};
60
}
61
#endif
edm::RunForOutput::endTime
Timestamp const & endTime() const
Definition:
RunForOutput.h:48
edm::RunAuxiliary
Definition:
RunAuxiliary.h:15
Wrapper.h
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::RunForOutput::id
RunID const & id() const
Definition:
RunForOutput.h:45
edmtest
Definition:
AlignPCLThresholdsReader.cc:12
Frameworkfwd.h
PrincipalGetAdapter.h
edm::RunForOutput::beginTime
Timestamp const & beginTime() const
Definition:
RunForOutput.h:47
edm::RunForOutput
Definition:
RunForOutput.h:38
edm::RunForOutput::emptyString_
static const std::string emptyString_
Definition:
RunForOutput.h:58
edm::Timestamp
Definition:
Timestamp.h:30
OccurrenceForOutput.h
edm::RunPrincipal
Definition:
RunPrincipal.h:30
edm::RunForOutput::aux_
RunAuxiliary const & aux_
Definition:
RunForOutput.h:56
edm::RunForOutput::runAuxiliary
RunAuxiliary const & runAuxiliary() const
Definition:
RunForOutput.h:44
edm::OccurrenceForOutput
Definition:
OccurrenceForOutput.h:45
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::RunNumber_t
unsigned int RunNumber_t
Definition:
RunLumiEventNumber.h:14
edm::ModuleDescription
Definition:
ModuleDescription.h:22
edm::RunForOutput::run
RunNumber_t run() const
Definition:
RunForOutput.h:46
RunAuxiliary.h
edm::RunID
Definition:
RunID.h:28
Generated for CMSSW Reference Manual by
1.8.11