Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
edmConvertToStreamModule.modules
list modules
Definition:
edmConvertToStreamModule.py:120
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:106
reco::modules::HIBestVertexSelection
ObjectSelectorStream< SortCollectionSelector< reco::VertexCollection, GreaterByTracksSize< reco::Vertex > > > HIBestVertexSelection
Definition:
HIBestVertexSelector.cc:21
GreaterByTracksSize
Definition:
BestVertexComparator.h:5
Vertex.h
BestVertexComparator.h
SortCollectionSelector
Definition:
SortCollectionSelector.h:28
Generated for CMSSW Reference Manual by
1.8.5