Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:27:01

0001 #ifndef Fireworks_Tracks_FWBeamSpot_h
0002 #define Fireworks_Tracks_FWBeamSpot_h
0003 
0004 namespace edm {
0005   class EventBase;
0006 }
0007 namespace reco {
0008   class BeamSpot;
0009 }
0010 
0011 class FWBeamSpot {
0012 public:
0013   FWBeamSpot() : m_beamspot(nullptr) {}
0014   ~FWBeamSpot() {}
0015 
0016   void checkBeamSpot(const edm::EventBase* event);
0017 
0018   double x0() const;
0019   double y0() const;
0020   double z0() const;
0021   double x0Error() const;
0022   double y0Error() const;
0023   double z0Error() const;
0024 
0025   const reco::BeamSpot* getBeamSpot() const { return m_beamspot; }
0026 
0027 private:
0028   const reco::BeamSpot* m_beamspot;
0029 };
0030 
0031 #endif