BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ExtEvent/ExtEvent-00-00-13/ExtEvent/ExtMucHit.h
Go to the documentation of this file.
1//
2//File: ExtMucHit.h
3//Author: Wang LiangLiang
4//History: 2006.2.25 created by Wang LiangLiang
5//
6
7#ifndef EXTMUCHIT_H
8#define EXTMUCHIT_H
9
10using namespace std;
11
12#include "GaudiKernel/ObjectVector.h"
13
14#include "CLHEP/Matrix/Vector.h"
15#include "CLHEP/Matrix/SymMatrix.h"
16#include "CLHEP/Vector/ThreeVector.h"
17
18using namespace CLHEP;
19
21{
22 public:
23 ExtMucHit();
24 ~ExtMucHit();
25 Hep3Vector GetPosition() const {return myPosition;};
26 Hep3Vector GetMomentum() const {return myMomentum;};
27 string GetVolumeName() const {return myVolumeName;};
28 int GetVolumeNumber() const {return myVolumeNumber;};
29 double GetPosSigmaAlongZ() const {return myPosSigmaAlongZ;};
30 double GetPosSigmaAlongT() const {return myPosSigmaAlongT;};
31 double GetPosSigmaAlongX() const {return myPosSigmaAlongX;};
32 double GetPosSigmaAlongY() const {return myPosSigmaAlongY;};
33 HepSymMatrix GetErrorMatrix() const {return myErrorMatrix;};
34 void SetExtMucHit(Hep3Vector aPosition,Hep3Vector aMomentum,string aVolumeName,
35 int aVolumeNumber,HepSymMatrix aErrorMatrix,double aZSigma=0.,
36 double aTSigma=0.,double aXSigma=0.,double aYSigma=0.);
37 private:
38 Hep3Vector myPosition;
39 Hep3Vector myMomentum;
40 string myVolumeName;
41 int myVolumeNumber;
42 double myPosSigmaAlongZ;
43 double myPosSigmaAlongT;
44 double myPosSigmaAlongX;
45 double myPosSigmaAlongY;
46 HepSymMatrix myErrorMatrix;
47
48};
49
50typedef vector<ExtMucHit> ExtMucHitVec;
51
52#endif
void SetExtMucHit(Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName, int aVolumeNumber, HepSymMatrix aErrorMatrix, double aZSigma=0., double aTSigma=0., double aXSigma=0., double aYSigma=0.)
Definition: ExtMucHit.cxx:26