<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hi Pawel,<br>
<br>
    I'm CC-ing the HallD-Offline mailing list since this may be of
general interest.<br>
<br>
    Yes, you can use janaroot with auto_activate. In order to get
anything useful, you will either need to run mcsmear on your
hdgeant-produced hddm file, or tell JANA to use the TRUTH hits in
reconstruction (which will give unrealistically good results). To do
the former, do this:<br>
<br>
1.) edit control.in and run hdgeant to produce hdgeant.hddm file<br>
<br>
    &gt; hdgeant<br>
<br>
<br>
2.) run mcsmear on the hdgeant.hddm file to get file with smeared
values called hdgeant_smeared.hddm. (Passing the -n command line switch
prevents generation of random hits.)<br>
<br>
    &gt; mcsmear -n hdgeant.hddm<br>
<br>
<br>
3.) run hd_ana with the janaroot plugin and appropriate auto_activate
switch to get your ROOT file. For example:<br>
<br>
    &gt; hd_ana -PPLUGINS=janaroot,janadot --auto_activate=DFCALPhoton
hdgeant_smeared.hddm<br>
<br>
Note that here, I used the alternate way of specifying plugins that
makes it a little more compact when specifying more than one plugin. I
added the janadot plugin just for fun so I could make a picture of the
call graph used. I've attached it here for the current example:<br>
<br>
<img alt="" src="cid:part1.08090605.01070208@jlab.org" height="904"
 width="388"><br>
<br>
<br>
Regards,<br>
-David<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:pawel@jlab.org">pawel@jlab.org</a> wrote:
<blockquote
 cite="mid:50607.70.18.155.177.1254624505.squirrel@webmail.jlab.org"
 type="cite">
  <pre wrap=""> Hi David,

  </pre>
  <blockquote type="cite">
    <pre wrap="">This modification was done by Brad and Ryan and checked in some time
ago.  I think you should have seen this when you moved the simulation
of FCAL response from the FCAL library into mcsmear.  I'm cc'ing both
of them -- maybe they can comment.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
 In Matt's message above he mentions moving of the FCAl response
 into mcsmear. I wanted to ask you about that earlier but got distracted.
 How do I retrieve the FCAL information from an hddm file?
 I can't use the auto_activate mechanism in conjunction with janaroot plugin, can I?

 Thanks for any help,
 Pawel



  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

------------------------------------------------------------------------
 David Lawrence Ph.D.
 Staff Scientist                 Office: (757)269-5567   [[[  [   [ [       
 Jefferson Lab                   Pager:  (757)584-5567   [  [ [ [ [ [   
 <a class="moz-txt-link-freetext" href="http://www.jlab.org/~davidl">http://www.jlab.org/~davidl</a>     <a class="moz-txt-link-abbreviated" href="mailto:davidl@jlab.org">davidl@jlab.org</a>         [[[  [[ [[ [[[
------------------------------------------------------------------------

</pre>
</body>
</html>