Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoParticleFlow
PFTracking
plugins
PFDisplacedVertexSelector.cc
Go to the documentation of this file.
1
/* \class PFDisplacedVertexSelector
2
*
3
* Selects vertices with a configurable string-based cut.
4
* Saves clones of the selected vertices
5
*
6
* \author: Luca Lista, INFN
7
*
8
* usage:
9
*
10
* module bestVertices = VertexSelector {
11
* src = ctfWithMaterialTracks
12
* string cut = "chiSquared < 5"
13
* }
14
*
15
* for more details about the cut syntax, see the documentation
16
* page below:
17
*
18
* https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePhysicsCutParser
19
*
20
*
21
*/
22
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
25
#include "
CommonTools/UtilAlgos/interface/StringCutObjectSelector.h
"
26
#include "
DataFormats/ParticleFlowReco/interface/PFDisplacedVertex.h
"
27
#include "
DataFormats/ParticleFlowReco/interface/PFDisplacedVertexFwd.h
"
28
29
typedef
SingleObjectSelector
<
30
reco::PFDisplacedVertexCollection
,
31
StringCutObjectSelector<reco::PFDisplacedVertex>
32
>
PFDisplacedVertexSelector
;
33
reco::PFDisplacedVertexCollection
std::vector< PFDisplacedVertex > PFDisplacedVertexCollection
collection of PFDisplacedVertex objects
Definition:
PFDisplacedVertexFwd.h:11
StringCutObjectSelector.h
StringCutObjectSelector
Definition:
StringCutObjectSelector.h:16
MakerMacros.h
SingleObjectSelector.h
PFDisplacedVertex.h
PFDisplacedVertexFwd.h
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
PFDisplacedVertexSelector
SingleObjectSelector< reco::PFDisplacedVertexCollection, StringCutObjectSelector< reco::PFDisplacedVertex > > PFDisplacedVertexSelector
Definition:
PFDisplacedVertexSelector.cc:32
Generated for CMSSW Reference Manual by
1.8.5