Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
EgammaIsolationAlgos
plugins
EgammaTrackExtractor.h
Go to the documentation of this file.
1
#ifndef EgammaIsolationProducers_EgammaTrackExtractor_H
2
#define EgammaIsolationProducers_EgammaTrackExtractor_H
3
4
#include <string>
5
#include <vector>
6
7
8
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
9
#include "
DataFormats/Common/interface/View.h
"
10
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
11
#include "
DataFormats/TrackReco/interface/Track.h
"
12
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
13
#include "
DataFormats/Candidate/interface/Candidate.h
"
14
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
15
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
16
17
namespace
egammaisolation {
18
19
class
EgammaTrackExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
20
21
public
:
22
23
EgammaTrackExtractor
(){};
24
EgammaTrackExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
&& iC) :
25
EgammaTrackExtractor
(par, iC) {}
26
EgammaTrackExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
& iC);
27
28
virtual
~EgammaTrackExtractor
(){}
29
30
virtual
void
fillVetos
(
const
edm::Event
&
ev
,
31
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
& track) {}
32
33
virtual
reco::IsoDeposit::Vetos
vetos
(
const
edm::Event
&
ev
,
34
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
35
36
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
37
const
edm::EventSetup
& evSetup,
const
reco::Track
&
muon
)
const
{
38
edm::LogWarning
(
"EgammaIsolationAlgos|EgammaTrackExtractor"
)
39
<<
"This Function is not implemented, bad IsoDeposit Returned"
;
40
return
reco::IsoDeposit
(
reco::isodeposit::Direction
(1,1) );
41
}
42
43
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
44
const
edm::EventSetup
& evSetup,
const
reco::Candidate
&
muon
)
const
;
45
46
private
:
47
reco::IsoDeposit::Veto
veto
(
const
reco::IsoDeposit::Direction
&
dir
)
const
;
48
private
:
49
// Parameter set
50
edm::EDGetTokenT<edm::View<reco::Track>
>
theTrackCollectionToken
;
51
std::string
theDepositLabel
;
52
double
minCandEt_
;
53
double
theDiff_r
;
54
double
theDiff_z
;
55
double
theDR_Max
;
56
double
theDR_Veto
;
57
std::string
theBeamlineOption
;
58
edm::InputTag
barrelEcalHitsTag_
;
59
edm::InputTag
endcapEcalHitsTag_
;
60
edm::EDGetTokenT<reco::BeamSpot>
theBeamSpotToken
;
61
unsigned
int
theNHits_Min
;
62
double
theChi2Ndof_Max
;
63
double
theChi2Prob_Min
;
64
double
thePt_Min
;
65
std::vector<double>
paramForIsolBarrel_
;
66
std::vector<double>
paramForIsolEndcap_
;
67
std::string
dzOptionString
;
68
int
dzOption
;
69
};
70
71
}
72
73
#endif
egammaisolation::EgammaTrackExtractor::theDR_Veto
double theDR_Veto
Maximum cone angle for deposits.
Definition:
EgammaTrackExtractor.h:56
egammaisolation::EgammaTrackExtractor::theTrackCollectionToken
edm::EDGetTokenT< edm::View< reco::Track > > theTrackCollectionToken
Definition:
EgammaTrackExtractor.h:50
MessageLogger.h
egammaisolation::EgammaTrackExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const
Definition:
EgammaTrackExtractor.h:36
egammaisolation::EgammaTrackExtractor::dzOptionString
std::string dzOptionString
Endcap requirements to determine if isolated for selective filling.
Definition:
EgammaTrackExtractor.h:67
reco::IsoDeposit
Definition:
IsoDeposit.h:46
reco::Candidate
Definition:
Candidate.h:28
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
edm::LogWarning
Definition:
MessageLogger.h:140
egammaisolation::EgammaTrackExtractor::veto
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
Definition:
EgammaTrackExtractor.cc:58
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackFwd.h
egammaisolation::EgammaTrackExtractor::theChi2Prob_Min
double theChi2Prob_Min
trk.normalizedChi2 < theChi2Ndof_Max
Definition:
EgammaTrackExtractor.h:63
egammaisolation::EgammaTrackExtractor::theDiff_r
double theDiff_r
minimum candidate et
Definition:
EgammaTrackExtractor.h:53
reco::IsoDeposit::Veto
Definition:
IsoDeposit.h:58
edm::EDGetTokenT
Definition:
EDGetToken.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Candidate.h
egammaisolation::EgammaTrackExtractor::~EgammaTrackExtractor
virtual ~EgammaTrackExtractor()
Definition:
EgammaTrackExtractor.h:28
egammaisolation::EgammaTrackExtractor::EgammaTrackExtractor
EgammaTrackExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
Definition:
EgammaTrackExtractor.h:24
egammaisolation::EgammaTrackExtractor::dzOption
int dzOption
Definition:
EgammaTrackExtractor.h:68
egammaisolation::EgammaTrackExtractor::thePt_Min
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition:
EgammaTrackExtractor.h:64
reco::isodeposit::Direction
Definition:
IsoDepositDirection.h:19
egammaisolation::EgammaTrackExtractor::barrelEcalHitsTag_
edm::InputTag barrelEcalHitsTag_
"NONE", "BeamSpotFromEvent"
Definition:
EgammaTrackExtractor.h:58
egammaisolation::EgammaTrackExtractor::theDepositLabel
std::string theDepositLabel
Track Collection Label.
Definition:
EgammaTrackExtractor.h:51
View.h
edm::EventSetup
Definition:
EventSetup.h:45
egammaisolation::EgammaTrackExtractor::endcapEcalHitsTag_
edm::InputTag endcapEcalHitsTag_
Definition:
EgammaTrackExtractor.h:59
egammaisolation::EgammaTrackExtractor
Definition:
EgammaTrackExtractor.h:19
metsig::muon
Definition:
SignAlgoResolutions.h:40
egammaisolation::EgammaTrackExtractor::minCandEt_
double minCandEt_
name for deposit
Definition:
EgammaTrackExtractor.h:52
pat::IsoDeposit
reco::IsoDeposit IsoDeposit
Definition:
Isolation.h:7
egammaisolation::EgammaTrackExtractor::theDiff_z
double theDiff_z
transverse distance to vertex
Definition:
EgammaTrackExtractor.h:54
egammaisolation::EgammaTrackExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track)
Definition:
EgammaTrackExtractor.h:30
reco::Track
Definition:
Track.h:28
egammaisolation::EgammaTrackExtractor::paramForIsolBarrel_
std::vector< double > paramForIsolBarrel_
min track pt to include into iso deposit
Definition:
EgammaTrackExtractor.h:65
egammaisolation::EgammaTrackExtractor::theNHits_Min
unsigned int theNHits_Min
BeamSpot name.
Definition:
EgammaTrackExtractor.h:61
egammaisolation::EgammaTrackExtractor::vetos
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
EgammaTrackExtractor.cc:51
IsoDeposit.h
IsoDepositExtractor.h
reco::IsoDeposit::Vetos
std::vector< Veto > Vetos
Definition:
IsoDeposit.h:63
edm::InputTag
Definition:
InputTag.h:15
egammaisolation::EgammaTrackExtractor::EgammaTrackExtractor
EgammaTrackExtractor()
Definition:
EgammaTrackExtractor.h:23
egammaisolation::EgammaTrackExtractor::theBeamSpotToken
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
Definition:
EgammaTrackExtractor.h:60
egammaisolation::EgammaTrackExtractor::theDR_Max
double theDR_Max
z distance to vertex
Definition:
EgammaTrackExtractor.h:55
edm::ParameterSet
Definition:
ParameterSet.h:36
dir
dbl *** dir
Definition:
mlp_gen.cc:35
egammaisolation::EgammaTrackExtractor::theChi2Ndof_Max
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
Definition:
EgammaTrackExtractor.h:62
edm::Event
Definition:
Event.h:65
Track.h
ConsumesCollector.h
egammaisolation::EgammaTrackExtractor::theBeamlineOption
std::string theBeamlineOption
Veto cone angle.
Definition:
EgammaTrackExtractor.h:57
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
egammaisolation::EgammaTrackExtractor::paramForIsolEndcap_
std::vector< double > paramForIsolEndcap_
Barrel requirements to determine if isolated for selective filling.
Definition:
EgammaTrackExtractor.h:66
Generated for CMSSW Reference Manual by
1.8.5