Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
{
12
namespace
modules
13
{
14
15
// define your producer name
16
typedef
ObjectSelector
<
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
}
ObjectSelector
Definition:
ObjectSelector.h:39
SortCollectionSelector.h
MakerMacros.h
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition:
VertexFwd.h:9
VertexFwd.h
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
GreaterByTracksSize
Definition:
BestVertexComparator.h:5
Vertex.h
BestVertexComparator.h
reco::modules::HIBestVertexSelection
ObjectSelector< SortCollectionSelector< reco::VertexCollection, GreaterByTracksSize< reco::Vertex > > > HIBestVertexSelection
Definition:
HIBestVertexSelector.cc:21
ObjectSelector.h
SortCollectionSelector
Definition:
SortCollectionSelector.h:28
reco::modules::DEFINE_FWK_MODULE
DEFINE_FWK_MODULE(PhiRangeSelector)
Generated for CMSSW Reference Manual by
1.8.5