SimMuon
MCTruth
plugins
SeedToTrackProducer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: SeedToTrackProducer
4
// Class: SeedToTrackProducer
5
//
12
//
13
// Original Author: Hugues Brun
14
// Created: Tue, 05 Nov 2013 13:42:04 GMT
15
// $Id$
16
//
17
//
18
// system include files
19
#include <memory>
20
21
// user include files
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
24
#include "
FWCore/Framework/interface/MakerMacros.h
"
25
#include "
FWCore/Framework/interface/one/EDProducer.h
"
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
28
#include "
MagneticField/Engine/interface/MagneticField.h
"
29
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
30
31
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
32
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
33
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
34
35
#include "
TrackingTools/Records/interface/TransientRecHitRecord.h
"
36
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h
"
37
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
38
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHitBuilder.h
"
39
40
#include "
DataFormats/TrackReco/interface/Track.h
"
41
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
42
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
43
44
//
45
// class declaration
46
//
47
48
typedef
math::Error<5>::type
CovarianceMatrix
;
49
50
class
SeedToTrackProducer
:
public
edm::one::EDProducer
<> {
51
public
:
52
explicit
SeedToTrackProducer
(
const
edm::ParameterSet
&);
53
~SeedToTrackProducer
()
override
;
54
55
private
:
56
void
beginJob
()
override
;
57
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
58
void
endJob
()
override
;
59
virtual
TrajectoryStateOnSurface
seedTransientState
(
const
TrajectorySeed
&);
60
// ----------member data ---------------------------
61
62
edm::EDGetTokenT<TrajectorySeedCollection>
L2seedsTagT_
;
63
edm::EDGetTokenT<edm::View<TrajectorySeed>
>
L2seedsTagS_
;
64
65
edm::ESHandle<MagneticField>
theMGField
;
66
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
67
};
EDProducer.h
SeedToTrackProducer::seedTransientState
virtual TrajectoryStateOnSurface seedTransientState(const TrajectorySeed &)
Definition:
SeedToTrackProducer.cc:155
edm::EDGetTokenT< TrajectorySeedCollection >
TransientRecHitRecord.h
SeedToTrackProducer::endJob
void endJob() override
Definition:
SeedToTrackProducer.cc:170
edm::one::EDProducer
Definition:
EDProducer.h:30
TransientTrack.h
SeedToTrackProducer::SeedToTrackProducer
SeedToTrackProducer(const edm::ParameterSet &)
Definition:
SeedToTrackProducer.cc:29
CovarianceMatrix
math::Error< 5 >::type CovarianceMatrix
Definition:
SeedToTrackProducer.h:48
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MakerMacros.h
Track.h
TrackFwd.h
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
SeedToTrackProducer::L2seedsTagS_
edm::EDGetTokenT< edm::View< TrajectorySeed > > L2seedsTagS_
Definition:
SeedToTrackProducer.h:63
GlobalTrackingGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SeedToTrackProducer::beginJob
void beginJob() override
Definition:
SeedToTrackProducer.cc:166
Event.h
SeedToTrackProducer::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition:
SeedToTrackProducer.h:66
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:57
SeedToTrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
SeedToTrackProducer.cc:45
SeedToTrackProducer
Definition:
SeedToTrackProducer.h:50
TrajectorySeedCollection.h
GeomDet.h
SeedToTrackProducer::L2seedsTagT_
edm::EDGetTokenT< TrajectorySeedCollection > L2seedsTagT_
Definition:
SeedToTrackProducer.h:62
Frameworkfwd.h
math::Error::type
ErrorD< N >::type type
Definition:
Error.h:32
SeedToTrackProducer::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
SeedToTrackProducer.h:65
TrajectorySeed
Definition:
TrajectorySeed.h:17
TrajectoryStateTransform.h
SeedToTrackProducer::~SeedToTrackProducer
~SeedToTrackProducer() override
Definition:
SeedToTrackProducer.cc:38
TransientTrackingRecHitBuilder.h
ParameterSet.h
GlobalTrackingGeometry.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16