L1Trigger
L1TNtuples
interface
L1AnalysisRecoElectron.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisRecoElectron_H__
2
#define __L1Analysis_L1AnalysisRecoElectron_H__
3
4
//-------------------------------------------------------------------------------
5
// Created 05/03/2010 - A.C. Le Bihan
6
//
7
//
8
// Original code : L1Trigger/L1TNtuples/L1RecoJetNtupleProducer - Jim Brooke
9
//-------------------------------------------------------------------------------
10
11
#include "
L1AnalysisRecoElectronDataFormat.h
"
12
13
//electrons
14
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
15
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
16
#include "
DataFormats/Common/interface/ValueMap.h
"
17
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
21
namespace
L1Analysis
{
22
class
L1AnalysisRecoElectron
{
23
public
:
24
L1AnalysisRecoElectron
();
25
~L1AnalysisRecoElectron
();
26
27
//void Print(std::ostream &os = std::cout) const;
28
void
SetElectron
(
const
edm::Event
&
event
,
29
const
edm::EventSetup
&
setup
,
30
//const edm::Handle<edm::View<reco::GsfElectron>>& electrons,
31
const
edm::Handle<reco::GsfElectronCollection>
electrons
,
32
const
std::vector
<
edm::Handle
<
edm::ValueMap<bool>
> > eleVIDDecisionHandles,
33
const
unsigned
&
maxElectron
);
34
35
/*(const edm::Event& event,
36
const edm::EventSetup& setup,
37
const edm::Handle<reco::GsfElectronCollection> electrons,
38
const edm::Handle<reco::VertexCollection> vertices,
39
const edm::Handle<reco::BeamSpot>,
40
double Rho,
41
unsigned maxElectron);*/
42
43
L1AnalysisRecoElectronDataFormat
*
getData
() {
return
&
recoElectron_
; }
44
void
Reset
() {
recoElectron_
.
Reset
(); }
45
46
private
:
47
L1AnalysisRecoElectronDataFormat
recoElectron_
;
48
};
49
}
// namespace L1Analysis
50
#endif
L1Analysis::L1AnalysisRecoElectronDataFormat
Definition:
L1AnalysisRecoElectronDataFormat.h:14
L1Analysis::L1AnalysisRecoElectron::Reset
void Reset()
Definition:
L1AnalysisRecoElectron.h:44
Event.h
edm::Handle< reco::GsfElectronCollection >
EventSetup.h
ValueMap.h
L1Analysis::L1AnalysisRecoElectron::recoElectron_
L1AnalysisRecoElectronDataFormat recoElectron_
Definition:
L1AnalysisRecoElectron.h:47
L1Analysis::L1AnalysisRecoElectron::~L1AnalysisRecoElectron
~L1AnalysisRecoElectron()
Definition:
L1AnalysisRecoElectron.cc:7
L1Analysis::L1AnalysisRecoElectron
Definition:
L1AnalysisRecoElectron.h:22
L1Analysis::L1AnalysisRecoElectronDataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoElectronDataFormat.h:18
edm::EventSetup
Definition:
EventSetup.h:59
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
GsfElectron.h
l1ElectronRecoTree_cfi.maxElectron
maxElectron
Definition:
l1ElectronRecoTree_cfi.py:4
edm::ValueMap
Definition:
ValueMap.h:107
GsfElectronFwd.h
L1Analysis::L1AnalysisRecoElectron::getData
L1AnalysisRecoElectronDataFormat * getData()
Definition:
L1AnalysisRecoElectron.h:43
pwdgSkimBPark_cfi.electrons
electrons
Definition:
pwdgSkimBPark_cfi.py:6
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:18
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
L1Analysis::L1AnalysisRecoElectron::SetElectron
void SetElectron(const edm::Event &event, const edm::EventSetup &setup, const edm::Handle< reco::GsfElectronCollection > electrons, const std::vector< edm::Handle< edm::ValueMap< bool > > > eleVIDDecisionHandles, const unsigned &maxElectron)
Definition:
L1AnalysisRecoElectron.cc:9
edm::Event
Definition:
Event.h:73
L1AnalysisRecoElectronDataFormat.h
L1Analysis::L1AnalysisRecoElectron::L1AnalysisRecoElectron
L1AnalysisRecoElectron()
Definition:
L1AnalysisRecoElectron.cc:5
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.14