[Gate-users] Error on compiling filemerger cluster tool

Marc Chamberland mchamber at connect.carleton.ca
Fri Jan 16 17:12:33 CET 2009


Hi Gate users!

I'm trying to compile the filemerger cluster tool on my MacBook Pro  
running Mac OS X 10.5.6. However, I get an error when compiling:

src/GateMergeManager.cc: In member function ‘bool  
GateMergeManager::MergeGate(TChain*)’:
src/GateMergeManager.cc:1483: error: ‘finite’ was not declared in this  
scope
make: *** [tmp/src/GateMergeManager.o] Error 1

Does anyone know how to resolve this problem? I've looked at the  
source code but I can't figure out what the finite() function is  
doing. Here are the relevant lines:

        if(lastEvent!=event) {
            lastEvent=event;
            if(finite(iontime)){
              if(maxtime<iontime) maxtime=iontime;
              // the offset to get a unique event numbering
              event+=offset;
              newTree->Fill();
            } else {
              cout<<"Warning - inf or NaN in Gate tree for iontime!  
"<<m_vRootFileNames[currentTree].c_str()<<endl;
              //we are lost anyhow
              maxtime   =-999999999;
            }

Thanks for any help you can provide me!

~Marc

P.S. The following question was asked before, but it seems like it was  
left unanswered: how do we search the Gate users mailing list? Using  
the search box on the right side of the Gate website never yields any  
results. Thanks again.


More information about the Gate-users mailing list