///////////////////////////////////////////////////////
// TEVNTClass
//
// Initial Author:  Gagik Gavalian   UNH  11/10/1999
//                
// Generation Date : Tue Nov 23 18:21:36 EST 1999
//
/*______________________________________________________________________
 Modified:
           Maurik (2/3/00) Comments.
           Maurik (Nov/01) Derive from TVirtualData
This class is used to access the EVNT bank data written into the ROOT DST for the E2 run at Jefferson Lab. It was generated automatically from the ddl file in packages/bankdefs/evnt.ddl and later hand edited to provide comments and additional modifications. The details on how exactly each variable is defined have to be extraced from the RECSIS code.

The class has been updated to derive from TVirtualData, so that it can be used interchangably with TGSIMClass.

______________________________________________________________________*/ 
//
////////////////////////////////////////////////////////

#include <iostream.h>
#include "TEVNTClass.h"

ClassImp(TEVNTClass)

 TEVNTClass::TEVNTClass(TEVNTClass *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   TEVNTClass::Print(){
  cout << "TEVNTClass::" << endl;
  cout << "ID      " << GetId()  << endl;
  //cout << "Pmom    " <<  Pmom  << endl;
  //cout << "Mass    " <<  Mass  << endl;
  cout << "Charge  " << GetCharge()  << endl;
  cout << "Betta   " << GetBeta()  << endl;
  cout << "Px      " << GetPx()  << endl;
  cout << "Py      " << GetPy()  << endl;
  cout << "Pz      " << GetPz()  << endl;
  cout << "X       " << GetX()  << endl;
  cout << "Y       " << GetY()  << endl;
  cout << "Z       " << GetZ()  << endl;
  cout << "DCstat  " << GetDCStat()  << endl;
  cout << "CCstat  " << GetCCStat()  << endl;
  cout << "SCstat  " << GetSCStat()  << endl;
  cout << "ECstat  " << GetECStat()  << endl;
  cout << "LCstat  " << GetLCStat()  << endl;
  cout << "Status  " << GetStat()  << endl;
  cout << "IsEVNT  " << IsEVNT() << 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.