BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TrkFitter/TrkFitter/TrkBmSpotOnTrk.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkBmSpotOnTrk.h,v 1.1.1.1 2005/04/21 06:26:56 maqm Exp $
4//
5// Description:
6// Defines interface between Svt hit and track, and stores information
7// about fit. Used by fitters
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Authors: Steve Schaffner
12//
13// Copyright (C) 1996 Stanford Linear Accelerator Center
14//------------------------------------------------------------------------
15
16#ifndef TRKBMSPOTONTRK_H
17#define TRKBMSPOTONTRK_H
18
19#include "TrkBase/TrkHitOnTrk.h"
20#include "TrkBase/TrkEnums.h"
21#include "TrkBase/TrkLineTraj.h"
22
23#include "CLHEP/Geometry/Point3D.h"
24#include "CLHEP/Matrix/SymMatrix.h"
25
26
27// Class interface //
29{
30public:
31 TrkBmSpotOnTrk(const HepPoint3D &ip, const HepSymMatrix &size );
33
34 TrkBmSpotOnTrk* clone(TrkRep*, const TrkDifTraj *t =0) const;
35 virtual TrkEnums::TrkViewInfo whatView() const;
36 virtual unsigned layerNumber() const { return 0; }
37
38 const Trajectory* hitTraj() const;
39 const HepPoint3D& ip() const;
40
41// this hot has no timing information
42 virtual bool timeResid(double& t,double& tErr) const { return false; }
43 virtual bool timeAbsolute(double& t,double& tErr) const { return false; }
44
45protected:
46 TrkBmSpotOnTrk(const TrkBmSpotOnTrk &hitToBeCopied,TrkRep *newRep, const TrkDifTraj *trkTraj=0);
47 virtual TrkErrCode updateMeasurement(const TrkDifTraj* traj, bool maintainAmbiguity);
48
49 static const TrkLineTraj FindBeamTrajectory( const HepPoint3D &point, const HepSymMatrix &error );
50 double GetRms();
51
52private:
53 // Make sure these aren't used by mistake:
54 TrkBmSpotOnTrk& operator= (const TrkBmSpotOnTrk&);
56
57 const TrkLineTraj _beamTraj;
58 const HepPoint3D _ip;
59 const HepSymMatrix _size;
60};
61
62#endif
TrkBmSpotOnTrk * clone(TrkRep *, const TrkDifTraj *t=0) const
virtual bool timeResid(double &t, double &tErr) const
const HepPoint3D & ip() const
static const TrkLineTraj FindBeamTrajectory(const HepPoint3D &point, const HepSymMatrix &error)
virtual TrkEnums::TrkViewInfo whatView() const
const Trajectory * hitTraj() const
virtual bool timeAbsolute(double &t, double &tErr) const
friend class TrkBase::Functors::updateMeasurement
int t()
Definition: t.c:1