BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtMucHit.cxx
Go to the documentation of this file.
1//
2//File: ExtMucHit.cxx
3//Author: Wang LiangLiang
4//History: 2006.2.25 created by Wang LiangLiang
5//
6
8
10{
11 Hep3Vector zeroVector(0.,0.,0.);
12 myPosition = zeroVector;
13 myMomentum = zeroVector;
14 myVolumeName = "MUC";
15 myVolumeNumber = -1;
16 myPosSigmaAlongZ = 0.;
17 myPosSigmaAlongT = 0.;
18 myPosSigmaAlongX = 0.;
19 myPosSigmaAlongY = 0.;
20 HepSymMatrix zeroMatrix(6,0);
21 myErrorMatrix = zeroMatrix;
22}
23
25
26void ExtMucHit::SetExtMucHit(Hep3Vector aPosition,Hep3Vector aMomentum,string aVolumeName,
27 int aVolumeNumber,HepSymMatrix aErrorMatrix,double aZSigma,
28 double aTSigma,double aXSigma,double aYSigma)
29{
30 myPosition = aPosition;
31 myMomentum = aMomentum;
32 myVolumeName = aVolumeName;
33 myVolumeNumber = aVolumeNumber;
34 myPosSigmaAlongZ = aZSigma;
35 myPosSigmaAlongT = aTSigma;
36 myPosSigmaAlongX = aXSigma;
37 myPosSigmaAlongY = aYSigma;
38 myErrorMatrix = aErrorMatrix;
39}
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