[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with cosmics triggers files (fwd)




Hi Andrei,

    OK I guess we got one step closer, but not all the way there. The 
TTree entries seem to be copying except for the contents of arrays. So, 
things like "trig" and "adcsumN" are fine, but not the individual ADC 
and TDC values in "n3" and "t3" etc..

    It is not immediately clear to me at this point why it is failing to 
copy certain branches but not others. I will look at it some more and 
will let you know when it is resolved.

Regards,
-David

Andrei Semenov wrote:
> David:
>
> I had a look on your new-produced (April 30 at 11am) root ntuples, and
> it looks like they are empty again...
>
> Just to let you know,
> Andrei
>
>
>
> On Tue, 29 Apr 2008, David Lawrence wrote:
>
>   
>> Hi Andrei,
>>
>>     I'll take a look and let you know what I find.
>>
>> Regards,
>> -David
>>
>> Andrei Semenov wrote:
>>     
>>> It looks like my previous e-mail did not reach both David and Zisis, so I
>>> re-send it now again.
>>>
>>> Thank you,
>>> Andrei
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> Date: Fri, 25 Apr 2008 18:56:25 -0400 (EDT)
>>> From: Andrei Semenov <semenov@jlab.org>
>>> To: David Lawrence <davidl@jlab.org>
>>> Cc: Zisis Papandreou <zisis@uregina.ca>
>>> Subject: Problems with cosmics triggers files
>>>
>>>
>>> David:
>>>
>>> I had a look on the /work/halld/bcal06/bcal_dst0????_t6.root files (that
>>> were created 2 days ago), and it looks like these files are empty: some of
>>> the files (like run 2371) have the size of about 370 bytes and no ntuple
>>> structure inside; the rest of the files has the ntuple structure but
>>> filled with zeroes... I checked a couple original ntuples with "trig==32"
>>> condition, and it looks like the data are OK (in original ntuples).
>>>
>>> Could you please have a look?
>>>
>>> Is it a big problem to direct whole output to one summary file?
>>>
>>> Thank you,
>>> Andrei
>>>
>>>
>>>
>>>
>>> On Wed, 23 Apr 2008, David Lawrence wrote:
>>>
>>>
>>>       
>>>> Hi Zisis and Andrei,
>>>>
>>>>     I have written a script that will copy events from a file created
>>>> with bcal_dst into a new file, but filtered such that only certain
>>>> triggers are kept. Right now, it just creates one output file for a
>>>> single input file. I assume the outputs can be chained together using
>>>> TChain to give the same functionality as copying them all into a single
>>>> file.
>>>>
>>>>     The script is called trig_filter.C and it currently exists in the
>>>> /work/halld/bcal06 directory on the JLab CUE. It has some minimal
>>>> documentation at the top that describes what it does and how to use it.
>>>> I am currently running it on every bcal_dst-generated file in the bcal06
>>>> directory to filter out events with trigger 6 set. The filtered files
>>>> have names based on the input files', but with an "_t6" appended to the
>>>> base name.
>>>>
>>>>     The trees in the filtered files also have another branch to hold the
>>>> run number as per Andrei's request. It derives this from the name of the
>>>> input ROOT file. This worked OK on my first test case, but I haven't
>>>> checked it beyond that.
>>>>
>>>>     This should be done running in a couple of hours. Please let me know
>>>> if you'd like something else or need help with the chaining.
>>>>
>>>> Regards,
>>>> -David
>>>>
>>>>
>>>> Zisis Papandreou wrote:
>>>>
>>>>         
>>>>> No sweat, it has been chaotic here too.
>>>>>
>>>>> Thanks David.
>>>>>
>>>>> Cheers, Zisis...
>>>>>
>>>>>
>>>>> On Apr 23, 2008, at 3:37 AM, David Lawrence wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Hi Guys,
>>>>>>
>>>>>>    Oops! I guess with everything else that was going on, I completely
>>>>>> forgot about this by the time I finally got back to my desk at JLab.
>>>>>> I'll get started on this today. I've very sorry about the delay and
>>>>>> I'll let you know one something is available.
>>>>>>
>>>>>> Regards,
>>>>>> -David
>>>>>>
>>>>>> Zisis Papandreou wrote:
>>>>>>
>>>>>>             
>>>>>>> Hi David:
>>>>>>>
>>>>>>> just a gentle reminder that we are waiting to hear from you on
>>>>>>> getting help to chain the TS cosmics trigger events from the photon
>>>>>>> runs, for Andrei's timing resolution study.  Are you still able and
>>>>>>> willing to help us with code to produce a single ROOT file with
>>>>>>> these events from days of running with photons?
>>>>>>>
>>>>>>> Cheers, Zisis...
>>>>>>>
>>>>>>> ---
>>>>>>> Dr. Zisis Papandreou |  email: zisis@uregina.ca
>>>>>>> <mailto:zisis@uregina.ca>
>>>>>>> Department of Physics |  tel. : (306) 585-5379
>>>>>>> University of Regina |  tel. : (306) 585-4149
>>>>>>> Regina, SK  S4S 0A2 |  fax. : (306) 585-5659
>>>>>>> World Wide Web:    http://www.phys.uregina.ca/sparro/zisis/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> --
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>  David Lawrence Ph.D.
>>>>>>  Staff Scientist                 Office: (757)269-5567   [[[  [   [
>>>>>> [        Jefferson Lab                   Pager:  (757)584-5567   [  [
>>>>>> [ [ [ [    http://www.jlab.org/~davidl
>>>>>> <http://www.jlab.org/%7Edavidl>     davidl@jlab.org
>>>>>> <mailto:davidl@jlab.org>         [[[  [[ [[ [[[
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> ---
>>>>> Dr. Zisis Papandreou |  email: zisis@uregina.ca <mailto:zisis@uregina.ca>
>>>>> Department of Physics |  tel. : (306) 585-5379
>>>>> University of Regina |  tel. : (306) 585-4149
>>>>> Regina, SK  S4S 0A2 |  fax. : (306) 585-5659
>>>>> World Wide Web:    http://www.phys.uregina.ca/sparro/zisis/
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> --
>>>>
>>>> ------------------------------------------------------------------------
>>>>   David Lawrence Ph.D.
>>>>   Staff Scientist                 Office: (757)269-5567   [[[  [   [ [
>>>>   Jefferson Lab                   Pager:  (757)584-5567   [  [ [ [ [ [
>>>>   http://www.jlab.org/~davidl     davidl@jlab.org         [[[  [[ [[ [[[
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         
>>>       
>> --
>>
>> ------------------------------------------------------------------------
>>   David Lawrence Ph.D.
>>   Staff Scientist                 Office: (757)269-5567   [[[  [   [ [
>>   Jefferson Lab                   Pager:  (757)584-5567   [  [ [ [ [ [
>>   http://www.jlab.org/~davidl     davidl@jlab.org         [[[  [[ [[ [[[
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>>     
>
>   

-- 

------------------------------------------------------------------------
  David Lawrence Ph.D.
  Staff Scientist                 Office: (757)269-5567   [[[  [   [ [       
  Jefferson Lab                   Pager:  (757)584-5567   [  [ [ [ [ [   
  http://www.jlab.org/~davidl     davidl@jlab.org         [[[  [[ [[ [[[
------------------------------------------------------------------------