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 <string>
22
23
namespace
L1Analysis
24
{
25
class
L1AnalysisEvent
26
{
27
public
:
28
L1AnalysisEvent
(
std::string
puMCFile,
29
std::string
puMCHist,
30
std::string
puDataFile,
31
std::string
puDataHist,
32
bool
useAvgVtx,
33
double
maxWeight);
34
~L1AnalysisEvent
();
35
36
//void Print(std::ostream &os = std::cout) const;
37
void
Set
(
const
edm::Event
&
e
,
const
edm::EDGetTokenT<edm::TriggerResults>
& hlt_);
38
void
Reset
() {
event_
.
Reset
();}
39
L1AnalysisEventDataFormat
*
getData
() {
return
&
event_
;}
40
41
// ---- General L1AnalysisEvent information.
42
43
private
:
44
bool
fillHLT_
;
45
bool
doPUWeights_
;
46
47
bool
useAvgVtx_
;
48
double
maxAllowedWeight_
;
49
50
edm::LumiReWeighting
lumiWeights_
;
51
52
L1Analysis::L1AnalysisEventDataFormat
event_
;
53
54
};
55
}
56
#endif
57
58
L1Analysis::L1AnalysisEvent::Reset
void Reset()
Definition:
L1AnalysisEvent.h:38
TriggerNames.h
LumiReWeighting.h
L1Analysis::L1AnalysisEvent::L1AnalysisEvent
L1AnalysisEvent(std::string puMCFile, std::string puMCHist, std::string puDataFile, std::string puDataHist, bool useAvgVtx, double maxWeight)
Definition:
L1AnalysisEvent.cc:10
EDGetToken.h
L1AnalysisEventDataFormat.h
L1Analysis::L1AnalysisEvent::useAvgVtx_
bool useAvgVtx_
Definition:
L1AnalysisEvent.h:47
Event.h
TriggerResults.h
L1Analysis::L1AnalysisEventDataFormat
Definition:
L1AnalysisEventDataFormat.h:17
edm::LumiReWeighting
Definition:
LumiReWeighting.h:219
L1Analysis::L1AnalysisEvent::getData
L1AnalysisEventDataFormat * getData()
Definition:
L1AnalysisEvent.h:39
edm::EDGetTokenT< edm::TriggerResults >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
L1Analysis::L1AnalysisEvent::doPUWeights_
bool doPUWeights_
Definition:
L1AnalysisEvent.h:45
L1Analysis::L1AnalysisEvent::Set
void Set(const edm::Event &e, const edm::EDGetTokenT< edm::TriggerResults > &hlt_)
Definition:
L1AnalysisEvent.cc:44
L1Analysis::L1AnalysisEvent::fillHLT_
bool fillHLT_
Definition:
L1AnalysisEvent.h:44
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
L1Analysis::L1AnalysisEvent::lumiWeights_
edm::LumiReWeighting lumiWeights_
Definition:
L1AnalysisEvent.h:50
L1Analysis::L1AnalysisEvent::maxAllowedWeight_
double maxAllowedWeight_
Definition:
L1AnalysisEvent.h:48
L1Analysis::L1AnalysisEvent::event_
L1Analysis::L1AnalysisEventDataFormat event_
Definition:
L1AnalysisEvent.h:52
L1Analysis::L1AnalysisEvent
Definition:
L1AnalysisEvent.h:25
edm::Event
Definition:
Event.h:65
L1Analysis::L1AnalysisEvent::~L1AnalysisEvent
~L1AnalysisEvent()
Definition:
L1AnalysisEvent.cc:39
L1Analysis::L1AnalysisEventDataFormat::Reset
void Reset()
Definition:
L1AnalysisEventDataFormat.h:22
Generated for CMSSW Reference Manual by
1.8.5