RecoHI
HiTracking
plugins
HIBestVertexSelector.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/MakerMacros.h
"
2
3
#include "
CommonTools/UtilAlgos/interface/ObjectSelector.h
"
4
#include "
CommonTools/UtilAlgos/interface/SortCollectionSelector.h
"
5
#include "
RecoHI/HiTracking/interface/BestVertexComparator.h
"
6
7
#include "
DataFormats/VertexReco/interface/Vertex.h
"
8
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
9
10
namespace
reco
{
11
namespace
modules
{
12
13
// define your producer name
14
typedef
ObjectSelector<SortCollectionSelector<reco::VertexCollection, GreaterByTracksSize<reco::Vertex>
> >
15
HIBestVertexSelection
;
16
17
// declare the module as plugin
18
DEFINE_FWK_MODULE
(
HIBestVertexSelection
);
19
}
// namespace modules
20
}
// namespace reco
ObjectSelector
Vertex.h
SortCollectionSelector.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
MakerMacros.h
ObjectSelector.h
VertexFwd.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
BestVertexComparator.h
reco::modules::HIBestVertexSelection
ObjectSelector< SortCollectionSelector< reco::VertexCollection, GreaterByTracksSize< reco::Vertex > > > HIBestVertexSelection
Definition:
HIBestVertexSelector.cc:15
modules
Definition:
MuonCleanerBySegments.cc:35
Generated for CMSSW Reference Manual by
1.8.14