Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMuon
MuonIsolation
plugins
TrackExtractor.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_TrackExtractor_H
2
#define MuonIsolation_TrackExtractor_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
TrackExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
16
17
public
:
18
19
TrackExtractor
(){};
20
TrackExtractor
(
const
edm::ParameterSet
& par);
21
22
virtual
~TrackExtractor
(){}
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
private
:
36
// Parameter set
37
edm::InputTag
theTrackCollectionTag
;
38
std::string
theDepositLabel
;
39
double
theDiff_r
;
40
double
theDiff_z
;
41
double
theDR_Max
;
42
double
theDR_Veto
;
43
std::string
theBeamlineOption
;
44
edm::InputTag
theBeamSpotLabel
;
45
unsigned
int
theNHits_Min
;
46
double
theChi2Ndof_Max
;
47
double
theChi2Prob_Min
;
48
double
thePt_Min
;
49
};
50
51
}
52
53
#endif
reco::IsoDeposit
Definition:
IsoDeposit.h:46
muonisolation::TrackExtractor::theTrackCollectionTag
edm::InputTag theTrackCollectionTag
Definition:
TrackExtractor.h:37
muonisolation::TrackExtractor
Definition:
TrackExtractor.h:15
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
muonisolation::TrackExtractor::theNHits_Min
unsigned int theNHits_Min
BeamSpot name.
Definition:
TrackExtractor.h:45
TrackFwd.h
reco::IsoDeposit::Veto
Definition:
IsoDeposit.h:58
muonisolation::TrackExtractor::theDR_Max
double theDR_Max
z distance to vertex
Definition:
TrackExtractor.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonisolation::TrackExtractor::veto
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
Definition:
TrackExtractor.cc:42
muonisolation::TrackExtractor::theDiff_r
double theDiff_r
name for deposit
Definition:
TrackExtractor.h:39
reco::isodeposit::Direction
Definition:
IsoDepositDirection.h:19
muonisolation::TrackExtractor::~TrackExtractor
virtual ~TrackExtractor()
Definition:
TrackExtractor.h:22
edm::EventSetup
Definition:
EventSetup.h:44
muonisolation::TrackExtractor::theBeamSpotLabel
edm::InputTag theBeamSpotLabel
"NONE", "BeamSpotFromEvent"
Definition:
TrackExtractor.h:44
muonisolation::TrackExtractor::theDepositLabel
std::string theDepositLabel
Track Collection Label.
Definition:
TrackExtractor.h:38
muonisolation::TrackExtractor::theChi2Ndof_Max
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
Definition:
TrackExtractor.h:46
muonisolation::TrackExtractor::theDiff_z
double theDiff_z
transverse distance to vertex
Definition:
TrackExtractor.h:40
metsig::muon
Definition:
SignAlgoResolutions.h:41
muonisolation::TrackExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track)
Definition:
TrackExtractor.h:24
muonisolation::TrackExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const
Definition:
TrackExtractor.cc:50
muonisolation::TrackExtractor::theBeamlineOption
std::string theBeamlineOption
Veto cone angle.
Definition:
TrackExtractor.h:43
muonisolation::TrackExtractor::thePt_Min
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition:
TrackExtractor.h:48
reco::Track
Definition:
Track.h:27
IsoDeposit.h
IsoDepositExtractor.h
reco::IsoDeposit::Vetos
std::vector< Veto > Vetos
Definition:
IsoDeposit.h:63
muonisolation::TrackExtractor::TrackExtractor
TrackExtractor()
Definition:
TrackExtractor.h:19
edm::InputTag
Definition:
InputTag.h:17
muonisolation::TrackExtractor::theDR_Veto
double theDR_Veto
Maximum cone angle for deposits.
Definition:
TrackExtractor.h:42
edm::ParameterSet
Definition:
ParameterSet.h:35
dir
dbl *** dir
Definition:
mlp_gen.cc:35
edm::Event
Definition:
Event.h:56
Track.h
muonisolation::TrackExtractor::theChi2Prob_Min
double theChi2Prob_Min
trk.normalizedChi2 < theChi2Ndof_Max
Definition:
TrackExtractor.h:47
muonisolation::TrackExtractor::vetos
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
TrackExtractor.cc:35
Generated for CMSSW Reference Manual by
1.8.5