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