Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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/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
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
TrackingSourceConfig_Tier0_Cosmic_cff.modules
list modules
Definition:
TrackingSourceConfig_Tier0_Cosmic_cff.py:88
BestVertexComparator.h
reco::modules::HIBestVertexSelection
ObjectSelector< SortCollectionSelector< reco::VertexCollection, GreaterByTracksSize< reco::Vertex > > > HIBestVertexSelection
Definition:
HIBestVertexSelector.cc:15
Generated for CMSSW Reference Manual by
1.8.5