Main Page
Namespaces
Classes
Package Documentation
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/ObjectSelectorStream.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
{
12
namespace
modules
13
{
14
15
// define your producer name
16
typedef
ObjectSelectorStream
<
17
SortCollectionSelector
<
18
reco::VertexCollection
,
19
GreaterByTracksSize<reco::Vertex>
20
>
21
>
HIBestVertexSelection
;
22
23
// declare the module as plugin
24
DEFINE_FWK_MODULE
(
HIBestVertexSelection
);
25
}
26
}
SortCollectionSelector.h
ObjectSelectorStream
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
ObjectSelectorStream.h
MakerMacros.h
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition:
VertexFwd.h:9
VertexFwd.h
reco::modules::HIBestVertexSelection
ObjectSelectorStream< SortCollectionSelector< reco::VertexCollection, GreaterByTracksSize< reco::Vertex > > > HIBestVertexSelection
Definition:
HIBestVertexSelector.cc:21
GreaterByTracksSize
Definition:
BestVertexComparator.h:5
Vertex.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
BestVertexComparator.h
SortCollectionSelector
Definition:
SortCollectionSelector.h:33
modules
Definition:
ZHLTMatchFilter.cc:17
Generated for CMSSW Reference Manual by
1.8.11