HLTrigger
Muon
plugins
HLTMuonTrackSelector.h
Go to the documentation of this file.
1
#ifndef HLTMuonTrackSelector_h
2
#define HLTMuonTrackSelector_h
3
4
/*
5
* class HLTMuonTrackSelector
6
*
7
* Select tracks matched to the reco::Muon
8
*
9
* base on RecoTracker/FinalTrackSelectors/plugins/TrackCollectionFilterCloner.cc
10
*
11
* Author: Kyeongpil Lee (kplee@cern.ch)
12
*
13
*/
14
15
#include "
RecoTracker/FinalTrackSelectors/src/TrackCollectionCloner.cc
"
16
17
#include "
FWCore/Framework/interface/global/EDProducer.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
21
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
22
23
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
24
#include "
DataFormats/TrackReco/interface/Track.h
"
25
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
26
#include "
DataFormats/MuonReco/interface/Muon.h
"
27
28
#include <vector>
29
30
class
HLTMuonTrackSelector
:
public
edm::global::EDProducer
<> {
31
public
:
32
explicit
HLTMuonTrackSelector
(
const
edm::ParameterSet
&);
33
~HLTMuonTrackSelector
()
override
;
34
35
using
MVACollection
= std::vector<float>;
36
37
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&);
38
39
private
:
40
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
41
42
TrackCollectionCloner
collectionCloner
;
43
const
TrackCollectionCloner::Tokens
collectionClonerTokens
;
44
45
const
edm::EDGetTokenT<std::vector<reco::Muon>
>
token_muon
;
46
const
edm::EDGetTokenT<MVACollection>
token_originalMVAVals
;
47
const
bool
flag_copyMVA
;
48
};
49
50
#endif //HLTMuonTrackSelector_h
TrackCollectionTokens
Definition:
TrackCollectionTokens.h:13
ConfigurationDescriptions.h
edm::StreamID
Definition:
StreamID.h:30
Muon.h
HLTMuonTrackSelector::token_muon
const edm::EDGetTokenT< std::vector< reco::Muon > > token_muon
Definition:
HLTMuonTrackSelector.h:45
TrackCollectionCloner.cc
HLTMuonTrackSelector
Definition:
HLTMuonTrackSelector.h:30
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HLTMuonTrackSelector::token_originalMVAVals
const edm::EDGetTokenT< MVACollection > token_originalMVAVals
Definition:
HLTMuonTrackSelector.h:46
HLTMuonTrackSelector::collectionCloner
TrackCollectionCloner collectionCloner
Definition:
HLTMuonTrackSelector.h:42
TrackCollectionCloner
Definition:
TrackCollectionCloner.h:25
HLTMuonTrackSelector::HLTMuonTrackSelector
HLTMuonTrackSelector(const edm::ParameterSet &)
Definition:
HLTMuonTrackSelector.cc:21
Track.h
TrackFwd.h
MuonFwd.h
ParameterSetDescription.h
edm::global::EDProducer
Definition:
EDProducer.h:32
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
HLTMuonTrackSelector::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &)
Definition:
HLTMuonTrackSelector.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:57
HLTMuonTrackSelector::collectionClonerTokens
const TrackCollectionCloner::Tokens collectionClonerTokens
Definition:
HLTMuonTrackSelector.h:43
HLTMuonTrackSelector::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
HLTMuonTrackSelector.cc:42
HLTMuonTrackSelector::MVACollection
std::vector< float > MVACollection
Definition:
HLTMuonTrackSelector.h:35
ParameterSet.h
HLTMuonTrackSelector::~HLTMuonTrackSelector
~HLTMuonTrackSelector() override
Definition:
HLTMuonTrackSelector.cc:30
EDProducer.h
edm::Event
Definition:
Event.h:73
HLTMuonTrackSelector::flag_copyMVA
const bool flag_copyMVA
Definition:
HLTMuonTrackSelector.h:47
Generated for CMSSW Reference Manual by
1.8.16