Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
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
HI_PhotonSkim_cff.electrons
tuple electrons
Definition:
HI_PhotonSkim_cff.py:77
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
GeneralSetup.setup
def setup
Definition:
GeneralSetup.py:2
GsfElectron.h
edm::ValueMap
Definition:
ValueMap.h:107
GsfElectronFwd.h
L1Analysis::L1AnalysisRecoElectron::getData
L1AnalysisRecoElectronDataFormat * getData()
Definition:
L1AnalysisRecoElectron.h:43
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
Generated for CMSSW Reference Manual by
1.8.5