///////////////////////////////////////////////////////
// TVirtualData
//
// Initial Author: Maurik Holtrop UNH 11/28/2001
//
//
/*______________________________________________________________________
This class is a base class for TEVNTClass and TGSIMClass. This allows
the two classes, which contain the same data, to be mixed more easily.
______________________________________________________________________*/
//
////////////////////////////////////////////////////////
#include <iostream.h>
#include "TVirtualData.h"
ClassImp(TVirtualData)
TVirtualData::TVirtualData(TVirtualData *TmpEVNT){
Id = TmpEVNT->Id;
//Pmom = TmpEVNT->Pmom;
//Mass = TmpEVNT->Mass;
Charge = TmpEVNT->Charge;
Betta = TmpEVNT->Betta;
Px = TmpEVNT->Px;
Py = TmpEVNT->Py;
Pz = TmpEVNT->Pz;
X = TmpEVNT->X;
Y = TmpEVNT->Y;
Z = TmpEVNT->Z;
Dcstat = TmpEVNT->Dcstat;
Ccstat = TmpEVNT->Ccstat;
Scstat = TmpEVNT->Scstat;
Ecstat = TmpEVNT->Ecstat;
Lcstat = TmpEVNT->Lcstat;
//Ststat = TmpEVNT->Ststat;
Status = TmpEVNT->Status;
}
void TVirtualData::Print(){
cout << "TVitualData::" << endl;
cout << "ID " << Id << endl;
//cout << "Pmom " << Pmom << endl;
//cout << "Mass " << Mass << endl;
cout << "Charge " <<(Int_t) Charge << endl;
cout << "Betta " << Betta << endl;
cout << "Px " << Px << endl;
cout << "Py " << Py << endl;
cout << "Pz " << Pz << endl;
cout << "X " << X << endl;
cout << "Y " << Y << endl;
cout << "Z " << Z << endl;
cout << "DCstat " <<(Int_t) Dcstat << endl;
cout << "CCstat " <<(Int_t) Ccstat << endl;
cout << "SCstat " <<(Int_t) Scstat << endl;
cout << "ECstat " <<(Int_t) Ecstat << endl;
cout << "LCstat " <<(Int_t) Lcstat << endl;
cout << "Status " <<(Int_t) Status << endl;
}
////////////////////////////////////////////////////////////////
//
// End of File TEVNTClass.cc
////////////////////////////////////////////////////////////////
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.