test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TNtuples
interface
L1AnalysisEvent.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisEvent_H__
2
#define __L1Analysis_L1AnalysisEvent_H__
3
4
//-------------------------------------------------------------------------------
5
// Created 06/01/2010 - A.C. Le Bihan
6
//
7
//
8
// Original code : L1Trigger/L1TNtuples/L1NtupleProducer
9
//-------------------------------------------------------------------------------
10
11
#include "
FWCore/Utilities/interface/EDGetToken.h
"
12
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
DataFormats/Common/interface/TriggerResults.h
"
15
#include "
FWCore/Common/interface/TriggerNames.h
"
16
17
#include "
PhysicsTools/Utilities/interface/LumiReWeighting.h
"
18
19
#include "
L1AnalysisEventDataFormat.h
"
20
21
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
22
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h
"
23
24
#include <string>
25
26
namespace
L1Analysis
27
{
28
class
L1AnalysisEvent
29
{
30
public
:
31
L1AnalysisEvent
(
std::string
puMCFile,
32
std::string
puMCHist,
33
std::string
puDataFile,
34
std::string
puDataHist,
35
bool
useAvgVtx,
36
double
maxWeight,
37
edm::ConsumesCollector
&&);
38
~L1AnalysisEvent
();
39
40
//void Print(std::ostream &os = std::cout) const;
41
void
Set
(
const
edm::Event
&
e
,
const
edm::EDGetTokenT<edm::TriggerResults>
& hlt_);
42
void
Reset
() {
event_
.
Reset
();}
43
L1AnalysisEventDataFormat
*
getData
() {
return
&
event_
;}
44
45
// ---- General L1AnalysisEvent information.
46
47
private
:
48
bool
fillHLT_
;
49
bool
doPUWeights_
;
50
51
bool
useAvgVtx_
;
52
double
maxAllowedWeight_
;
53
54
edm::LumiReWeighting
lumiWeights_
;
55
56
edm::EDGetTokenT<std::vector<PileupSummaryInfo>
>
pileupSummaryInfoToken_
;
57
L1Analysis::L1AnalysisEventDataFormat
event_
;
58
59
};
60
}
61
#endif
62
63
L1Analysis::L1AnalysisEvent::Reset
void Reset()
Definition:
L1AnalysisEvent.h:42
L1Analysis::L1AnalysisEvent::pileupSummaryInfoToken_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryInfoToken_
Definition:
L1AnalysisEvent.h:56
TriggerNames.h
LumiReWeighting.h
EDGetToken.h
L1AnalysisEventDataFormat.h
L1Analysis::L1AnalysisEvent::useAvgVtx_
bool useAvgVtx_
Definition:
L1AnalysisEvent.h:51
Event.h
TriggerResults.h
L1Analysis::L1AnalysisEventDataFormat
Definition:
L1AnalysisEventDataFormat.h:17
L1Analysis::L1AnalysisEvent::L1AnalysisEvent
L1AnalysisEvent(std::string puMCFile, std::string puMCHist, std::string puDataFile, std::string puDataHist, bool useAvgVtx, double maxWeight, edm::ConsumesCollector &&)
Definition:
L1AnalysisEvent.cc:10
edm::LumiReWeighting
Definition:
LumiReWeighting.h:219
L1Analysis::L1AnalysisEvent::getData
L1AnalysisEventDataFormat * getData()
Definition:
L1AnalysisEvent.h:43
edm::EDGetTokenT< edm::TriggerResults >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
L1Analysis::L1AnalysisEvent::doPUWeights_
bool doPUWeights_
Definition:
L1AnalysisEvent.h:49
L1Analysis::L1AnalysisEvent::Set
void Set(const edm::Event &e, const edm::EDGetTokenT< edm::TriggerResults > &hlt_)
Definition:
L1AnalysisEvent.cc:46
L1Analysis::L1AnalysisEvent::fillHLT_
bool fillHLT_
Definition:
L1AnalysisEvent.h:48
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
L1Analysis::L1AnalysisEvent::lumiWeights_
edm::LumiReWeighting lumiWeights_
Definition:
L1AnalysisEvent.h:54
L1Analysis::L1AnalysisEvent::maxAllowedWeight_
double maxAllowedWeight_
Definition:
L1AnalysisEvent.h:52
L1Analysis::L1AnalysisEvent::event_
L1Analysis::L1AnalysisEventDataFormat event_
Definition:
L1AnalysisEvent.h:57
L1Analysis::L1AnalysisEvent
Definition:
L1AnalysisEvent.h:28
edm::Event
Definition:
Event.h:65
ConsumesCollector.h
L1Analysis::L1AnalysisEvent::~L1AnalysisEvent
~L1AnalysisEvent()
Definition:
L1AnalysisEvent.cc:41
L1Analysis::L1AnalysisEventDataFormat::Reset
void Reset()
Definition:
L1AnalysisEventDataFormat.h:22
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.5