Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
EgammaElectronAlgos
interface
EgAmbiguityTools.h
Go to the documentation of this file.
1
2
#ifndef EgAmbiguityTools_H
3
#define EgAmbiguityTools_H
4
5
class
MultiTrajectoryStateTransform
;
6
class
MultiTrajectoryStateMode
;
7
8
#include "
RecoEgamma/EgammaIsolationAlgos/interface/EgammaTowerIsolation.h
"
9
#include "
RecoEgamma/EgammaIsolationAlgos/interface/EgammaRecHitIsolation.h
"
10
#include "
RecoEgamma/EgammaIsolationAlgos/interface/ElectronTkIsolation.h
"
11
12
#include "
MagneticField/Engine/interface/MagneticField.h
"
13
#include "
TrackingTools/MaterialEffects/interface/PropagatorWithMaterial.h
"
14
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
15
16
#include "
RecoTracker/MeasurementDet/interface/MeasurementTracker.h
"
17
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
18
#include "
Geometry/CaloTopology/interface/CaloTopology.h
"
19
20
#include "
FWCore/Framework/interface/ESHandle.h
"
21
#include "
FWCore/Framework/interface/EventSetup.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
24
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
25
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
26
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
27
#include "
DataFormats/GsfTrackReco/interface/GsfTrackFwd.h
"
28
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
29
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
30
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
31
#include "
DataFormats/TrackReco/interface/HitPattern.h
"
32
#include "
DataFormats/Common/interface/ValueMap.h
"
33
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
34
35
#include <list>
36
37
namespace
EgAmbiguityTools
38
{
39
// for clusters
40
float
sharedEnergy
41
(
const
reco::CaloCluster
*,
const
reco::CaloCluster
*,
42
edm::Handle<EcalRecHitCollection>
& barrelRecHits,
43
edm::Handle<EcalRecHitCollection>
& endcapRecHits ) ;
44
float
sharedEnergy
45
(
const
reco::SuperClusterRef
&,
const
reco::SuperClusterRef
&,
46
edm::Handle<EcalRecHitCollection>
& barrelRecHits,
47
edm::Handle<EcalRecHitCollection>
& endcapRecHits ) ;
48
49
// for tracks
50
int
sharedHits
(
const
reco::GsfTrackRef
&,
const
reco::GsfTrackRef
& ) ;
51
int
sharedDets
(
const
reco::GsfTrackRef
&,
const
reco::GsfTrackRef
& ) ;
52
53
// electrons comparison
54
bool
isBetter
(
const
reco::GsfElectron
*,
const
reco::GsfElectron
* ) ;
55
struct
isInnerMost
56
{
57
edm::ESHandle<TrackerGeometry>
trackerHandle_
;
58
isInnerMost
(
edm::ESHandle<TrackerGeometry>
&
geom
) :
trackerHandle_
(geom) {}
59
bool
operator()
(
const
reco::GsfElectron
*,
const
reco::GsfElectron
* ) ;
60
} ;
61
62
}
63
64
#endif
65
66
EgAmbiguityTools::isInnerMost::trackerHandle_
edm::ESHandle< TrackerGeometry > trackerHandle_
Definition:
EgAmbiguityTools.h:57
EgAmbiguityTools::isInnerMost
Definition:
EgAmbiguityTools.h:55
PropagatorWithMaterial.h
EgAmbiguityTools::isBetter
bool isBetter(const reco::GsfElectron *, const reco::GsfElectron *)
Definition:
EgAmbiguityTools.cc:30
reco::GsfElectron
Definition:
GsfElectron.h:37
Event.h
EventSetup.h
EcalRecHitCollections.h
HitPattern.h
TrackFwd.h
edm::Handle
Definition:
AssociativeIterator.h:48
ElectronTkIsolation.h
ValueMap.h
EgAmbiguityTools::sharedHits
int sharedHits(const reco::GsfTrackRef &, const reco::GsfTrackRef &)
Definition:
EgAmbiguityTools.cc:66
MagneticField.h
SuperClusterFwd.h
CaloClusterFwd.h
MeasurementTracker.h
EgAmbiguityTools::sharedEnergy
float sharedEnergy(const reco::CaloCluster *, const reco::CaloCluster *, edm::Handle< EcalRecHitCollection > &barrelRecHits, edm::Handle< EcalRecHitCollection > &endcapRecHits)
Definition:
EgAmbiguityTools.cc:158
edm::ESHandle< TrackerGeometry >
relativeConstraints.geom
list geom
Definition:
relativeConstraints.py:71
EgAmbiguityTools::isInnerMost::operator()
bool operator()(const reco::GsfElectron *, const reco::GsfElectron *)
Definition:
EgAmbiguityTools.cc:34
ESHandle.h
reco::CaloCluster
Definition:
CaloCluster.h:30
EgammaTowerIsolation.h
GsfElectronFwd.h
EgammaRecHitIsolation.h
CaloGeometry.h
EgAmbiguityTools::sharedDets
int sharedDets(const reco::GsfTrackRef &, const reco::GsfTrackRef &)
Definition:
EgAmbiguityTools.cc:113
MultiTrajectoryStateTransform
Definition:
MultiTrajectoryStateTransform.h:18
TrajectoryStateOnSurface.h
BeamSpot.h
TrajectorySeedCollection.h
MultiTrajectoryStateMode
Definition:
MultiTrajectoryStateMode.h:11
EgAmbiguityTools::isInnerMost::isInnerMost
isInnerMost(edm::ESHandle< TrackerGeometry > &geom)
Definition:
EgAmbiguityTools.h:58
GsfTrackFwd.h
edm::Ref< SuperClusterCollection >
CaloTopology.h
Generated for CMSSW Reference Manual by
1.8.5