[Bio] / MExplorer / xduGen.cc Repository:
ViewVC logotype

Diff of /MExplorer/xduGen.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Mon Jan 6 23:32:23 2003 UTC revision 1.3, Fri Mar 7 23:10:00 2003 UTC
# Line 11  Line 11 
11  #include "RecoReadout/RecoElem.hh"  #include "RecoReadout/RecoElem.hh"
12  #include "RecoReadout/Reaction.hh"  #include "RecoReadout/Reaction.hh"
13    
 #include "RecoReadoutOracle/EFRecoElemImpl.hh"  
 #include "RecoReadoutOracle/OracleMgr.hh"  
   
 void usage( void );  
14  int  xduGen( RecoElem& r, std::string path );  int  xduGen( RecoElem& r, std::string path );
15  void editName( std::string& s );  void editName( std::string& s );
16    
 //************************************************************************  
 int  
 main(int argc, char* argv[] ) {  
 //************************************************************************  
   
   if ( 2 != argc ) {  
     usage();  
     return 1;  
   }  
   
   unsigned int topNodeId = atoi( argv[1] );  
   cout << "going for node " << topNodeId << endl;  
   
   
   OracleMgr::mgr().startJob();  
   RecoElem recoTop( new EFRecoElemImpl(  "FoobieBletch", topNodeId ));  
   
   // OK.  Mess with it.  Get its kids and print them out.  
   
   std::string path="";  
   xduGen( recoTop, path );  
   
   OracleMgr::mgr().endJob();  
   return 0;  
 }  
   
 //************************************************************************  
 void  
 usage( void ) {  
 //************************************************************************  
   cout << endl;  
   cout << "usage: xduGen TopNodeId" << endl;  
   cout << "   TopNodeId is the ProcessId of the top of the reconstruction." << endl;  
   cout << "   You can find the top node of a reconstruction with lsCat," << endl;  
   cout << "   which lists the Catalog." << endl;  
   cout << endl;  
   
   return;  
 }  
17    
18  int  int
19  xduGen( RecoElem& r, std::string path ) {  xduGen( RecoElem& r, std::string path ) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3