33       ERROR(
"File: " << pattern->getFullFilename() << 
" not opened." << endl);
 
   37     const TRegexp regexp(pattern->getObjectName());
 
   39     TIter iter(dir->GetListOfKeys());
 
   41     for (TKey* key; (key = (TKey*) iter.Next()) != NULL; ) {
 
   43       const TString tag(key->GetName());
 
   45       if (tag.Contains(regexp)) {
 
   48         p->SetUniqueID(dir->GetUUID().GetUUIDNumber());
 
   49         listOfObjects.push_back(p);
 
   69 int main(
int argc, 
char** argv) { 
 
   81     JParser<> zap(
"\nProgram to compare root histograms. See the link below this usage for further details.\n"); 
 
   84     zap[
't'] = 
make_field(test,    
"Test parameters");
 
   85     zap[
'o'] = 
make_field(output,      
"output file") = 
"out.root";
 
   86     zap[
't'] = 
make_field(ascii , 
"output file txt" ) = 
" ";
 
   87     zap[
'w'] = 
make_field(onlyFailures , 
"write only failed tests" );
 
   91   catch(
const exception &error) {
 
   92     ERROR(error.what() << endl);
 
   99   istringstream iss(test);
 
  101   d[testID]->read(iss);
 
  109       d[testID]->test(*object_a,*object_b);
 
  113   TFile out(output.c_str(),
"recreate");
 
  116   d[testID]->write(cout);
 
  117   d[testID]->save(&out, 
"", onlyFailures);
 
  121     results.open (ascii);
 
  122     d[testID]->write(results, 
";", onlyFailures);
 
Utility class to parse command line options. 
 
vector< TObject * > getListOfObjects(vector< JRootObjectID > listOfPatterns)
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
 
Utility class to parse command line options. 
 
TDirectory * getDirectory(const JRootObjectID &id)
Get TDirectory pointer. 
 
bool putObject(TDirectory *dir, const T &object)
Write object to ROOT directory. 
 
int main(int argc, char *argv[])