<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr" text-align="left">
<div dir="ltr" text-align="left" data-ogsc="" style="">
<div dir="ltr" style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;">
<meta content="text/html; charset=us-ascii" data-ogsc="" style="">
</div>
<div data-ogsc="" style="">
<div>
<div style="direction:ltr">Hi David,</div>
<div><br>
</div>
<div style="direction:ltr">Thank you for your response. Yes I am new to c++ programming. I am currently trying to improve on that. </div>
</div>
<div style="direction: ltr; text-align: left;" dir="ltr"><br>
</div>
<div style="direction: ltr; text-align: left;" dir="ltr">I attempted to replicate the same setup from GateTrackLengthActor since the docs refers to it as an example. I am trying to save the local flight time of photons, pixel ID of detector and run ID (I know
the standard root output has this information but I would like to save the storage). As a first attempt for a new actor, I only tried saving the track local time but when I try running make I get the error “‘const class G4VHit’ has no member named ‘GetTrackLocalTime’”. </div>
<div style="direction: ltr; text-align: left;" dir="ltr"><br>
</div>
<div style="direction: ltr; text-align: left;" dir="ltr">This may be simple fix once I familiarize myself more with c++ and the G4 library. Do you have any recommendations? </div>
<div style="direction: ltr; text-align: left;" dir="ltr"><br>
</div>
<div style="direction: ltr; text-align: left;" dir="ltr">Thank you for your time.</div>
<div style="direction: ltr; text-align: left;" dir="ltr"><br>
</div>
<div style="direction: ltr; text-align: left;" dir="ltr"><br>
</div>
<div style="direction: ltr; text-align: left;" dir="ltr">Best,</div>
<div><br>
</div>
<div class="ms-outlook-ios-signature">
<div style="direction:ltr">Ignacio Omar Romero, M.S</div>
<div style="direction:ltr">PhD student Bioengineering</div>
<div style="direction:ltr">University of California, Merced</div>
</div>
</div>
<hr tabindex="-1" style="display: inline-block; width: 98%;" data-ogsc="">
<div id="divRplyFwdMsg" dir="ltr" data-ogsc="" style=""><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;" data-ogsc=""><b>From:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> on behalf of David Boersma <david.boersma@acmit.at><br>
<b>Sent:</b> Tuesday, October 29, 2019 6:27:24 AM<br>
<b>To:</b> gate-users@lists.opengatecollaboration.org <gate-users@lists.opengatecollaboration.org><br>
<b>Subject:</b> Re: [Gate-users] Creating New Gate Actors</font>
<div> </div>
</div>
<div data-ogsc="" style=""><style type="text/css" style="display:none"><!--p {margin-top:0; margin-bottom:0}--></style>
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif;">
<p><span dir="ltr" id="x_divtagdefaultwrapper" style="font-size:12pt"></span></p>
<div style="margin-top:0; margin-bottom:0">Hello Ignacio,</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">We are eager to improve the docs! Unfortunately, from you mail it's not so clear to me in what way the gate actor development page is incomplete for you.<br>
</div>
<div style="margin-top:0; margin-bottom:0">What kind of trouble do you have? Are you new to C++ programming or do you already have some experience? What have you tried so far, and what kind of errors/problems are you now stuck on?</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">Best,</div>
<div style="margin-top:0; margin-bottom:0">David B.</div>
<br>
<p></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;" data-ogsc=""><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von Ignacio Romero <iromero7@ucmerced.edu><br>
<b>Gesendet:</b> Mittwoch, 23. Oktober 2019 21:20:41<br>
<b>An:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> [Gate-users] Creating New Gate Actors</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hello Gate users,
<div><br>
</div>
<div>I was wondering if there are better instructions for developing new actors? I have looked at <a href="http://wiki.opengatecollaboration.org/index.php/GateActor" data-ogsc="" style="">http://wiki.opengatecollaboration.org/index.php/GateActor</a> but I am
having trouble with developing the 4 required files (actor.cc, actor.hh, actorMessenger.cc, actorMessenger.hh). </div>
<div><br>
</div>
<div>Basically I would like to create an actor that is a mini version of the root output file. I don't need the entire output of root; I only require certain leaves from the Hits tree to save memory storage. </div>
<div><br>
</div>
<div>Thank you for your time.</div>
<div><br>
</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Ignacio Romero</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>