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
{
18
class
Event
;
19
}
20
namespace
edm
{
21
class
EventSetup
;
22
}
23
24
class
CandIsoDepositProducer
:
public
edm::stream::EDProducer
<> {
25
public
:
26
CandIsoDepositProducer
(
const
edm::ParameterSet
&);
27
28
~
CandIsoDepositProducer
()
override
;
29
30
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
31
32
private
:
33
inline
const
reco::Track
*extractTrack(
const
reco::Candidate
&
cand
,
reco::Track
*dummyStorage)
const
;
34
enum
TrackType
{ FakeT, BestT, StandAloneMuonT, CombinedMuonT, TrackT, GsfT, CandidateT };
35
edm::ParameterSet
theConfig
;
36
edm::EDGetTokenT<edm::View<reco::Candidate>
>
theCandCollectionToken
;
37
TrackType
theTrackType
;
38
std::vector<std::string>
theDepositNames
;
39
bool
theMultipleDepositsFlag
;
40
std::unique_ptr<reco::isodeposit::IsoDepositExtractor>
theExtractor
;
41
};
42
#endif
reco::Candidate
Definition:
Candidate.h:28
IsoDepositFwd.h
CandIsoDepositProducer::theConfig
edm::ParameterSet theConfig
Definition:
CandIsoDepositProducer.h:35
CandIsoDepositProducer::theCandCollectionToken
edm::EDGetTokenT< edm::View< reco::Candidate > > theCandCollectionToken
Definition:
CandIsoDepositProducer.h:36
CandIsoDepositProducer
Definition:
CandIsoDepositProducer.h:24
CandIsoDepositProducer::theDepositNames
std::vector< std::string > theDepositNames
Definition:
CandIsoDepositProducer.h:38
CandIsoDepositProducer::theTrackType
TrackType theTrackType
Definition:
CandIsoDepositProducer.h:37
edm::EDGetTokenT
Definition:
EDGetToken.h:33
ParameterSet.h
EDProducer.h
EventSetup
CandIsoDepositProducer::TrackType
TrackType
Definition:
CandIsoDepositProducer.h:34
CandIsoDepositProducer::theMultipleDepositsFlag
bool theMultipleDepositsFlag
Definition:
CandIsoDepositProducer.h:39
edm::EventSetup
Definition:
EventSetup.h:57
CandIsoDepositProducer::theExtractor
std::unique_ptr< reco::isodeposit::IsoDepositExtractor > theExtractor
Definition:
CandIsoDepositProducer.h:40
RefToBaseProd.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
reco::Track
Definition:
Track.h:27
Event
IsoDeposit.h
IsoDepositExtractor.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
AssociationVector.h
edm::ParameterSet
Definition:
ParameterSet.h:36
cand
Definition:
decayParser.h:34
edm::Event
Definition:
Event.h:72
ConsumesCollector.h
RecoCandidate.h
Generated for CMSSW Reference Manual by
1.8.11