16 const static string testname=
"test_lctrackercellid";
 
   26     MYTEST.
LOG( 
"testing the LCTrackerCellID ... " );
 
   29     lcio::LCTrackerCellID::instance().set_encoding_string(
"subdet:4,side:-2,layer:10,module:6,sensor:10" ) ;
 
   32     MYTEST( lcio::LCTrackerCellID::subdet() , 0u , 
" subdet index != 0 " ) ;
 
   33     MYTEST( lcio::LCTrackerCellID::side()   , 1u , 
" side   index != 1 " ) ;
 
   34     MYTEST( lcio::LCTrackerCellID::layer()  , 2u , 
" layer  index != 2 " ) ;
 
   35     MYTEST( lcio::LCTrackerCellID::module() , 3u , 
" module index != 3 " ) ;
 
   36     MYTEST( lcio::LCTrackerCellID::sensor() , 4u , 
" sensor index != 4 " ) ;
 
   39     MYTEST( lcio::LCTrackerCellID::encoding_string() , 
std::string(
"subdet:4,side:-2,layer:10,module:6,sensor:10") , 
"wrong encoding string ! " ) ;
 
   45       lcio::LCTrackerCellID::instance().set_encoding_string(
"hello" ) ;
 
   52       MYTEST.
FAILED( 
"oops, should not be possible to change the encoding string after it has been accessed " );
 
void FAILED(const std::string &msg)
 
int main(int argc, char **argv)
Simple program that opens existing LCIO files and appends the records needed for direct access - if t...
 
void LOG(const std::string &msg)
 
static const string testname