BmnRoot
Loading...
Searching...
No Matches
CbmHit.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmHit header file -----
3// ----- Created 16/11/07 by V. Friese -----
4// -------------------------------------------------------------------------
5
6#ifndef CBMHIT_H
7#define CBMHIT_H
8
9
10#include "FairHit.h"
11
12
23class CbmHit : public FairHit
24{
25
26 public:
27
30
31
39 CbmHit(Int_t detID, TVector3& pos, TVector3& dpos,
40 Double_t covXY, Int_t index);
41
42
44 virtual ~CbmHit();
45
46
48 Double_t GetCovXY() const { return fCovXY; }
49 virtual Int_t GetStationNr() const = 0;
50
51
53 virtual void Print(const Option_t* opt = 0) const;
54
55
56
57 protected:
58
59 Double32_t fCovXY; // Covariance of x and y coordinates
60
61
62
64
65};
66
67
68
69#endif
Double_t GetCovXY() const
Definition CbmHit.h:48
virtual Int_t GetStationNr() const =0
Double32_t fCovXY
Definition CbmHit.h:59
CbmHit(Int_t detID, TVector3 &pos, TVector3 &dpos, Double_t covXY, Int_t index)
virtual ~CbmHit()
virtual void Print(const Option_t *opt=0) const
ClassDef(CbmHit, 1)