RecoVertex
AdaptiveVertexFinder
interface
TracksClusteringFromDisplacedSeed.h
Go to the documentation of this file.
1
#include <memory>
2
3
#include "
FWCore/Framework/interface/EDProducer.h
"
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/MakerMacros.h
"
6
#include "
FWCore/Utilities/interface/InputTag.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
9
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
10
#include "
TrackingTools/TransientTrack/interface/TransientTrackBuilder.h
"
11
#include "
TrackingTools/Records/interface/TransientTrackRecord.h
"
12
13
#include "
DataFormats/Common/interface/Handle.h
"
14
#include "
DataFormats/TrackReco/interface/Track.h
"
15
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
16
#include "
DataFormats/VertexReco/interface/Vertex.h
"
17
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
18
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
19
20
#include "
TrackingTools/PatternTools/interface/TwoTrackMinimumDistance.h
"
21
#include "
TrackingTools/IPTools/interface/IPTools.h
"
22
23
//#define VTXDEBUG
24
25
class
TracksClusteringFromDisplacedSeed
{
26
public
:
27
struct
Cluster
{
28
GlobalPoint
seedPoint
;
29
reco::TransientTrack
seedingTrack
;
30
std::vector<reco::TransientTrack>
tracks
;
31
};
32
TracksClusteringFromDisplacedSeed
(
const
edm::ParameterSet
&
params
);
33
34
std::vector<Cluster>
clusters
(
const
reco::Vertex
&
pv
,
const
std::vector<reco::TransientTrack> &
selectedTracks
);
35
36
private
:
37
bool
trackFilter
(
const
reco::TrackRef
&
track
)
const
;
38
std::pair<std::vector<reco::TransientTrack>,
GlobalPoint
>
nearTracks
(
const
reco::TransientTrack
&
seed
,
39
const
std::vector<reco::TransientTrack> &
tracks
,
40
const
reco::Vertex
&
primaryVertex
)
const
;
41
42
// unsigned int maxNTracks;
43
double
max3DIPSignificance
;
44
double
max3DIPValue
;
45
double
min3DIPSignificance
;
46
double
min3DIPValue
;
47
double
clusterMaxDistance
;
48
double
clusterMaxSignificance
;
49
double
distanceRatio
;
50
double
clusterMinAngleCosine
;
51
double
maxTimeSignificance
;
52
};
Handle.h
PDWG_EXOHSCP_cff.tracks
tracks
Definition:
PDWG_EXOHSCP_cff.py:28
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11776
EDProducer.h
CalibrationSummaryClient_cfi.params
params
Definition:
CalibrationSummaryClient_cfi.py:14
TracksClusteringFromDisplacedSeed::min3DIPValue
double min3DIPValue
Definition:
TracksClusteringFromDisplacedSeed.h:46
TransientTrack.h
TracksClusteringFromDisplacedSeed::Cluster::tracks
std::vector< reco::TransientTrack > tracks
Definition:
TracksClusteringFromDisplacedSeed.h:30
TracksClusteringFromDisplacedSeed::clusterMaxDistance
double clusterMaxDistance
Definition:
TracksClusteringFromDisplacedSeed.h:47
TracksClusteringFromDisplacedSeed::clusterMaxSignificance
double clusterMaxSignificance
Definition:
TracksClusteringFromDisplacedSeed.h:48
TwoTrackMinimumDistance.h
edm::Ref< TrackCollection >
fileCollector.seed
seed
Definition:
fileCollector.py:127
BeamMonitor_cff.primaryVertex
primaryVertex
hltOfflineBeamSpot for HLTMON
Definition:
BeamMonitor_cff.py:7
MakerMacros.h
TracksClusteringFromDisplacedSeed::clusterMinAngleCosine
double clusterMinAngleCosine
Definition:
TracksClusteringFromDisplacedSeed.h:50
TracksClusteringFromDisplacedSeed::Cluster::seedPoint
GlobalPoint seedPoint
Definition:
TracksClusteringFromDisplacedSeed.h:28
Track.h
TrackFwd.h
TracksClusteringFromDisplacedSeed::distanceRatio
double distanceRatio
Definition:
TracksClusteringFromDisplacedSeed.h:49
BeamSpot.h
TracksClusteringFromDisplacedSeed::nearTracks
std::pair< std::vector< reco::TransientTrack >, GlobalPoint > nearTracks(const reco::TransientTrack &seed, const std::vector< reco::TransientTrack > &tracks, const reco::Vertex &primaryVertex) const
Definition:
TracksClusteringFromDisplacedSeed.cc:19
Point3DBase< float, GlobalTag >
TracksClusteringFromDisplacedSeed::max3DIPSignificance
double max3DIPSignificance
Definition:
TracksClusteringFromDisplacedSeed.h:43
TracksClusteringFromDisplacedSeed::max3DIPValue
double max3DIPValue
Definition:
TracksClusteringFromDisplacedSeed.h:44
Vertex.h
TransientTrackBuilder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
TracksClusteringFromDisplacedSeed::Cluster::seedingTrack
reco::TransientTrack seedingTrack
Definition:
TracksClusteringFromDisplacedSeed.h:29
Event.h
TracksClusteringFromDisplacedSeed::trackFilter
bool trackFilter(const reco::TrackRef &track) const
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
TransientTrackRecord.h
InputTag.h
VertexFwd.h
IPTools.h
reco::TransientTrack
Definition:
TransientTrack.h:19
TracksClusteringFromDisplacedSeed::Cluster
Definition:
TracksClusteringFromDisplacedSeed.h:27
TracksClusteringFromDisplacedSeed
Definition:
TracksClusteringFromDisplacedSeed.h:25
TracksClusteringFromDisplacedSeed::min3DIPSignificance
double min3DIPSignificance
Definition:
TracksClusteringFromDisplacedSeed.h:45
TracksClusteringFromDisplacedSeed::TracksClusteringFromDisplacedSeed
TracksClusteringFromDisplacedSeed(const edm::ParameterSet ¶ms)
Definition:
TracksClusteringFromDisplacedSeed.cc:5
TracksClusteringFromDisplacedSeed::clusters
std::vector< Cluster > clusters(const reco::Vertex &pv, const std::vector< reco::TransientTrack > &selectedTracks)
Definition:
TracksClusteringFromDisplacedSeed.cc:100
ParameterSet.h
reco::Vertex
Definition:
Vertex.h:35
TrackCollections2monitor_cff.selectedTracks
selectedTracks
Definition:
TrackCollections2monitor_cff.py:32
TracksClusteringFromDisplacedSeed::maxTimeSignificance
double maxTimeSignificance
Definition:
TracksClusteringFromDisplacedSeed.h:51
Generated for CMSSW Reference Manual by
1.8.16