#include "HepTuple/HepID.h" #include USING( std::string ) HepID::HepID(int theNumber) : _numSet(true), _stringSet(false), _idNumber(theNumber), _idString() {} HepID::HepID(const string theString) : _numSet(false), _stringSet(true), _idNumber(0), _idString(theString) {} HepID::HepID(int theNumber,const string theString) : _numSet(true), _stringSet(true), _idNumber(theNumber), _idString(theString) { if ( _idNumber == 0 ) { _numSet = false; } if ( theString.length() == 0 ) { _stringSet = false; } }