[Gate-users] Root script for crystal position
Tahereh Niknejad
tahereh.nik at gmail.com
Mon Apr 14 14:24:37 CEST 2014
Dear Gate users,
I want to extract the centers of the crystal pixels where singles interact
(instead of globalPosX,Y,Z).
I'm trying to to something like this in the root script:
1-Get pointer to the rsector, module and crystal (using GateVSystem.hh
library).
(e.g GateSystemComponent* RsectorComponent=theSystem->GetBaseComponent(),..)
2- Compute crystal, and module identifier
3- Extract the position (e.g
CrystalComponent->GetCurrentTranslation(crystalID))
My problems are:
First, root couldn't recognize gate libraries like GateVSystem.hh even if I
put the address of the library behind it.
Second, I don't know if I'm doing right in calculating the centers of the
crystals.
Any help would be highly appreciated.
Regards,
--
Tahereh Niknejad
PhD Candidate
LIP - Laboratory of Instrumentation and Experimental Particle Physics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140414/1505f639/attachment.html>
More information about the Gate-users
mailing list