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_2022v12_cff.barrelRecHits
barrelRecHits
Definition:
HLT_2022v12_cff.py:11728
reco::GsfElectron
Definition:
GsfElectron.h:36
edm::Ref< SuperClusterCollection >
EcalRecHitCollections.h
egamma::sharedDets
int sharedDets(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
Definition:
EgAmbiguityTools.cc:95
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
SuperClusterFwd.h
CaloClusterFwd.h
reco::CaloCluster
Definition:
CaloCluster.h:31
egamma
HLT_2022v12_cff.endcapRecHits
endcapRecHits
Definition:
HLT_2022v12_cff.py:11729
GsfElectronFwd.h
egamma::sharedEnergy
float sharedEnergy(reco::CaloCluster const &clu1, reco::CaloCluster const &clu2, EcalRecHitCollection const &barrelRecHits, EcalRecHitCollection const &endcapRecHits)
Definition:
EgAmbiguityTools.cc:140
GsfTrackFwd.h
egamma::sharedHits
int sharedHits(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
Definition:
EgAmbiguityTools.cc:48
Generated for CMSSW Reference Manual by
1.8.14