CMS 3D CMS Logo

TrajectoryStateClosestToBeamLine.h
Go to the documentation of this file.
1 #ifndef TrajectoryStateClosestToBeamLine_H
2 #define TrajectoryStateClosestToBeamLine_H
3 
8 
16 public:
18 
20 
22  const GlobalPoint& pointOnBeamLine,
23  const reco::BeamSpot& beamSpot)
24  : theFTS(stateAtPCA), thePointOnBeamLine(pointOnBeamLine), theBeamSpot(beamSpot), valid(true) {}
25 
27 
32  FTS const& trackStateAtPCA() const { return theFTS; }
33 
37  GlobalPoint const& beamLinePCA() const { return thePointOnBeamLine; }
38 
44 
48  reco::BeamSpot const& beamSpot() { return theBeamSpot; }
49 
50  inline bool isValid() const { return valid; }
51 
52 private:
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