TrackingTools
TrajectoryState
interface
TrajectoryStateClosestToBeamLine.h
Go to the documentation of this file.
1
#ifndef TrajectoryStateClosestToBeamLine_H
2
#define TrajectoryStateClosestToBeamLine_H
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include "
TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h
"
6
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
7
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
8
15
class
TrajectoryStateClosestToBeamLine
{
16
public
:
17
typedef
FreeTrajectoryState
FTS
;
18
19
TrajectoryStateClosestToBeamLine
() :
valid
(
false
) {}
20
21
TrajectoryStateClosestToBeamLine
(
const
FTS
& stateAtPCA,
22
const
GlobalPoint
& pointOnBeamLine,
23
const
reco::BeamSpot
&
beamSpot
)
24
:
theFTS
(stateAtPCA),
thePointOnBeamLine
(pointOnBeamLine),
theBeamSpot
(
beamSpot
),
valid
(
true
) {}
25
26
~TrajectoryStateClosestToBeamLine
() {}
27
32
FTS
const
&
trackStateAtPCA
()
const
{
return
theFTS
; }
33
37
GlobalPoint
const
&
beamLinePCA
()
const
{
return
thePointOnBeamLine
; }
38
43
Measurement1D
transverseImpactParameter
()
const
;
44
48
reco::BeamSpot
const
&
beamSpot
() {
return
theBeamSpot
; }
49
50
inline
bool
isValid
()
const
{
return
valid
; }
51
52
private
:
53
FTS
theFTS
;
54
GlobalPoint
thePointOnBeamLine
;
55
reco::BeamSpot
theBeamSpot
;
56
bool
valid
;
57
};
58
#endif
TrajectoryStateClosestToBeamLine
Definition:
TrajectoryStateClosestToBeamLine.h:15
Measurement1D
Definition:
Measurement1D.h:11
FreeTrajectoryState.h
funct::false
false
Definition:
Factorize.h:29
TrajectoryStateClosestToBeamLine::theFTS
FTS theFTS
Definition:
TrajectoryStateClosestToBeamLine.h:53
Measurement1D.h
TrajectoryStateClosestToBeamLine::theBeamSpot
reco::BeamSpot theBeamSpot
Definition:
TrajectoryStateClosestToBeamLine.h:55
TrajectoryStateClosestToBeamLine::thePointOnBeamLine
GlobalPoint thePointOnBeamLine
Definition:
TrajectoryStateClosestToBeamLine.h:54
TrajectoryStateClosestToBeamLine::FTS
FreeTrajectoryState FTS
Definition:
TrajectoryStateClosestToBeamLine.h:17
BeamSpot.h
reco::BeamSpot
Definition:
BeamSpot.h:21
TrajectoryStateClosestToBeamLine::transverseImpactParameter
Measurement1D transverseImpactParameter() const
Definition:
TrajectoryStateClosestToBeamLine.cc:3
Point3DBase< float, GlobalTag >
TrajectoryStateClosestToBeamLine::TrajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine(const FTS &stateAtPCA, const GlobalPoint &pointOnBeamLine, const reco::BeamSpot &beamSpot)
Definition:
TrajectoryStateClosestToBeamLine.h:21
funct::true
true
Definition:
Factorize.h:173
TrajectoryStateClosestToBeamLine::~TrajectoryStateClosestToBeamLine
~TrajectoryStateClosestToBeamLine()
Definition:
TrajectoryStateClosestToBeamLine.h:26
TrajectoryStateClosestToBeamLine::valid
bool valid
Definition:
TrajectoryStateClosestToBeamLine.h:56
TrajectoryStateClosestToBeamLine::beamLinePCA
GlobalPoint const & beamLinePCA() const
Definition:
TrajectoryStateClosestToBeamLine.h:37
TrajectoryStateClosestToBeamLine::TrajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine()
Definition:
TrajectoryStateClosestToBeamLine.h:19
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
TrajectoryStateClosestToBeamLine::isValid
bool isValid() const
Definition:
TrajectoryStateClosestToBeamLine.h:50
TrajectoryStateClosestToBeamLine::trackStateAtPCA
FTS const & trackStateAtPCA() const
Definition:
TrajectoryStateClosestToBeamLine.h:32
GlobalPoint.h
TrajectoryStateClosestToBeamLine::beamSpot
reco::BeamSpot const & beamSpot()
Definition:
TrajectoryStateClosestToBeamLine.h:48
Generated for CMSSW Reference Manual by
1.8.16