AMSDST
Macros | Functions
debug.h File Reference
#include <algorithm>

Go to the source code of this file.

Macros

#define PRINTDEBUG
 

Functions

void ShowError (int level, char const *location, char const *fmt,...)
 A helper function to use the error message system in ROOT.
 
template<typename A , typename B >
copy_n (A from, size_t n, B to)
 

Macro Definition Documentation

#define PRINTDEBUG

Definition at line 7 of file debug.h.

Referenced by ClassImp(), myHeader::Clear(), myRichRing::Clear(), myBeta::Clear(), myTrdTrackPlus::Clear(), myBetaPlus::Clear(), myTrdQtFromTrTrack::Clear(), myTrdTrack::Clear(), myMC::Clear(), myEcalShower::Clear(), myBetaHPlus::Clear(), myTrdK::Clear(), myStatus::Clear(), myBetaH::Clear(), myRTI::Clear(), myTrTrack::Clear(), myEcalShowerPlus::Clear(), myRichRingPlus::Clear(), myParticle::Clear(), myTrTrackPlus::Clear(), myEvent::Clear(), myStatus::CodeBDT(), myStatus::CodeCharge(), myStatus::CodeLikeL(), myStatus::CodeRigidity(), myEvent::gethead(), GoodEventToBeNtuplized(), myRichRing::init(), myBeta::init(), myTrdTrackPlus::init(), myBetaPlus::init(), myTrdQtFromTrTrack::init(), myTrdTrack::init(), myMC::init(), myHeader::init(), myEcalShower::init(), myBetaHPlus::init(), myTrdK::init(), myStatus::init(), myBetaH::init(), myRTI::init(), myTrTrack::init(), myEcalShowerPlus::init(), myRichRingPlus::init(), myParticle::init(), myTrTrackPlus::init(), myStatus::IsValidTime(), main(), myBeta::myBeta(), myBetaH::myBetaH(), myBetaHPlus::myBetaHPlus(), myBetaPlus::myBetaPlus(), myDir::myDir(), myEcalShower::myEcalShower(), myEcalShowerPlus::myEcalShowerPlus(), myEvent::myEvent(), myHeader::myHeader(), myInfo::myInfo(), myMC::myMC(), myObject::myObject(), myParticle::myParticle(), myPoint::myPoint(), myRichRing::myRichRing(), myRichRingPlus::myRichRingPlus(), myRTI::myRTI(), myStatus::myStatus(), myTrdQtFromTrTrack::myTrdQtFromTrTrack(), myTrdTrack::myTrdTrack(), myTrdTrackPlus::myTrdTrackPlus(), myTrTrack::myTrTrack(), myTrTrackPlus::myTrTrackPlus(), myParticle::pmyBeta(), myParticle::pmyBetaByMySelf(), myParticle::pmyBetaH(), myParticle::pmyBetaHByMySelf(), myParticle::pmyBetaHPlus(), myParticle::pmyBetaHPlusByMySelf(), myParticle::pmyBetaPlus(), myParticle::pmyBetaPlusByMySelf(), myParticle::pmyEcalShower(), myParticle::pmyEcalShowerByMySelf(), myParticle::pmyEcalShowerPlus(), myParticle::pmyEcalShowerPlusByMySelf(), myParticle::pmyRichRing(), myParticle::pmyRichRingByMySelf(), myParticle::pmyRichRingPlus(), myParticle::pmyRichRingPlusByMySelf(), myParticle::pmyTrdKFromTrdTrack(), myParticle::pmyTrdKFromTrdTrackByMySelf(), myParticle::pmyTrdKFromTrTrack(), myParticle::pmyTrdKFromTrTrackByMySelf(), myParticle::pmyTrdQtFromTrTrack(), myParticle::pmyTrdQtFromTrTrackByMySelf(), myParticle::pmyTrdTrack(), myParticle::pmyTrdTrackByMySelf(), myParticle::pmyTrTrack(), myParticle::pmyTrTrackByMySelf(), myParticle::pmyTrTrackPlus(), myParticle::pmyTrTrackPlusByMySelf(), myEvent::printptr(), myTrTrackPlus::span(), myTrTrack::span(), myRTI::TPreSelect(), myBeta::~myBeta(), myBetaH::~myBetaH(), myBetaHPlus::~myBetaHPlus(), myBetaPlus::~myBetaPlus(), myDir::~myDir(), myEcalShower::~myEcalShower(), myEcalShowerPlus::~myEcalShowerPlus(), myEvent::~myEvent(), myHeader::~myHeader(), myInfo::~myInfo(), myMC::~myMC(), myObject::~myObject(), myParticle::~myParticle(), myPoint::~myPoint(), myRichRing::~myRichRing(), myRichRingPlus::~myRichRingPlus(), myRTI::~myRTI(), myStatus::~myStatus(), myTrdK::~myTrdK(), myTrdQtFromTrTrack::~myTrdQtFromTrTrack(), myTrdSegment::~myTrdSegment(), myTrdTrack::~myTrdTrack(), myTrdTrackPlus::~myTrdTrackPlus(), myTrTrack::~myTrTrack(), and myTrTrackPlus::~myTrTrackPlus().

Function Documentation

template<typename A , typename B >
A copy_n ( from,
size_t  n,
to 
)

Definition at line 27 of file debug.h.

void ShowError ( int  level,
char const *  location,
char const *  fmt,
  ... 
)

A helper function to use the error message system in ROOT.

This function could be used outside TObject, therefore more flexible.

Parameters
levelthe error level of the message. Message with level < gErrorIgnoreLevel will be ignored
locationthe location of the message, usually is function name
fmtthe format string
...other message parameter to be insert into format string

Definition at line 5 of file debug.cxx.

Referenced by myChain::checkWildcardList().