[Halld-offline] turn on start counter in geant??
Craig Bookwalter
craigb at jlab.org
Thu Oct 29 18:26:05 EDT 2009
Well when I add these lines of code to my event processor:
std::vector<const DSCHit*> sc_hits;
eventLoop->Get(sc_hits);
std::cout << sc_hits.size() << std::endl;
I get all 0's for output.
I can see the definition for the SC in the top of my HDDM file:
<startCntr minOccurs="0">
<stcPaddle maxOccurs="unbounded" minOccurs="0" sector="int">
<stcHit dE="float" maxOccurs="unbounded" t="float" />
</stcPaddle>
<stcTruthPoint E="float" dEdx="float" maxOccurs="unbounded"
minOccurs="0" phi="float" primary="boolean" ptype="int" px="float"
py="float" pz="float" r="float" sector="int" t="float" track="int"
z="float" />
</startCntr>
I'm only using like 10 events, but I would assume that every event has at
least one start counter hit. What else could be going on?
> Hi,
>
> The SC geometry (40 paddles) is in the Geant geometry by
> default.
>
> You can access the hit information using
> DSCTruthHit and DSCHit factories.
>
> See description of these tables in
> http://www.jlab.org/Hall-D/software/HDSoftware_Documentation/
>
> Cheers,
> Alex
>
>
>
>
> On Thu, 29 Oct 2009, Craig Bookwalter wrote:
>
>> Hello all,
>> Is there a way to turn on the start counter in HDGeant? I looked in
>> the control.in file, as well as on the wiki but I didn't see
>> anything...?
>>
>> Thanks!
>>
>> --cb
>>
>> --
>> -------------------------------------------------------------------------
>> Craig Bookwalter FSU Office: (850) 644 3808
>> Department of Physics JLab Office: (757) 269 5465
>> Florida State University craigb at hadron.physics.fsu.edu
>> Tallahasse, FL 32306 craigb at jlab.org
>>
>>
>> "One toke? You poor fool. Just wait till you see those (expletive)
>> bats."
>> -------------------------------------------------------------------------
>>
>> _______________________________________________
>> Halld-offline mailing list
>> Halld-offline at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>>
>
More information about the Halld-offline
mailing list