[d2n-analysis-talk] d2n BB replay (BBDecData problem)

Diana Parno dseymour at andrew.cmu.edu
Wed Mar 10 10:56:18 EST 2010


Hi Brad,

OK, I've just analyzed run 1522 -- you can find it on 
/data1/dseymour/ROOTfiles/e06014_det_BB_1522.root. I'm pointing to your 
analyzer:

which analyzer
/home/brads/d2n_analysis_copy/analyzer/analyzer

and my replay_det_BB.C script is symlinked to the one in your directory. I 
saw that you commented out the BBDecData line and replaced it with 
THaDecData.

I do still see some HRS histograms in the resulting root file. I only have 
one copy of each, but this was a short run (5 or 10 minutes). Of course, 
they aren't in my odef file. Here are the contents of the root file:

  TFile*         ROOTfiles/e06014_det_BB_1522.root
   KEY: THaRun   Run_Data;2
   KEY: TH1F     Lu1nhit;1       Num Hits Left U1
   KEY: TH1F     Lu2nhit;1       Num Hits Left U2
   KEY: TH1F     Lv1nhit;1       Num Hits Left V1
   KEY: TH1F     Lv2nhit;1       Num Hits Left V2
   KEY: TH1F     Ru1nhit;1       Num Hits Right U1
   KEY: TH1F     Ru2nhit;1       Num Hits Right U2
   KEY: TH1F     Rv1nhit;1       Num Hits Right V1
   KEY: TH1F     Rv2nhit;1       Num Hits Right V2
   KEY: TH1F     Lu1eff;1        Left arm U1 efficiency
   KEY: TH1F     Lu2eff;1        Left arm U2 efficiency
   KEY: TH1F     Lv1eff;1        Left arm V1 efficiency
   KEY: TH1F     Lv2eff;1        Left arm V2 efficiency
   KEY: TH1F     Ru1eff;1        Right arm U1 efficiency
   KEY: TH1F     Ru2eff;1        Right arm U2 efficiency
   KEY: TH1F     Rv1eff;1        Right arm V1 efficiency
   KEY: TH1F     Rv2eff;1        Right arm V2 efficiency
   KEY: TH1F     Lenroc12;1      Event length in ROC12
   KEY: TH1F     Lenroc16;1      Event length in ROC16
   KEY: TTree    T;1     Hall A Analyzer Output DST
   KEY: TTree    E;1     Hall A Epics Data
   KEY: TTree    BBITE;1 Hall A Scalers on bbite
   KEY: TTree    EVBBITE;1       Hall A Scalers on evbbite

I tried running it again with the main analyzer on /usr/local and a replay 
script referring only to BBDecData, and these histograms do go away.

Diana

p.s. On both analyzer builds, I've just noticed I get a slew of error 
messages on Event 1677 (error messages follow). Should we be concerned 
about these?

Starting analysis
1000
1677:   Warning: F1 TDC 4599a7f8        Slot (Ch) = 8(12)       Hit-FIFO overflow
1677:   Warning: F1 TDC 4599b318        Slot (Ch) = 8(12)       Hit-FIFO overflow
1677:   Warning: F1 TDC 4599c1a0        Slot (Ch) = 8(12)       Hit-FIFO overflow
1677:   Warning: F1 TDC 4599cf22        Slot (Ch) = 8(12)       Hit-FIFO overflow
1677:   Warning: F1 TDC 459ab1ee        Slot (Ch) = 8(13)       Hit-FIFO overflow
1677:   Warning: F1 TDC 459ac361        Slot (Ch) = 8(13)       Hit-FIFO overflow
1677:   Warning: F1 TDC 459ba89d        Slot (Ch) = 8(13)       Hit-FIFO overflow
1677:   Warning: F1 TDC 459bbaee        Slot (Ch) = 8(13)       Hit-FIFO overflow
1677:   Warning: F1 TDC 4d80a454        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d80b019        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d80b662        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d80bc87        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d80c2f8        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d80cbe1        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d81ad6c        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d81b368        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d81b98e        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d81bf5e        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d81c871        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d81ceae        Slot (Ch) = 9(0)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d82aaab        Slot (Ch) = 9(1)        Hit-FIFO overflow
1677:   Warning: F1 TDC 4d82b95b        Slot (Ch) = 9(1)        Hit-FIFO overflow
2000


On Wed, 10 Mar 2010, Brad Sawatzky wrote:

> Hi all,
>
> It looks like the most important historical difference between
> THaDecData and BBDecData was that the latter had been modified to
> support reference-time subtraction for F1 TDCs -- which we don't use.
> The problem with the 'stock' THaDecData is that it spews copies of the
> HRS VDC efficiency histograms whether you want them or not.
>
> I compile a THaDecData class with the VDC stuff removed.  (That stuff
> should really be moved to a macro anyway...)
>
> Diana and Matt:  Please test out the patched analyzer by pointing your
>  env variables at my test analyzer.  If you followed the recommended
>  approach in '/usr/local/d2n_analysis/root-setup.sh', then just change
>  the line at the top to
>    export d2n_root="/home/brads/d2n_analysis_copy"
>
> Let me know if it works (or not).  If it's all good, then I'll make it
> our standard analyzer and disable the BBDecData class.
>
> -- Brad
>
> On Tue, 09 Mar 2010, Brad Sawatzky wrote:
>
>> Yikes.  Good catch.
>>
>> Unfortunately I don't have time to debug this today...  If someone wants
>> to dig into it, I would start with the diff between the BBDecData.cxx
>> and THaDecData.C source:
>>
>>   diff -burN  /usr/local/d2n_analysis/d2n/bigbitelib/BBDecData.cxx /usr/local/d2n_analysis/analyzer/src/THaDecData.C
>>
>> At one point BBDecData.cxx was copy-paste duplicate of THaDecData.C, but
>> they have diverged over the years.  Most of the changes in the diff are
>> due to my recent removal of the VDC efficiency histo generation stuff
>> from BBDecData.  That was useless for BigBite and was causing a ton of
>> duplicate histos to generated due to a long standing bug.
>>
>> There are other differences too though -- those aren't mine.  Perhaps
>> folks fixed a bug in THaDecData but didn't port the patch to the
>> BBDecData class.  Might be worth doing a 'resync' between the two files.
>>
>> In the meantime, everyone should be very suspicious of the BBDecData
>> variables.
>>
>> -- Brad
>>
> -- 
> Brad Sawatzky, PhD <brads at jlab.org>  -<>-  Jefferson Lab / Hall C / C111
>  Ph: 757-269-5947 -<>- Pager: 757-584-5947 -<>- Fax: 757-269-5235
> The most exciting phrase to hear in science, the one that heralds new
>  discoveries, is not "Eureka!" but "That's funny..."   -- Isaac Asimov
>
>


More information about the d2n-analysis-talk mailing list