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

ESAPID.cxx

Go to the documentation of this file.
00001 
00002 //                                                                       
00003 // The ESAPID class contains the information about particle identification
00004 // and beam status.
00005 //                                                                       
00007 
00008 #include "digiRootData/ESAPID.h"
00009 //#include "TClass.h"
00010 
00011 ClassImp(ESAPID)
00012 
00014 ESAPID::ESAPID(){
00015   // Default constructor
00016     Clean();
00017 }
00018 //_________________________________________________________________________
00019 ESAPID::~ESAPID(){
00020   // Destructor
00021 }
00022 //_________________________________________________________________________
00023 void ESAPID::Clean() {
00024     m_Clean = kFALSE;
00025     m_XBeam = 0;
00026     m_YBeam = 0;
00027     m_NPart = 0;
00028     int i;
00029     for (i=0; i<10; i++) {
00030         m_ID[i] = 0;
00031         m_Mom[i] = 0;
00032     }
00033     
00034     for (i=0; i<5; i++) {
00035       m_BeamPb[i] = 0;
00036     }
00037 
00038     m_CADC = 0;
00039 
00040     for (i=0; i<4; i++) {
00041       m_TOF[i] = 0;
00042     }
00043 
00044     m_TOFC = 0;
00045     m_OneGoodP = kFALSE;
00046     m_OneGoodG = kFALSE;
00047     m_OneGoodE = kFALSE;
00048     m_OneGoodK = kFALSE;
00049     m_OneGoodPi = kFALSE;
00050     m_OneGoodH = kFALSE;
00051 }
00052 

Generated at Wed Nov 21 12:22:44 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000