[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bintree.c:33
Folks,
Should we put this change into the "May 27, 2009" tagged version? I'm
inclined to say yes.
-- Mark
Blake Leverington wrote:
> Thanks Beni! I can confirm this works for me now.
>
> -Blake
>
> Beni Zihlmann wrote:
>> Hi All,
>> the error happened in the hitFDC.c code because some of the non
>> sensitive volumes had a name starting
>> with the letters "FDA" which are tested for in savehits.c to see if
>> the track is in a sensitive volume. The
>> result was that the track was in an insensitive volume while geant
>> was thinking it has to calculate the
>> wire number of the chamber and the chamber number. As a consequence
>> this chamber number resulted to be
>> zero which is of course not a valid number and the whole thing crashed.
>> The geometry file for the FDC has been fixed and put to the repository.
>> 1) get last geometry files
>> 2) go to src/programs/Simulation/hddm
>> make clean
>> make install
>> 3) go to src/programs/Simulation/HDGeant
>> make clean
>> make
>> This should do the trick
>>
>> cheers,
>> Beni
>>
>>> Blake,
>>>
>>> I explained this a couple of days back. The bintree package is what
>>> accumulates the hits according to detector segment and spits them
>>> out in some predefined order (eg., ordered by wire, layer, package,
>>> etc.). Each hit is assigned a "mark" which is a hash of its
>>> wire,layer,package,sector,... indices. This forms a 32-bit integer
>>> that is used to order the hits. You should never have a mark=0. If
>>> you do, either a hit was registered with invalid indices or a memory
>>> corruption has occurred.
>>>
>>> Does that help? Do you want help debugging? I can trace it for you
>>> if you set up a web page with all of the details sufficient for me
>>> to reproduce the problem.
>>>
>>> -Richard J.
>>>
>>>
>>> Blake Leverington wrote:
>>>> Hi all,
>>>>
>>>> Any idea what this error means?
>>>>
>>>> "hdgeant: bintree.c:33: getTwig: Assertion `node->mark >= 0' failed.
>>>> Abort"
>>>>
>>>> Cheers,
>>>> -Blake
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>