BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ExtEvent/include/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/SymMatrix.h"
15#include "CLHEP/Matrix/Vector.h"
16#include "CLHEP/Vector/ThreeVector.h"
17
18using namespace CLHEP;
19
20class ExtMucHit {
21public:
22 ExtMucHit();
23 ~ExtMucHit();
24 Hep3Vector GetPosition() const { return myPosition; };
25 Hep3Vector GetMomentum() const { return myMomentum; };
26 string GetVolumeName() const { return myVolumeName; };
27 int GetVolumeNumber() const { return myVolumeNumber; };
28 double GetPosSigmaAlongZ() const { return myPosSigmaAlongZ; };
29 double GetPosSigmaAlongT() const { return myPosSigmaAlongT; };
30 double GetPosSigmaAlongX() const { return myPosSigmaAlongX; };
31 double GetPosSigmaAlongY() const { return myPosSigmaAlongY; };
32 HepSymMatrix GetErrorMatrix() const { return myErrorMatrix; };
33 void SetExtMucHit( Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName,
34 int aVolumeNumber, HepSymMatrix aErrorMatrix, double aZSigma = 0.,
35 double aTSigma = 0., double aXSigma = 0., double aYSigma = 0. );
36
37private:
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
49typedef vector<ExtMucHit> ExtMucHitVec;
50
51#endif
vector< ExtMucHit > ExtMucHitVec
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:25