CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrajectoryStateClosestToBeamLine.h
Go to the documentation of this file.
1 #ifndef TrajectoryStateClosestToBeamLine_H
2 #define TrajectoryStateClosestToBeamLine_H
3 
8 
16 {
17 public:
18 
20 
22 
24  (const FTS& stateAtPCA, const GlobalPoint & pointOnBeamLine,
25  const reco::BeamSpot & beamSpot) :
26  theFTS(stateAtPCA) , thePointOnBeamLine(pointOnBeamLine),
27  theBeamSpot(beamSpot), valid(true)
28  {}
29 
31 
36  FTS const & trackStateAtPCA() const {
37  return theFTS;
38  }
39 
43  GlobalPoint const & beamLinePCA() const {
44  return thePointOnBeamLine;
45  }
46 
52 
57  return theBeamSpot;
58  }
59 
60  inline bool isValid() const {return valid;}
61 
62 private:
63 
67  bool valid;
68 
69 };
70 #endif
volatile std::atomic< bool > shutdown_flag false