RecoParticleFlow
PFTracking
interface
PFTrackTransformer.h
Go to the documentation of this file.
1
#ifndef PFTrackTransformer_H
2
#define PFTrackTransformer_H
3
4
#include "
RecoParticleFlow/PFTracking/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
21
33
class
Trajectory
;
34
class
PFTrackTransformer
{
35
public
:
36
PFTrackTransformer
(
const
math::XYZVector
&);
37
~PFTrackTransformer
();
38
40
bool
addPoints
(
reco::PFRecTrack
& pftrack,
41
const
reco::Track
&
track
,
42
const
Trajectory
& traj,
43
bool
msgwarning =
true
)
const
;
44
45
bool
addPointsAndBrems
(
reco::GsfPFRecTrack
& pftrack,
46
const
reco::Track
&
track
,
47
const
Trajectory
& traj,
48
const
bool
& GetMode)
const
;
49
50
bool
addPointsAndBrems
(
reco::GsfPFRecTrack
& pftrack,
51
const
reco::GsfTrack
&
track
,
52
const
MultiTrajectoryStateTransform
& mtjstate)
const
;
53
54
void
OnlyProp
() {
onlyprop_
=
true
; }
55
bool
onlyprop_
;
56
57
private
:
59
math::XYZVector
B_
;
60
PFGeometry
pfGeometry_
;
61
static
constexpr
double
cos2ThetaV_Endcap_HiEnd_
= 0.99014;
62
};
63
64
#endif
PFTrackTransformer::onlyprop_
bool onlyprop_
Definition:
PFTrackTransformer.h:55
TrajectoryStateOnSurface.h
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11713
PFTrackTransformer::cos2ThetaV_Endcap_HiEnd_
static constexpr double cos2ThetaV_Endcap_HiEnd_
Definition:
PFTrackTransformer.h:61
reco::GsfPFRecTrack
Definition:
GsfPFRecTrack.h:24
PFTrackTransformer::PFTrackTransformer
PFTrackTransformer(const math::XYZVector &)
Definition:
PFTrackTransformer.cc:32
reco::GsfTrack
Definition:
GsfTrack.h:12
MakerMacros.h
PFTrackTransformer::addPoints
bool addPoints(reco::PFRecTrack &pftrack, const reco::Track &track, const Trajectory &traj, bool msgwarning=true) const
Add points to a PFTrack. return false if a TSOS is invalid.
Definition:
PFTrackTransformer.cc:40
TrackFwd.h
Surface.h
MultiTrajectoryStateMode.h
reco::Track
Definition:
Track.h:27
PFGeometry
General CMS geometry parameters used during Particle Flow reconstruction or drawing....
Definition:
PFGeometry.h:23
MultiTrajectoryStateTransform.h
PFTrackTransformer::~PFTrackTransformer
~PFTrackTransformer()
Definition:
PFTrackTransformer.cc:38
Event.h
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition:
Vector3D.h:31
PFRecTrack.h
PFGeometry.h
MultiTrajectoryStateTransform
Definition:
MultiTrajectoryStateTransform.h:18
PFTrackTransformer::addPointsAndBrems
bool addPointsAndBrems(reco::GsfPFRecTrack &pftrack, const reco::Track &track, const Trajectory &traj, const bool &GetMode) const
Definition:
PFTrackTransformer.cc:234
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition:
PFRecTrack.h:20
Trajectory
Definition:
Trajectory.h:38
Frameworkfwd.h
PFTrackTransformer::OnlyProp
void OnlyProp()
Definition:
PFTrackTransformer.h:54
GlobalVector.h
EventSetup.h
ParameterSet.h
GsfPFRecTrack.h
PFTrackTransformer
Definition:
PFTrackTransformer.h:34
Vector3D.h
PFTrackTransformer::pfGeometry_
PFGeometry pfGeometry_
Definition:
PFTrackTransformer.h:60
PFTrackTransformer::B_
math::XYZVector B_
B field.
Definition:
PFTrackTransformer.h:59
Generated for CMSSW Reference Manual by
1.8.16