Main Page
Namespaces
Classes
Package Documentation
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
22
23
namespace
L1Analysis
24
{
25
class
L1AnalysisRecoElectron
26
{
27
public
:
28
L1AnalysisRecoElectron
();
29
~L1AnalysisRecoElectron
();
30
31
//void Print(std::ostream &os = std::cout) const;
32
void
SetElectron
(
const
edm::Event
&
event
,
33
const
edm::EventSetup
&
setup
,
34
//const edm::Handle<edm::View<reco::GsfElectron>>& electrons,
35
const
edm::Handle<reco::GsfElectronCollection>
electrons
,
36
const
std::vector<
edm::Handle
<
edm::ValueMap<bool>
> > eleVIDDecisionHandles,
37
const
unsigned
& maxElectron);
38
39
/*(const edm::Event& event,
40
const edm::EventSetup& setup,
41
const edm::Handle<reco::GsfElectronCollection> electrons,
42
const edm::Handle<reco::VertexCollection> vertices,
43
const edm::Handle<reco::BeamSpot>,
44
double Rho,
45
unsigned maxElectron);*/
46
47
L1AnalysisRecoElectronDataFormat
*
getData
() {
return
&
recoElectron_
;}
48
void
Reset
() {
recoElectron_
.
Reset
();}
49
50
private
:
51
L1AnalysisRecoElectronDataFormat
recoElectron_
;
52
};
53
}
54
#endif
55
56
L1Analysis::L1AnalysisRecoElectronDataFormat
Definition:
L1AnalysisRecoElectronDataFormat.h:15
L1Analysis::L1AnalysisRecoElectron::Reset
void Reset()
Definition:
L1AnalysisRecoElectron.h:48
Event.h
edm::Handle< reco::GsfElectronCollection >
EventSetup.h
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:1
ValueMap.h
L1Analysis::L1AnalysisRecoElectron::recoElectron_
L1AnalysisRecoElectronDataFormat recoElectron_
Definition:
L1AnalysisRecoElectron.h:51
L1Analysis::L1AnalysisRecoElectron::~L1AnalysisRecoElectron
~L1AnalysisRecoElectron()
Definition:
L1AnalysisRecoElectron.cc:10
L1Analysis::L1AnalysisRecoElectron
Definition:
L1AnalysisRecoElectron.h:25
L1Analysis::L1AnalysisRecoElectronDataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoElectronDataFormat.h:20
edm::EventSetup
Definition:
EventSetup.h:44
GsfElectron.h
edm::ValueMap
Definition:
ValueMap.h:105
GsfElectronFwd.h
L1Analysis::L1AnalysisRecoElectron::getData
L1AnalysisRecoElectronDataFormat * getData()
Definition:
L1AnalysisRecoElectron.h:47
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:19
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:14
edm::Event
Definition:
Event.h:69
L1AnalysisRecoElectronDataFormat.h
L1Analysis::L1AnalysisRecoElectron::L1AnalysisRecoElectron
L1AnalysisRecoElectron()
Definition:
L1AnalysisRecoElectron.cc:5
event
Definition:
event.py:1
electrons_cff.electrons
electrons
Definition:
electrons_cff.py:106
Generated for CMSSW Reference Manual by
1.8.11