Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

QvecLink.cpp

Go to the documentation of this file.
00001 
00002 //
00003 // Implementation of
00004 // CLASS QvecLink : holds pointer to QVEC, is independent
00005 //                  of Fortran memory and serves as base
00006 //                  for tracks, eflows and gampecs.
00007 //
00008 //
00009 // Author : C. Delaere, V. Lemaitre, O. van der Aa
00010 //
00012 
00013 #include "QvecLink.h"
00014 #include "BankClasses.h"
00015 
00016 // constructor
00017 QvecLink::QvecLink()
00018 {
00019   qvec = NULL;
00020 }
00021 
00022 //copy constructor
00023 QvecLink::QvecLink(const QvecLink& origin):QvecBase(origin)
00024 {
00025   qvec = origin.qvec;
00026 }
00027 
00028 // set the pointer to the memory
00029 void  QvecLink::SetPointer(QVEC* pointer) 
00030 {
00031   qvec = pointer;
00032   setA4V(qvec->QX, qvec->QY, qvec->QZ, qvec->QE);
00033   _qch = qvec->QCH;
00034 }
00035 
00036 float QvecLink::QDB() const   { return qvec->DB; }
00037 float QvecLink::QZB() const   { return qvec->ZB; }
00038 float QvecLink::QDBS2() const { return qvec->SD; }
00039 float QvecLink::QZBS2() const { return qvec->SZ; }
00040 float QvecLink::QBC2() const  { return qvec->CB; }
00041 int   QvecLink::ITK()  const  { return qvec->TN; }

Generated at Wed Jun 18 17:19:20 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001