FlyoDoc_2011 Pisa 2011 by GmP --- 011
|
Public Member Functions | |
GigaBeam () | |
int | GetCoordinate () |
gvet | Beam_Rec () |
Definition at line 11 of file gigabeam.h.
GigaBeam::GigaBeam | ( | ) |
Sequenza nel device of gigatrack G1 | M1 | M2 | G2 | M3 | M4 | M5 | G3
Definition at line 17 of file gigabeam.cpp.
{ if (giga1==0||giga2==0||giga3==0) { Gout<<"\n ERROR.... Giga pointer not defined ---> exit(0)"<<endl; cout<<"\n ERROR.... Giga pointer not defined ---> exit(0)"<<endl; exit(0); } if (mgb1==0||mgb2==0||mgb3==0||mgb4==0||mgb5==0) { Gout<<"\n ERROR.... Giga pointer of magnet not defined ---> exit(0)"<<endl; cout<<"\n ERROR.... Giga pointer of magnet not defined ---> exit(0)"<<endl; exit(0); } // double ZG21,ZG32,ZG31,ZM21,ZG3M5; ZG21=giga2->Get_Cface().z-giga1->Get_Cface().z; ZG32=giga3->Get_Cface().z-giga2->Get_Cface().z; ZG31=giga3->Get_Cface().z-giga1->Get_Cface().z; ZM21 = mgb2->Get_Cface().z-mgb1->Get_Cface().z; //== ZM43 ZG3M5=giga3->Get_Cface().z-mgb5->Get_Cface().z; Magkik1=mgb1->Get_Kik(); // lo stesso in valore assoluto per mgb2,mgb3,mgb4 Magkik5=mgb5->Get_Kik(); };