Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
int
fRun
;
32
int
fEvent
;
33
int
fLumiBlock
;
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
EventHeader::setup
void setup(edm::ConsumesCollector &&iC, TTree *tree)
Definition:
EventHeader.cc:26
EventHeader::_Debug
bool _Debug
Definition:
EventHeader.h:39
Event.h
diffTreeTool.tree
tuple tree
Definition:
diffTreeTool.py:129
EventHeader::~EventHeader
~EventHeader()
Definition:
EventHeader.cc:21
EventHeader::fEvent
int fEvent
Definition:
EventHeader.h:32
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:33
EventHeader::lumi_Token
edm::EDGetTokenT< LumiSummary > lumi_Token
Definition:
EventHeader.h:40
EventHeader::fRun
int fRun
Definition:
EventHeader.h:31
EventHeader::EventHeader
EventHeader()
Definition:
EventHeader.cc:11
EventHeader::fOrbit
int fOrbit
Definition:
EventHeader.h:35
EventHeader::fAvgInstDelLumi
double fAvgInstDelLumi
Definition:
EventHeader.h:36
LuminosityBlock.h
EventHeader
Definition:
EventHeader.h:18
edm::Event
Definition:
Event.h:62
ConsumesCollector.h
LumiSummary.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
Generated for CMSSW Reference Manual by
1.8.5