Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoEgamma
EgammaTools
interface
ggPFTracks.h
Go to the documentation of this file.
1
#ifndef ggPFTracks_h
2
#define ggPFTracks_h
3
#include "
DataFormats/EgammaCandidates/interface/Conversion.h
"
4
#include "
DataFormats/EgammaCandidates/interface/Photon.h
"
5
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
6
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidate.h
"
7
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
8
#include "
DataFormats/GsfTrackReco/interface/GsfTrack.h
"
9
#include "TVector3.h"
10
using namespace
edm;
11
using namespace
std;
12
using namespace
reco
;
13
14
class
ggPFTracks
{
15
public
:
16
explicit
ggPFTracks
(
17
edm::Handle<BeamSpot>
& beamSpotHandle
18
);
19
virtual
~
ggPFTracks
();
20
21
virtual
void
getPFConvTracks(
22
reco::Photon
phot,
23
//reco::PFCandidate PFCand,
24
vector<
edm::RefToBase<reco::Track>
> &Tracks,
25
reco::ConversionRefVector
&
conversions
,
26
vector<
edm::RefToBase<reco::Track>
> &SLTracks,
27
reco::ConversionRefVector
&SLconversions
28
);
29
std::pair<float,float> BeamLineInt(
30
reco::SuperClusterRef
sc,
31
vector<
edm::RefToBase<reco::Track>
> &Tracks,
32
reco::ConversionRefVector
&conversions,
33
vector<
edm::RefToBase<reco::Track>
> &SLTracks,
34
reco::ConversionRefVector
&SLconversions
35
);
36
std::pair<float,float> gsfTrackProj(
37
reco::GsfTrackRef
gsf
38
);
39
std::pair<float,float> gsfElectronProj(
40
reco::GsfElectron
gsf
41
);
42
std::pair<float,float> TrackProj(
43
bool
isEb,
44
reco::GsfTrackRef
gsf,
45
vector<
edm::RefToBase<reco::Track>
> &SLTracks,
46
reco::ConversionRefVector
&SLconversions
47
);
48
std::pair<float, float> CombZVtx(
49
reco::SuperClusterRef
sc,
50
reco::GsfTrackRef
gsf,
51
vector<
edm::RefToBase<reco::Track>
> &Tracks,
52
reco::ConversionRefVector
&conversions,
53
vector<
edm::RefToBase<reco::Track>
> &SLTracks,
54
reco::ConversionRefVector
&SLconversions
55
);
56
std::pair<float, float> SLCombZVtx(
57
reco::Photon
phot,
58
bool
&hasSL
59
);
60
bool
isConv
(){
return
isConv_;}
61
62
63
private
:
64
65
Handle<BeamSpot>
beamSpotHandle_
;
66
bool
isConv_
;
67
};
68
#endif
ggPFTracks::beamSpotHandle_
Handle< BeamSpot > beamSpotHandle_
Definition:
ggPFTracks.h:65
reco::GsfElectron
Definition:
GsfElectron.h:37
Photon.h
Conversion.h
edm::RefToBase< reco::Track >
VertexFwd.h
edm::Handle< BeamSpot >
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
reco::Photon
Definition:
Photon.h:23
ggPFTracks::isConv
bool isConv()
Definition:
ggPFTracks.h:60
PFCandidate.h
conversions_cfi.conversions
tuple conversions
Definition:
conversions_cfi.py:8
GsfElectron.h
GsfTrack.h
edm::RefVector< ConversionCollection >
ggPFTracks
Definition:
ggPFTracks.h:14
ggPFTracks::isConv_
bool isConv_
Definition:
ggPFTracks.h:66
edm::Ref< SuperClusterCollection >
Generated for CMSSW Reference Manual by
1.8.5