///////////////////////////////////////////////////////////////////////////
//                                                                       
// The ESAPID class contains the information about particle identification
// and beam status.
//                                                                       
///////////////////////////////////////////////////////////////////////////

#include "ESAPID.h"

ClassImp(ESAPID)

///________________________________________________________________________
 ESAPID::ESAPID(){
  // Default constructor
    Clean();
}
//_________________________________________________________________________
 ESAPID::~ESAPID(){
  // Destructor
}
//_________________________________________________________________________
 void ESAPID::Clean() {
    m_Clean = kFALSE;
    m_XBeam = 0;
    m_YBeam = 0;
    m_NPart = 0;
    for (int i=0; i<10; i++) {
        m_ID[i] = 0;
        m_Mom[i] = 0;
    }
    
    for (int i=0; i<5; i++) {
      m_BeamPb[i] = 0;
    }

    m_CADC = 0;

    for (int i=0; i<4; i++) {
      m_TOF[i] = 0;
    }

    m_TOFC = 0;
    m_OneGoodP = kFALSE;
    m_OneGoodG = kFALSE;
    m_OneGoodE = kFALSE;
    m_OneGoodK = kFALSE;
    m_OneGoodPi = kFALSE;
    m_OneGoodH = kFALSE;
}



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.