Main Page
Namespaces
Classes
Package Documentation
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
using namespace
std
;
31
using namespace
reco
;
32
33
class
HLTMuonTrackSelector
:
public
edm::global::EDProducer
<> {
34
public
:
35
explicit
HLTMuonTrackSelector
(
const
edm::ParameterSet
&);
36
~
HLTMuonTrackSelector
()
override
;
37
38
using
MVACollection
= std::vector<float>;
39
40
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&);
41
42
private
:
43
void
produce(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
44
45
TrackCollectionCloner
collectionCloner
;
46
const
TrackCollectionCloner::Tokens
collectionClonerTokens
;
47
48
const
edm::EDGetTokenT< vector<reco::Muon>
>
token_muon
;
49
const
edm::EDGetTokenT< MVACollection >
token_originalMVAVals
;
50
const
bool
flag_copyMVA
;
51
};
52
53
#endif //HLTMuonTrackSelector_h
HLTMuonTrackSelector::collectionClonerTokens
const TrackCollectionCloner::Tokens collectionClonerTokens
Definition:
HLTMuonTrackSelector.h:46
EDProducer.h
HLTMuonTrackSelector::token_originalMVAVals
const edm::EDGetTokenT< MVACollection > token_originalMVAVals
Definition:
HLTMuonTrackSelector.h:49
edm::StreamID
Definition:
StreamID.h:30
Event.h
HLTMuonTrackSelector::flag_copyMVA
const bool flag_copyMVA
Definition:
HLTMuonTrackSelector.h:50
std
Definition:
JetResolutionObject.h:80
TrackFwd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
MuonFwd.h
ParameterSet.h
TrackCollectionCloner
Definition:
TrackCollectionCloner.h:26
ParameterSetDescription.h
edm::EventSetup
Definition:
EventSetup.h:51
Muon.h
edm::global::EDProducer
Definition:
EDProducer.h:32
TrackCollectionCloner.cc
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLTMuonTrackSelector::token_muon
const edm::EDGetTokenT< vector< reco::Muon > > token_muon
Definition:
HLTMuonTrackSelector.h:48
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
TrackCollectionTokens
Definition:
TrackCollectionTokens.h:14
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
edm::Event
Definition:
Event.h:70
Track.h
HLTMuonTrackSelector
Definition:
HLTMuonTrackSelector.h:33
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
HLTMuonTrackSelector::collectionCloner
TrackCollectionCloner collectionCloner
Definition:
HLTMuonTrackSelector.h:45
HLTMuonTrackSelector::MVACollection
std::vector< float > MVACollection
Definition:
HLTMuonTrackSelector.h:38
Generated for CMSSW Reference Manual by
1.8.11