src
L1Trigger
L1TNtuples
interface
L1AnalysisRecoPhoton.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisRecoPhoton_H__
2
#define __L1Analysis_L1AnalysisRecoPhoton_H__
3
4
//-------------------------------------------------------------------------------
5
// Original code : L1Trigger/L1TNtuples/L1RecoJetNtupleProducer - Jim Brooke
6
//-------------------------------------------------------------------------------
7
8
#include "
L1AnalysisRecoPhotonDataFormat.h
"
9
10
//photons
11
#include "
DataFormats/EgammaCandidates/interface/Photon.h
"
12
#include "
DataFormats/EgammaCandidates/interface/PhotonFwd.h
"
13
#include "
DataFormats/Common/interface/ValueMap.h
"
14
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
FWCore/Framework/interface/EventSetup.h
"
17
18
namespace
L1Analysis
{
19
class
L1AnalysisRecoPhoton
{
20
public
:
21
L1AnalysisRecoPhoton
();
22
~L1AnalysisRecoPhoton
();
23
24
//void Print(std::ostream &os = std::cout) const;
25
void
SetPhoton
(
const
edm::Event
&
event
,
26
const
edm::EventSetup
&
setup
,
27
const
edm::Handle<reco::PhotonCollection>
photons
,
28
const
std::vector
<
edm::Handle
<
edm::ValueMap<bool>
> > phoVIDDecisionHandles,
29
const
unsigned
&
maxPhoton
);
30
31
L1AnalysisRecoPhotonDataFormat
*
getData
() {
return
&
recoPhoton_
; }
32
void
Reset
() {
recoPhoton_
.
Reset
(); }
33
34
private
:
35
L1AnalysisRecoPhotonDataFormat
recoPhoton_
;
36
};
37
}
// namespace L1Analysis
38
#endif
L1Analysis::L1AnalysisRecoPhotonDataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoPhotonDataFormat.h:15
Event.h
edm::Handle< reco::PhotonCollection >
Photon.h
EventSetup.h
L1Analysis::L1AnalysisRecoPhoton::SetPhoton
void SetPhoton(const edm::Event &event, const edm::EventSetup &setup, const edm::Handle< reco::PhotonCollection > photons, const std::vector< edm::Handle< edm::ValueMap< bool > > > phoVIDDecisionHandles, const unsigned &maxPhoton)
Definition:
L1AnalysisRecoPhoton.cc:9
l1PhotonRecoTree_cfi.maxPhoton
maxPhoton
Definition:
l1PhotonRecoTree_cfi.py:4
L1Analysis::L1AnalysisRecoPhoton::getData
L1AnalysisRecoPhotonDataFormat * getData()
Definition:
L1AnalysisRecoPhoton.h:31
ValueMap.h
L1Analysis::L1AnalysisRecoPhoton::L1AnalysisRecoPhoton
L1AnalysisRecoPhoton()
Definition:
L1AnalysisRecoPhoton.cc:5
L1Analysis::L1AnalysisRecoPhoton::Reset
void Reset()
Definition:
L1AnalysisRecoPhoton.h:32
L1Analysis::L1AnalysisRecoPhoton::recoPhoton_
L1AnalysisRecoPhotonDataFormat recoPhoton_
Definition:
L1AnalysisRecoPhoton.h:35
L1Analysis::L1AnalysisRecoPhoton
Definition:
L1AnalysisRecoPhoton.h:19
edm::EventSetup
Definition:
EventSetup.h:56
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
BPHMonitor_cfi.photons
photons
Definition:
BPHMonitor_cfi.py:86
edm::ValueMap
Definition:
ValueMap.h:107
L1AnalysisRecoPhotonDataFormat.h
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:12
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
L1Analysis::L1AnalysisRecoPhotonDataFormat
Definition:
L1AnalysisRecoPhotonDataFormat.h:11
edm::Event
Definition:
Event.h:73
PhotonFwd.h
L1Analysis::L1AnalysisRecoPhoton::~L1AnalysisRecoPhoton
~L1AnalysisRecoPhoton()
Definition:
L1AnalysisRecoPhoton.cc:7
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.14