test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTauTag
TauTagTools
plugins
RecoTauViewMerger.cc
Go to the documentation of this file.
1
/*
2
* Produces a PFTauCollection that merges together the PFTau views given
3
* by the VInputTag src
4
*
5
* Author: Evan K. Friis (UC Davis)
6
*/
7
8
#include "
CommonTools/UtilAlgos/interface/Merger.h
"
9
#include "
DataFormats/Candidate/interface/Candidate.h
"
10
#include "
DataFormats/TauReco/interface/PFTau.h
"
11
#include "
DataFormats/TauReco/interface/PFTauFwd.h
"
12
#include "
DataFormats/Common/interface/View.h
"
13
14
namespace
{
15
struct
ClonePolicy {
16
static
reco::PFTau
clone
(
const
reco::PFTau
&
tau
) {
return
tau
; }
17
};
18
}
19
20
typedef
Merger<edm::View<reco::PFTau>
,
reco::PFTauCollection
, ClonePolicy>
21
RecoTauViewMerger
;
22
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
DEFINE_FWK_MODULE
(
RecoTauViewMerger
);
reco::PFTauCollection
std::vector< PFTau > PFTauCollection
collection of PFTau objects
Definition:
PFTauFwd.h:9
PFTauFwd.h
PFTau.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
RecoTauViewMerger
Merger< edm::View< reco::PFTau >, reco::PFTauCollection, ClonePolicy > RecoTauViewMerger
Definition:
RecoTauViewMerger.cc:21
MakerMacros.h
Candidate.h
View.h
reco::PFTau
Definition:
PFTau.h:34
metsig::tau
Definition:
SignAlgoResolutions.h:40
Merger
Definition:
Merger.h:31
Merger.h
clone
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition:
eve_macros.cc:135
Generated for CMSSW Reference Manual by
1.8.5