Main Page
Namespaces
Classes
Package Documentation
CommonTools
RecoUtils
interface
PF_PU_FirstVertexTracks.h
Go to the documentation of this file.
1
#ifndef PF_PU_FirstVertexTracks_h
2
#define PF_PU_FirstVertexTracks_h
3
4
// -*- C++ -*-
5
//
6
// Package: PF_PU_AssoMap
7
// Class: PF_PU_FirstVertexTracks
8
//
13
//
14
15
// Original Author: Matthias Geisler
16
// Created: Wed Apr 18 14:48:37 CEST 2012
17
//
18
//
19
20
// system include files
21
#include <memory>
22
23
// user include files
24
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
25
#include "
FWCore/Framework/interface/EDProducer.h
"
26
27
#include "
FWCore/Framework/interface/Event.h
"
28
#include "
FWCore/Framework/interface/Run.h
"
29
#include "
FWCore/Framework/interface/MakerMacros.h
"
30
31
#include "
FWCore/Utilities/interface/InputTag.h
"
32
33
#include "
DataFormats/Common/interface/AssociationMap.h
"
34
#include "
DataFormats/Common/interface/OneToManyWithQuality.h
"
35
#include "
DataFormats/TrackReco/interface/Track.h
"
36
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
37
#include "
DataFormats/VertexReco/interface/Vertex.h
"
38
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
39
40
typedef
edm::AssociationMap<edm::OneToManyWithQuality<reco::VertexCollection, reco::TrackCollection, int>
>
TrackToVertexAssMap
;
41
typedef
edm::AssociationMap<edm::OneToManyWithQuality<reco::TrackCollection, reco::VertexCollection, int>
>
VertexToTrackAssMap
;
42
43
//
44
// class declaration
45
//
46
47
class
PF_PU_FirstVertexTracks
:
public
edm::EDProducer
{
48
public
:
49
explicit
PF_PU_FirstVertexTracks
(
const
edm::ParameterSet
&);
50
~PF_PU_FirstVertexTracks
();
51
52
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
53
54
private
:
55
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
56
virtual
bool
TrackMatch
(
const
reco::Track
&,
const
reco::Track
&);
57
58
// ----------member data ---------------------------
59
60
edm::InputTag
input_AssociationType_
;
61
62
edm::EDGetTokenT<TrackToVertexAssMap>
token_TrackToVertexAssMap_
;
63
edm::EDGetTokenT<VertexToTrackAssMap>
token_VertexToTrackAssMap_
;
64
edm::EDGetTokenT<reco::TrackCollection>
token_generalTracksCollection_
;
65
edm::EDGetTokenT<reco::VertexCollection>
token_VertexCollection_
;
66
67
int
input_MinQuality_
;
68
};
69
70
71
#endif
72
PF_PU_FirstVertexTracks::PF_PU_FirstVertexTracks
PF_PU_FirstVertexTracks(const edm::ParameterSet &)
Definition:
PF_PU_FirstVertexTracks.cc:53
PF_PU_FirstVertexTracks::~PF_PU_FirstVertexTracks
~PF_PU_FirstVertexTracks()
Definition:
PF_PU_FirstVertexTracks.cc:89
TrackToVertexAssMap
edm::AssociationMap< edm::OneToManyWithQuality< reco::VertexCollection, reco::TrackCollection, int > > TrackToVertexAssMap
Definition:
PF_PU_FirstVertexTracks.h:40
AssociationMap.h
PF_PU_FirstVertexTracks::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
PF_PU_FirstVertexTracks.cc:233
Event.h
PF_PU_FirstVertexTracks::token_VertexToTrackAssMap_
edm::EDGetTokenT< VertexToTrackAssMap > token_VertexToTrackAssMap_
Definition:
PF_PU_FirstVertexTracks.h:63
MakerMacros.h
TrackFwd.h
VertexFwd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
OneToManyWithQuality.h
PF_PU_FirstVertexTracks::input_MinQuality_
int input_MinQuality_
Definition:
PF_PU_FirstVertexTracks.h:67
PF_PU_FirstVertexTracks::token_VertexCollection_
edm::EDGetTokenT< reco::VertexCollection > token_VertexCollection_
Definition:
PF_PU_FirstVertexTracks.h:65
PF_PU_FirstVertexTracks::input_AssociationType_
edm::InputTag input_AssociationType_
Definition:
PF_PU_FirstVertexTracks.h:60
edm::AssociationMap
Definition:
AssociationMap.h:48
VertexToTrackAssMap
edm::AssociationMap< edm::OneToManyWithQuality< reco::TrackCollection, reco::VertexCollection, int > > VertexToTrackAssMap
Definition:
PF_PU_FirstVertexTracks.h:41
edm::EventSetup
Definition:
EventSetup.h:45
Run.h
Vertex.h
EDProducer.h
PF_PU_FirstVertexTracks::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
PF_PU_FirstVertexTracks.cc:104
reco::Track
Definition:
Track.h:28
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
PF_PU_FirstVertexTracks::token_TrackToVertexAssMap_
edm::EDGetTokenT< TrackToVertexAssMap > token_TrackToVertexAssMap_
Definition:
PF_PU_FirstVertexTracks.h:62
PF_PU_FirstVertexTracks::token_generalTracksCollection_
edm::EDGetTokenT< reco::TrackCollection > token_generalTracksCollection_
Definition:
PF_PU_FirstVertexTracks.h:64
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
Track.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
PF_PU_FirstVertexTracks::TrackMatch
virtual bool TrackMatch(const reco::Track &, const reco::Track &)
Definition:
PF_PU_FirstVertexTracks.cc:218
PF_PU_FirstVertexTracks
Definition:
PF_PU_FirstVertexTracks.h:47
Generated for CMSSW Reference Manual by
1.8.11