Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTauTag
TauTagTools
plugins
RecoTauCloningTools.cc
Go to the documentation of this file.
1
2
#include "
DataFormats/JetReco/interface/PFJetCollection.h
"
3
#include "
DataFormats/JetReco/interface/PFJet.h
"
4
#include "
DataFormats/TauReco/interface/PFTauFwd.h
"
5
#include "
DataFormats/TauReco/interface/PFTau.h
"
6
#include "
DataFormats/Candidate/interface/Candidate.h
"
7
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
10
// Make PFJet refs from a View<Candidate> (note that the Candidates must point
11
// back to original PFJet refs!
12
//
13
#include "
RecoTauTag/TauTagTools/interface/CastedRefProducer.h
"
14
typedef
reco::tautools::CastedRefProducer
<
reco::PFJetCollection
,
15
reco::Candidate
>
PFJetRefsCastFromCandView
;
16
DEFINE_FWK_MODULE
(PFJetRefsCastFromCandView);
17
18
typedef
reco::tautools::CastedRefProducer
<
reco::PFTauCollection
,
19
reco::Candidate
>
PFTauRefsCastFromCandView
;
20
DEFINE_FWK_MODULE
(PFTauRefsCastFromCandView);
21
22
// Copy a collection of PFJet or Tau refs to a new concrete collection
23
#include "
RecoTauTag/TauTagTools/interface/CopyProducer.h
"
24
typedef
reco::tautools::CopyProducer<reco::PFJetCollection>
PFJetCopyProducer
;
25
DEFINE_FWK_MODULE
(
PFJetCopyProducer
);
26
typedef
reco::tautools::CopyProducer<reco::PFTauCollection>
PFTauCopyProducer
;
27
DEFINE_FWK_MODULE
(
PFTauCopyProducer
);
CopyProducer.h
reco::PFTauCollection
std::vector< PFTau > PFTauCollection
collection of PFTau objects
Definition:
PFTauFwd.h:9
PFJetCollection.h
PFTauFwd.h
PFTau.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
CastedRefProducer.h
MakerMacros.h
reco::Candidate
Definition:
Candidate.h:32
reco::tautools::CopyProducer
Definition:
CopyProducer.h:25
PFTauCopyProducer
reco::tautools::CopyProducer< reco::PFTauCollection > PFTauCopyProducer
Definition:
RecoTauCloningTools.cc:26
Candidate.h
reco::PFJetCollection
std::vector< PFJet > PFJetCollection
collection of PFJet objects
Definition:
PFJetCollection.h:14
PFJetRefsCastFromCandView
reco::tautools::CastedRefProducer< reco::PFJetCollection, reco::Candidate > PFJetRefsCastFromCandView
Definition:
RecoTauCloningTools.cc:15
PFTauRefsCastFromCandView
reco::tautools::CastedRefProducer< reco::PFTauCollection, reco::Candidate > PFTauRefsCastFromCandView
Definition:
RecoTauCloningTools.cc:19
PFJet.h
reco::tautools::CastedRefProducer
Definition:
CastedRefProducer.h:25
PFJetCopyProducer
reco::tautools::CopyProducer< reco::PFJetCollection > PFJetCopyProducer
Definition:
RecoTauCloningTools.cc:24
Generated for CMSSW Reference Manual by
1.8.5