RecoEgamma
EgammaElectronAlgos
interface
EgAmbiguityTools.h
Go to the documentation of this file.
1
#ifndef EgAmbiguityTools_H
2
#define EgAmbiguityTools_H
3
4
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
5
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
6
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
7
#include "
DataFormats/GsfTrackReco/interface/GsfTrackFwd.h
"
8
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
9
10
namespace
egamma
{
11
// for clusters
12
float
sharedEnergy
(
reco::CaloCluster
const
& clu1,
13
reco::CaloCluster
const
& clu2,
14
EcalRecHitCollection
const
&
barrelRecHits
,
15
EcalRecHitCollection
const
&
endcapRecHits
);
16
float
sharedEnergy
(
reco::SuperClusterRef
const
& sc1,
17
reco::SuperClusterRef
const
& sc2,
18
EcalRecHitCollection
const
&
barrelRecHits
,
19
EcalRecHitCollection
const
&
endcapRecHits
);
20
21
// for tracks
22
int
sharedHits
(
reco::GsfTrackRef
const
&,
reco::GsfTrackRef
const
&);
23
int
sharedDets
(
reco::GsfTrackRef
const
&,
reco::GsfTrackRef
const
&);
24
25
// electrons comparison
26
bool
isBetterElectron
(
reco::GsfElectron
const
&,
reco::GsfElectron
const
&);
27
bool
isInnermostElectron
(
reco::GsfElectron
const
&,
reco::GsfElectron
const
&);
28
29
}
// namespace egamma
30
31
#endif
edm::SortedCollection< EcalRecHit >
HLT_2018_cff.endcapRecHits
endcapRecHits
Definition:
HLT_2018_cff.py:13538
EcalRecHitCollections.h
edm::Ref< SuperClusterCollection >
reco::CaloCluster
Definition:
CaloCluster.h:31
CaloClusterFwd.h
reco::GsfElectron
Definition:
GsfElectron.h:35
GsfElectronFwd.h
egamma::sharedHits
int sharedHits(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
Definition:
EgAmbiguityTools.cc:48
egamma::sharedEnergy
float sharedEnergy(reco::CaloCluster const &clu1, reco::CaloCluster const &clu2, EcalRecHitCollection const &barrelRecHits, EcalRecHitCollection const &endcapRecHits)
Definition:
EgAmbiguityTools.cc:140
HLT_2018_cff.barrelRecHits
barrelRecHits
Definition:
HLT_2018_cff.py:13541
egamma
Definition:
EgAmbiguityTools.h:10
egamma::sharedDets
int sharedDets(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
Definition:
EgAmbiguityTools.cc:95
GsfTrackFwd.h
SuperClusterFwd.h
egamma::isBetterElectron
bool isBetterElectron(reco::GsfElectron const &, reco::GsfElectron const &)
Definition:
EgAmbiguityTools.cc:16
egamma::isInnermostElectron
bool isInnermostElectron(reco::GsfElectron const &, reco::GsfElectron const &)
Definition:
EgAmbiguityTools.cc:20
Generated for CMSSW Reference Manual by
1.8.16