BOSS 8.0.0
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
7#include "ExtEvent/ExtMucHit.h"
8
10 Hep3Vector zeroVector( 0., 0., 0. );
11 myPosition = zeroVector;
12 myMomentum = zeroVector;
13 myVolumeName = "MUC";
14 myVolumeNumber = -1;
15 myPosSigmaAlongZ = 0.;
16 myPosSigmaAlongT = 0.;
17 myPosSigmaAlongX = 0.;
18 myPosSigmaAlongY = 0.;
19 HepSymMatrix zeroMatrix( 6, 0 );
20 myErrorMatrix = zeroMatrix;
21}
22
24
25void ExtMucHit::SetExtMucHit( Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName,
26 int aVolumeNumber, HepSymMatrix aErrorMatrix, double aZSigma,
27 double aTSigma, double aXSigma, double aYSigma ) {
28 myPosition = aPosition;
29 myMomentum = aMomentum;
30 myVolumeName = aVolumeName;
31 myVolumeNumber = aVolumeNumber;
32 myPosSigmaAlongZ = aZSigma;
33 myPosSigmaAlongT = aTSigma;
34 myPosSigmaAlongX = aXSigma;
35 myPosSigmaAlongY = aYSigma;
36 myErrorMatrix = aErrorMatrix;
37}
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