Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoParticleFlow
PFTracking
interface
PFTrackTransformer.h
Go to the documentation of this file.
1
#ifndef PFTrackTransformer_H
2
#define PFTrackTransformer_H
3
4
#include "
RecoParticleFlow/PFProducer/interface/PFGeometry.h
"
5
#include "
DataFormats/GeometrySurface/interface/Surface.h
"
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
DataFormats/ParticleFlowReco/interface/PFRecTrack.h
"
11
#include "
DataFormats/ParticleFlowReco/interface/GsfPFRecTrack.h
"
12
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
13
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
16
#include "
DataFormats/Math/interface/Vector3D.h
"
17
#include "
TrackingTools/GsfTools/interface/MultiTrajectoryStateTransform.h
"
18
#include "
TrackingTools/GsfTools/interface/MultiTrajectoryStateMode.h
"
19
20
21
23
36
class
Trajectory
;
37
class
PFTrackTransformer
{
38
39
40
41
public
:
42
PFTrackTransformer
(
math::XYZVector
);
43
~PFTrackTransformer
();
44
45
47
bool
addPoints
(
reco::PFRecTrack
& pftrack,
48
const
reco::Track
&
track
,
49
const
Trajectory
& traj)
const
;
50
51
bool
addPointsAndBrems
(
reco::GsfPFRecTrack
& pftrack,
52
const
reco::Track
& track,
53
const
Trajectory
& traj,
54
const
bool
& GetMode)
const
;
55
56
bool
addPointsAndBrems
(
reco::GsfPFRecTrack
& pftrack,
57
const
reco::GsfTrack
& track,
58
const
MultiTrajectoryStateTransform
& mtjstate)
const
;
59
60
void
OnlyProp
(){
61
onlyprop_
=
true
;
62
}
63
bool
onlyprop_
;
64
65
private
:
67
math::XYZVector
B_
;
68
const
MultiTrajectoryStateMode
*
mtsMode_
;
69
};
70
71
#endif
PFRecTrack.h
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition:
PFRecTrack.h:22
PFGeometry.h
ExpressReco_HICollisions_FallBack.track
tuple track
Definition:
ExpressReco_HICollisions_FallBack.py:4641
PFTrackTransformer::B_
math::XYZVector B_
B field.
Definition:
PFTrackTransformer.h:67
PFTrackTransformer::OnlyProp
void OnlyProp()
Definition:
PFTrackTransformer.h:60
PFTrackTransformer
Definition:
PFTrackTransformer.h:37
PFTrackTransformer::addPointsAndBrems
bool addPointsAndBrems(reco::GsfPFRecTrack &pftrack, const reco::Track &track, const Trajectory &traj, const bool &GetMode) const
Definition:
PFTrackTransformer.cc:211
Event.h
MakerMacros.h
EventSetup.h
GsfPFRecTrack.h
reco::GsfPFRecTrack
Definition:
GsfPFRecTrack.h:23
TrackFwd.h
PFTrackTransformer::~PFTrackTransformer
~PFTrackTransformer()
Definition:
PFTrackTransformer.cc:41
PFTrackTransformer::onlyprop_
bool onlyprop_
Definition:
PFTrackTransformer.h:63
Frameworkfwd.h
Trajectory
Definition:
Trajectory.h:38
PFTrackTransformer::mtsMode_
const MultiTrajectoryStateMode * mtsMode_
Definition:
PFTrackTransformer.h:68
ParameterSet.h
PFTrackTransformer::addPoints
bool addPoints(reco::PFRecTrack &pftrack, const reco::Track &track, const Trajectory &traj) const
Add points to a PFTrack. return false if a TSOS is invalid.
Definition:
PFTrackTransformer.cc:47
Surface.h
GlobalVector.h
MultiTrajectoryStateMode.h
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition:
Vector3D.h:31
reco::Track
Definition:
Track.h:27
MultiTrajectoryStateTransform.h
Vector3D.h
MultiTrajectoryStateTransform
Definition:
MultiTrajectoryStateTransform.h:18
TrajectoryStateOnSurface.h
reco::GsfTrack
Definition:
GsfTrack.h:11
MultiTrajectoryStateMode
Definition:
MultiTrajectoryStateMode.h:11
PFTrackTransformer::PFTrackTransformer
PFTrackTransformer(math::XYZVector)
Definition:
PFTrackTransformer.cc:34
Generated for CMSSW Reference Manual by
1.8.5