Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
IsolationAlgos
plugins
CandIsoDepositProducer.h
Go to the documentation of this file.
1
#ifndef MuonIsolationProducers_CandIsoDepositProducer_H
2
#define MuonIsolationProducers_CandIsoDepositProducer_H
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
#include "
DataFormats/Common/interface/AssociationVector.h
"
8
#include "
DataFormats/Common/interface/RefToBaseProd.h
"
9
#include <
DataFormats/RecoCandidate/interface/RecoCandidate.h
>
10
11
#include "
DataFormats/RecoCandidate/interface/IsoDepositFwd.h
"
12
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
13
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
14
15
#include <string>
16
17
namespace
edm
{
class
Event
; }
18
namespace
edm
{
class
EventSetup
; }
19
20
class
CandIsoDepositProducer
:
public
edm::stream::EDProducer
<> {
21
22
public
:
23
CandIsoDepositProducer
(
const
edm::ParameterSet
&);
24
25
~
CandIsoDepositProducer
()
override
;
26
27
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
28
29
private
:
30
inline
const
reco::Track
*extractTrack(
const
reco::Candidate
&
cand
,
reco::Track
*dummyStorage)
const
;
31
enum
TrackType
{ FakeT, BestT, StandAloneMuonT, CombinedMuonT, TrackT, GsfT, CandidateT };
32
edm::ParameterSet
theConfig
;
33
edm::EDGetTokenT< edm::View<reco::Candidate>
>
theCandCollectionToken
;
34
TrackType
theTrackType
;
35
std::vector<std::string>
theDepositNames
;
36
bool
theMultipleDepositsFlag
;
37
reco::isodeposit::IsoDepositExtractor
*
theExtractor
;
38
39
};
40
#endif
reco::Candidate
Definition:
Candidate.h:28
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
IsoDepositFwd.h
CandIsoDepositProducer::theConfig
edm::ParameterSet theConfig
Definition:
CandIsoDepositProducer.h:32
CandIsoDepositProducer
Definition:
CandIsoDepositProducer.h:20
CandIsoDepositProducer::theDepositNames
std::vector< std::string > theDepositNames
Definition:
CandIsoDepositProducer.h:35
CandIsoDepositProducer::theTrackType
TrackType theTrackType
Definition:
CandIsoDepositProducer.h:34
edm::EDGetTokenT
Definition:
EDGetToken.h:32
ParameterSet.h
EDProducer.h
EventSetup
CandIsoDepositProducer::TrackType
TrackType
Definition:
CandIsoDepositProducer.h:31
CandIsoDepositProducer::theMultipleDepositsFlag
bool theMultipleDepositsFlag
Definition:
CandIsoDepositProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:54
RefToBaseProd.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
reco::Track
Definition:
Track.h:28
CandIsoDepositProducer::theCandCollectionToken
edm::EDGetTokenT< edm::View< reco::Candidate > > theCandCollectionToken
Definition:
CandIsoDepositProducer.h:33
Event
IsoDeposit.h
IsoDepositExtractor.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
CandIsoDepositProducer::theExtractor
reco::isodeposit::IsoDepositExtractor * theExtractor
Definition:
CandIsoDepositProducer.h:37
AssociationVector.h
edm::ParameterSet
Definition:
ParameterSet.h:36
cand
Definition:
decayParser.h:34
edm::Event
Definition:
Event.h:70
ConsumesCollector.h
RecoCandidate.h
Generated for CMSSW Reference Manual by
1.8.11