Main Page
Namespaces
Classes
Package Documentation
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
EgAmbiguityTools
11
{
12
// for clusters
13
float
sharedEnergy
(
reco::CaloCluster
const
& clu1,
reco::CaloCluster
const
& clu2,
14
EcalRecHitCollection
const
&
barrelRecHits
,
15
EcalRecHitCollection
const
&
endcapRecHits
) ;
16
float
sharedEnergy
(
reco::SuperClusterRef
const
& sc1,
reco::SuperClusterRef
const
& sc2,
17
EcalRecHitCollection
const
& barrelRecHits,
18
EcalRecHitCollection
const
& endcapRecHits ) ;
19
20
// for tracks
21
int
sharedHits
(
reco::GsfTrackRef
const
&,
reco::GsfTrackRef
const
& ) ;
22
int
sharedDets
(
reco::GsfTrackRef
const
&,
reco::GsfTrackRef
const
& ) ;
23
24
// electrons comparison
25
bool
isBetter
(
reco::GsfElectron
const
&,
reco::GsfElectron
const
& ) ;
26
bool
isInnerMost
(
reco::GsfElectron
const
&,
reco::GsfElectron
const
& ) ;
27
28
}
29
30
#endif
edm::SortedCollection
Definition:
SortedCollection.h:50
EgAmbiguityTools::sharedDets
int sharedDets(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
reco::GsfElectron
Definition:
GsfElectron.h:38
edm::Ref
Definition:
AssociativeIterator.h:51
EcalRecHitCollections.h
EgAmbiguityTools::isBetter
bool isBetter(reco::GsfElectron const &, reco::GsfElectron const &)
Definition:
EgAmbiguityTools.cc:17
EgAmbiguityTools::sharedEnergy
float sharedEnergy(reco::CaloCluster const &clu1, reco::CaloCluster const &clu2, EcalRecHitCollection const &barrelRecHits, EcalRecHitCollection const &endcapRecHits)
Definition:
EgAmbiguityTools.cc:152
SuperClusterFwd.h
CaloClusterFwd.h
reco::CaloCluster
Definition:
CaloCluster.h:32
GsfElectronFwd.h
particleFlowSuperClusterOOTECAL_cff.barrelRecHits
barrelRecHits
Definition:
particleFlowSuperClusterOOTECAL_cff.py:16
EgAmbiguityTools::sharedHits
int sharedHits(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
particleFlowSuperClusterOOTECAL_cff.endcapRecHits
endcapRecHits
Definition:
particleFlowSuperClusterOOTECAL_cff.py:17
EgAmbiguityTools::isInnerMost
bool isInnerMost(reco::GsfElectron const &, reco::GsfElectron const &)
Definition:
EgAmbiguityTools.cc:20
EgAmbiguityTools
Definition:
EgAmbiguityTools.h:10
GsfTrackFwd.h
Generated for CMSSW Reference Manual by
1.8.11