00001
00002
00003
00004
00005
00006
00007 #include "ExtEvent/ExtMucHit.h"
00008
00009 ExtMucHit::ExtMucHit()
00010 {
00011 Hep3Vector zeroVector(0.,0.,0.);
00012 myPosition = zeroVector;
00013 myMomentum = zeroVector;
00014 myVolumeName = "MUC";
00015 myVolumeNumber = -1;
00016 myPosSigmaAlongZ = 0.;
00017 myPosSigmaAlongT = 0.;
00018 myPosSigmaAlongX = 0.;
00019 myPosSigmaAlongY = 0.;
00020 HepSymMatrix zeroMatrix(6,0);
00021 myErrorMatrix = zeroMatrix;
00022 }
00023
00024 ExtMucHit::~ExtMucHit() {}
00025
00026 void ExtMucHit::SetExtMucHit(Hep3Vector aPosition,Hep3Vector aMomentum,string aVolumeName,
00027 int aVolumeNumber,HepSymMatrix aErrorMatrix,double aZSigma,
00028 double aTSigma,double aXSigma,double aYSigma)
00029 {
00030 myPosition = aPosition;
00031 myMomentum = aMomentum;
00032 myVolumeName = aVolumeName;
00033 myVolumeNumber = aVolumeNumber;
00034 myPosSigmaAlongZ = aZSigma;
00035 myPosSigmaAlongT = aTSigma;
00036 myPosSigmaAlongX = aXSigma;
00037 myPosSigmaAlongY = aYSigma;
00038 myErrorMatrix = aErrorMatrix;
00039 }