Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMuon
MuonIsolation
plugins
PixelTrackExtractor.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_PixelTrackExtractor_H
2
#define MuonIsolation_PixelTrackExtractor_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 "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
12
13
namespace
muonisolation {
14
15
class
PixelTrackExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
16
17
public
:
18
19
PixelTrackExtractor
(){};
20
PixelTrackExtractor
(
const
edm::ParameterSet
& par);
21
22
virtual
~PixelTrackExtractor
(){}
23
24
virtual
void
fillVetos
(
const
edm::Event
& ev,
25
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
& track) {}
26
27
virtual
reco::IsoDeposit::Vetos
vetos
(
const
edm::Event
& ev,
28
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
29
30
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
31
const
edm::EventSetup
& evSetup,
const
reco::Track
&
muon
)
const
;
32
33
private
:
34
reco::IsoDeposit::Veto
veto
(
const
reco::IsoDeposit::Direction
&
dir
)
const
;
35
36
reco::isodeposit::Direction
directionAtPresetRadius
(
const
reco::Track
& tk,
double
bz)
const
;
37
private
:
38
// Parameter set
39
edm::InputTag
theTrackCollectionTag
;
40
std::string
theDepositLabel
;
41
double
theDiff_r
;
42
double
theDiff_z
;
43
double
theDR_Max
;
44
double
theDR_Veto
;
45
std::string
theBeamlineOption
;
46
edm::InputTag
theBeamSpotLabel
;
47
unsigned
int
theNHits_Min
;
48
double
theChi2Ndof_Max
;
49
double
theChi2Prob_Min
;
50
double
thePt_Min
;
51
52
bool
thePropagateTracksToRadius
;
53
double
theReferenceRadius
;
54
55
bool
theVetoLeadingTrack
;
56
double
thePtVeto_Min
;
57
double
theDR_VetoPt
;
58
};
59
60
}
61
62
#endif
reco::IsoDeposit
Definition:
IsoDeposit.h:45
muonisolation::PixelTrackExtractor::theReferenceRadius
double theReferenceRadius
If set to true will compare track eta-phi at ...
Definition:
PixelTrackExtractor.h:53
muonisolation::PixelTrackExtractor::~PixelTrackExtractor
virtual ~PixelTrackExtractor()
Definition:
PixelTrackExtractor.h:22
muonisolation::PixelTrackExtractor::theVetoLeadingTrack
bool theVetoLeadingTrack
... this radius
Definition:
PixelTrackExtractor.h:55
muonisolation::PixelTrackExtractor::theChi2Ndof_Max
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
Definition:
PixelTrackExtractor.h:48
muonisolation::PixelTrackExtractor::veto
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
Definition:
PixelTrackExtractor.cc:52
muonisolation::PixelTrackExtractor::theDR_Veto
double theDR_Veto
Maximum cone angle for deposits.
Definition:
PixelTrackExtractor.h:44
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
muonisolation::PixelTrackExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track)
Definition:
PixelTrackExtractor.h:24
TrackFwd.h
reco::IsoDeposit::Veto
Definition:
IsoDeposit.h:53
muonisolation::PixelTrackExtractor::theDiff_r
double theDiff_r
name for deposit
Definition:
PixelTrackExtractor.h:41
muonisolation::PixelTrackExtractor::vetos
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
PixelTrackExtractor.cc:45
muonisolation::PixelTrackExtractor
Definition:
PixelTrackExtractor.h:15
muonisolation::PixelTrackExtractor::thePropagateTracksToRadius
bool thePropagateTracksToRadius
min track pt to include into iso deposit
Definition:
PixelTrackExtractor.h:52
muonisolation::PixelTrackExtractor::theTrackCollectionTag
edm::InputTag theTrackCollectionTag
Definition:
PixelTrackExtractor.h:39
muonisolation::PixelTrackExtractor::thePtVeto_Min
double thePtVeto_Min
will veto leading track if
Definition:
PixelTrackExtractor.h:56
muonisolation::PixelTrackExtractor::PixelTrackExtractor
PixelTrackExtractor()
Definition:
PixelTrackExtractor.h:19
reco::isodeposit::Direction
Definition:
IsoDepositDirection.h:19
muonisolation::PixelTrackExtractor::theDR_Max
double theDR_Max
z distance to vertex
Definition:
PixelTrackExtractor.h:43
edm::EventSetup
Definition:
EventSetup.h:44
muonisolation::PixelTrackExtractor::thePt_Min
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition:
PixelTrackExtractor.h:50
metsig::muon
Definition:
SignAlgoResolutions.h:41
muonisolation::PixelTrackExtractor::theDepositLabel
std::string theDepositLabel
Track Collection Label.
Definition:
PixelTrackExtractor.h:40
muonisolation::PixelTrackExtractor::theDiff_z
double theDiff_z
transverse distance to vertex
Definition:
PixelTrackExtractor.h:42
reco::Track
Definition:
Track.h:27
muonisolation::PixelTrackExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const
Definition:
PixelTrackExtractor.cc:76
IsoDeposit.h
muonisolation::PixelTrackExtractor::theBeamlineOption
std::string theBeamlineOption
Veto cone angle.
Definition:
PixelTrackExtractor.h:45
IsoDepositExtractor.h
muonisolation::PixelTrackExtractor::directionAtPresetRadius
reco::isodeposit::Direction directionAtPresetRadius(const reco::Track &tk, double bz) const
Definition:
PixelTrackExtractor.cc:60
reco::IsoDeposit::Vetos
std::vector< Veto > Vetos
Definition:
IsoDeposit.h:58
edm::InputTag
Definition:
InputTag.h:12
muonisolation::PixelTrackExtractor::theDR_VetoPt
double theDR_VetoPt
.. it is above this threshold
Definition:
PixelTrackExtractor.h:57
muonisolation::PixelTrackExtractor::theNHits_Min
unsigned int theNHits_Min
BeamSpot name.
Definition:
PixelTrackExtractor.h:47
edm::ParameterSet
Definition:
ParameterSet.h:35
muonisolation::PixelTrackExtractor::theChi2Prob_Min
double theChi2Prob_Min
trk.normalizedChi2 < theChi2Ndof_Max
Definition:
PixelTrackExtractor.h:49
dir
dbl *** dir
Definition:
mlp_gen.cc:35
edm::Event
Definition:
Event.h:50
Track.h
muonisolation::PixelTrackExtractor::theBeamSpotLabel
edm::InputTag theBeamSpotLabel
"NONE", "BeamSpotFromEvent"
Definition:
PixelTrackExtractor.h:46
Generated for CMSSW Reference Manual by
1.8.5