[d2n-analysis-talk] TotalShower and d2n lib

posik at jlab.org posik at jlab.org
Fri Jun 18 10:12:35 EDT 2010


Hi all,

  I have looked into why there was a drastic change in the ps vs ps+sh
energy plot. I looked at the THaBBTotalShower.cxx class and it looks
like it does use tracking when reconstructing the clusters to get the
deposited energy, here is a snippet:

Int_t THaBBTotalShower::CoarseProcess(TClonesArray& tracks )
{
    // Reconstruct Clusters in shower and preshower detectors.
    // Then compute total shower energy and cluster ID.
    //
    // Valid fIDs:
    //       1   Matching clusters found.
    //       0   Clusters found, but separated too far
    //      -1   No cluster found in either shower or preshower or both
    //

    if( !IsOK() )
        return -1;

    fPreShower->CoarseProcess(tracks );
    fShower->CoarseProcess( tracks );

I am still trying to figure out where this tracks variable is located.
Another thing that I noticed is that we are currently using a
significantly different THaBBTotalShower class than transversity is using.
So I did a diff on the transversity library and our current d2n library
(/usr/local/d2n_analysis/d2n/bigbitelib. I attached the results below,
diffs.txt is a list of the files that differ between the two libs and
diff_full.txt is a line by line comparison.

 Do we want to have our bigbitelib up to date with the transversity one?

Also when talking to Jin about making time walk corrections, which for
transversity is done with the class THaBigBiteE06010. I had sent out a
plot last week of the trigger timewalk which plotted

   "BB.s.tof_hit[0]:BB.sum.RApedc[2]"

This plot was created using the THaBigBite class and not the
THaBigBiteE06010 class, so I don't think that this incorporated the
transversity correction. So I have been talking a little bit with Jin and
he had sent me the following:

THaBigBiteE06010 is a specially designed piece of software for E06010
only. To use it for d2n, more work is needed than normal modules in
bigbitelib.



1. Please use the transversity bigbitelib instead common one. It's located
at /w/work5602/transversity/transversity/bigbitelib  The MWDC code is also
modified to communicate with THaBigBiteE06010



2. The time correction feature is enabled by database. An example is
/w/work5602/transversity/transversity/DB/20090206/db_BB.dat



3. The correction coefficient and DAQ constants are hardcoded in
THaBigBiteE06010. It probably will not correct properly for d2n, since you
get the shower amplification module problem fixed at beginning of the
experiment. If you want to use THaBigBiteE06010, I do suggest you to read,
understand and modify it.


Thanks
 matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs.txt
Url: https://mailman.jlab.org/pipermail/d2n-analysis-talk/attachments/20100618/79bec97f/attachment-0001.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_full.txt.tar.gz
Type: application/x-gzip
Size: 306815 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/d2n-analysis-talk/attachments/20100618/79bec97f/attachment-0001.gz 


More information about the d2n-analysis-talk mailing list