Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
HLTanalyzers
interface
EventHeader.h
Go to the documentation of this file.
1
#ifndef EVTHDR_H
2
#define EVTHDR_H
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
#include "
DataFormats/Luminosity/interface/LumiSummary.h
"
8
#include "
DataFormats/Luminosity/interface/LumiDetails.h
"
9
#include "TChain.h"
10
11
18
class
EventHeader
{
19
public
:
20
EventHeader
();
21
~EventHeader
();
22
23
void
setup
(
edm::ConsumesCollector
&& iC, TTree*
tree
);
24
26
void
analyze
(
edm::Event
const
&
iEvent
, TTree* tree);
27
28
private
:
29
30
// Tree variables
31
unsigned
long
long
fEvent
;
32
int
fLumiBlock
;
33
int
fRun
;
34
int
fBx
;
35
int
fOrbit
;
36
double
fAvgInstDelLumi
;
37
38
// input variables
39
bool
_Debug
;
40
edm::EDGetTokenT<LumiSummary>
lumi_Token
;
41
42
// trigger names
43
};
44
45
#endif
EventHeader::analyze
void analyze(edm::Event const &iEvent, TTree *tree)
Definition:
EventHeader.cc:46
MainPageGenerator.tree
tuple tree
Definition:
MainPageGenerator.py:264
EventHeader::setup
void setup(edm::ConsumesCollector &&iC, TTree *tree)
Definition:
EventHeader.cc:26
EventHeader::_Debug
bool _Debug
Definition:
EventHeader.h:39
Event.h
EventHeader::~EventHeader
~EventHeader()
Definition:
EventHeader.cc:21
edm::EDGetTokenT< LumiSummary >
EventHeader::fBx
int fBx
Definition:
EventHeader.h:34
LumiDetails.h
iEvent
int iEvent
Definition:
GenABIO.cc:230
EventHeader::fLumiBlock
int fLumiBlock
Definition:
EventHeader.h:32
EventHeader::lumi_Token
edm::EDGetTokenT< LumiSummary > lumi_Token
Definition:
EventHeader.h:40
EventHeader::fRun
int fRun
Definition:
EventHeader.h:33
EventHeader::EventHeader
EventHeader()
Definition:
EventHeader.cc:11
EventHeader::fOrbit
int fOrbit
Definition:
EventHeader.h:35
EventHeader::fAvgInstDelLumi
double fAvgInstDelLumi
Definition:
EventHeader.h:36
EventHeader::fEvent
unsigned long long fEvent
Definition:
EventHeader.h:31
LuminosityBlock.h
EventHeader
Definition:
EventHeader.h:18
edm::Event
Definition:
Event.h:64
ConsumesCollector.h
LumiSummary.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:38
Generated for CMSSW Reference Manual by
1.8.5