(slang) going around in (one's) head. A variation of the
phrase racking one's brains, trying very
hard to remember or think of something, and
belfry, a
tower for
bells, usually attached to a church or other building.
And that datum kept racking around in my belfry, round and around.