[Gate-users] ecatAccel System

Peter Bloomfield peter.bloomfield at camhpet.ca
Thu May 17 18:03:58 CEST 2007


Dear Gaters,

I have been trying to track down the problem I have experienced when using the ecatAccel system. I have a macro, which when I run,
I get no coincidences, delays or anything in the root output. The tree and leafs are all present, but there are zero entries in the leafs.

I went looking in the Gate code and found that there is test performed in the file
        $GATEHOME/src/GateCoincidenceSorter.cc

I edited the file uncocommenting the print statement so as to look like this
        const G4String name = m_system->GetName();
        G4String nameComp = "systems/ecatAccel";
        G4cout << "NAME OF THE SYSTEM: " << name << "; NAME TO COMPARE: " << nameComp << G4endl;
        int comp = strcmp(name,nameComp);
so irrespective of the system I have defined in a macro I should get a print statement telling me the name of the system defined.
I re-compiled Gate and started off running the PET benchmark macro in $GATEHOME/benchmarks/benchmarkPET and I get a
screen of
        NAME OF THE SYSTEM: systems/cylindricalPET; NAME TO COMPARE: systems/ecatAccel
so the changes are doing as expected.

I then went back to run my ecatAccel macro, and I get nothing, there are no print statements for the 'NAME OF THE SYSTEM'
So the routines in  $GATEHOME/src/GateCoincidenceSorter.cc are not being entered when defining an ecatAccel system,
which explains why the root file has zero entries.

I am currently using the following versions:
        Gate    V3.1.1
        CLHEP   V2.0.2.2
        Geant   V4.8.1.p02
        ROOT    v5.14
        gcc             version 4.1.1 20070105 (Red Hat 4.1.1-51)
        OS              FC 6

Can anybody point me in the direction to correct this, files to look at, anything.

Many thanks

Peter



More information about the Gate-users mailing list