RecoMuon
L3MuonProducer
src
QuarkoniaTrackSelector.h
Go to the documentation of this file.
1
#ifndef QuarkoniaTrackSelector_h_
2
#define QuarkoniaTrackSelector_h_
3
7
#include "
FWCore/Framework/interface/global/EDProducer.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include "
DataFormats/RecoCandidate/interface/RecoChargedCandidate.h
"
11
#include "
DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h
"
12
#include "
DataFormats/TrackReco/interface/Track.h
"
13
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
14
15
#include <vector>
16
17
class
QuarkoniaTrackSelector
:
public
edm::global::EDProducer
<> {
18
public
:
19
explicit
QuarkoniaTrackSelector
(
const
edm::ParameterSet
&);
20
~QuarkoniaTrackSelector
()
override
{}
21
22
private
:
23
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
24
25
private
:
26
edm::InputTag
muonTag_
;
27
edm::InputTag
trackTag_
;
28
edm::EDGetTokenT<reco::RecoChargedCandidateCollection>
muonToken_
;
29
edm::EDGetTokenT<reco::TrackCollection>
trackToken_
;
30
31
std::vector<double>
minMasses_
;
32
std::vector<double>
maxMasses_
;
33
bool
checkCharge_
;
34
double
minTrackPt_
;
35
double
minTrackP_
;
36
double
maxTrackEta_
;
37
};
38
39
#endif
QuarkoniaTrackSelector::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
QuarkoniaTrackSelector.cc:64
edm::StreamID
Definition:
StreamID.h:30
QuarkoniaTrackSelector::minTrackP_
double minTrackP_
track p cut
Definition:
QuarkoniaTrackSelector.h:35
edm::EDGetTokenT< reco::RecoChargedCandidateCollection >
QuarkoniaTrackSelector::trackToken_
edm::EDGetTokenT< reco::TrackCollection > trackToken_
Definition:
QuarkoniaTrackSelector.h:29
QuarkoniaTrackSelector::~QuarkoniaTrackSelector
~QuarkoniaTrackSelector() override
Definition:
QuarkoniaTrackSelector.h:20
QuarkoniaTrackSelector
Definition:
QuarkoniaTrackSelector.h:17
Track.h
TrackFwd.h
QuarkoniaTrackSelector::trackTag_
edm::InputTag trackTag_
tag for TrackCollection
Definition:
QuarkoniaTrackSelector.h:27
QuarkoniaTrackSelector::muonToken_
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > muonToken_
Definition:
QuarkoniaTrackSelector.h:28
edm::global::EDProducer
Definition:
EDProducer.h:32
QuarkoniaTrackSelector::minTrackPt_
double minTrackPt_
track pt cut
Definition:
QuarkoniaTrackSelector.h:34
QuarkoniaTrackSelector::muonTag_
edm::InputTag muonTag_
tag for RecoChargedCandidateCollection
Definition:
QuarkoniaTrackSelector.h:26
QuarkoniaTrackSelector::checkCharge_
bool checkCharge_
check opposite charge?
Definition:
QuarkoniaTrackSelector.h:33
QuarkoniaTrackSelector::maxTrackEta_
double maxTrackEta_
track |eta| cut
Definition:
QuarkoniaTrackSelector.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::EventSetup
Definition:
EventSetup.h:58
QuarkoniaTrackSelector::minMasses_
std::vector< double > minMasses_
lower mass limits
Definition:
QuarkoniaTrackSelector.h:31
InputTag.h
QuarkoniaTrackSelector::maxMasses_
std::vector< double > maxMasses_
upper mass limits
Definition:
QuarkoniaTrackSelector.h:32
RecoChargedCandidate.h
EDProducer.h
edm::Event
Definition:
Event.h:73
RecoChargedCandidateFwd.h
edm::InputTag
Definition:
InputTag.h:15
QuarkoniaTrackSelector::QuarkoniaTrackSelector
QuarkoniaTrackSelector(const edm::ParameterSet &)
Definition:
QuarkoniaTrackSelector.cc:18
Generated for CMSSW Reference Manual by
1.8.16