src
TauAnalysis
MCEmbeddingTools
plugins
TrackerCleaner.h
Go to the documentation of this file.
1
13
#ifndef TauAnalysis_MCEmbeddingTools_TrackerCleaner_H
14
#define TauAnalysis_MCEmbeddingTools_TrackerCleaner_H
15
16
#include "
DataFormats/Common/interface/Handle.h
"
17
#include "
DataFormats/MuonReco/interface/MuonEnergy.h
"
18
#include "
DataFormats/PatCandidates/interface/Muon.h
"
19
#include "
FWCore/Framework/interface/Event.h
"
20
#include "
FWCore/Framework/interface/MakerMacros.h
"
21
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
24
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
25
#include "
TrackingTools/TrackAssociator/interface/TrackAssociatorParameters.h
"
26
#include "
TrackingTools/TrackAssociator/interface/TrackDetectorAssociator.h
"
27
28
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
29
#include "
DataFormats/Common/interface/SortedCollection.h
"
30
#include "
DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h
"
31
#include "
DataFormats/TrackerRecHit2D/interface/OmniClusterRef.h
"
32
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
33
34
#include <iostream>
35
#include <map>
36
#include <string>
37
38
template
<
typename
T>
39
class
TrackerCleaner
:
public
edm::stream::EDProducer
<> {
40
public
:
41
explicit
TrackerCleaner
(
const
edm::ParameterSet
&);
42
~TrackerCleaner
()
override
;
43
44
private
:
45
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
46
47
const
edm::EDGetTokenT<edm::View<pat::Muon>
>
mu_input_
;
48
typedef
edmNew::DetSetVector<T>
TrackClusterCollection
;
49
50
std::map<std::string, edm::EDGetTokenT<TrackClusterCollection>>
inputs_
;
51
52
bool
match_rechit_type
(
const
TrackingRecHit
&murechit);
53
};
54
55
#endif
TrackingComponentsRecord.h
TrackerCleaner
Definition:
TrackerCleaner.h:39
EDProducer.h
DetSetVectorNew.h
OmniClusterRef.h
TrackDetectorAssociator.h
Event.h
TrackerCleaner::mu_input_
const edm::EDGetTokenT< edm::View< pat::Muon > > mu_input_
Definition:
TrackerCleaner.h:47
SortedCollection.h
TrackingRecHit
Definition:
TrackingRecHit.h:21
TrackerCleaner::TrackerCleaner
TrackerCleaner(const edm::ParameterSet &)
Definition:
TrackerCleaner.cc:15
TrackerCleaner::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
TrackerCleaner.cc:32
TrackerCleaner::~TrackerCleaner
~TrackerCleaner() override
Definition:
TrackerCleaner.cc:27
edm::EDGetTokenT
Definition:
EDGetToken.h:37
ParameterSet.h
SiStripMatchedRecHit2D.h
edmNew::DetSetVector
Definition:
DetSetNew.h:13
edm::EventSetup
Definition:
EventSetup.h:56
MuonEnergy.h
TrackerCleaner::inputs_
std::map< std::string, edm::EDGetTokenT< TrackClusterCollection > > inputs_
Definition:
TrackerCleaner.h:50
BaseTrackerRecHit.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
Muon.h
edm::ParameterSet
Definition:
ParameterSet.h:48
TrackerCleaner::match_rechit_type
bool match_rechit_type(const TrackingRecHit &murechit)
Definition:
TrackerCleaner.cc:92
TrackAssociatorParameters.h
edm::Event
Definition:
Event.h:73
MakerMacros.h
TrackerCleaner::TrackClusterCollection
edmNew::DetSetVector< T > TrackClusterCollection
Definition:
TrackerCleaner.h:48
Handle.h
Generated for CMSSW Reference Manual by
1.8.14