Home » NUSTAR » NUSTAR PRESPEC » prespec data analysis package
Re: prespec data analysis package [message #16980 is a reply to message #16977] |
Thu, 10 July 2014 18:49 |
miree
Messages: 71 Registered: June 2014
|
continuous participant |
From: *ikp.physik.tu-darmstadt.de
|
|
Hi Tayfun,
I think you got an old version of the AgataTimeCrate configuration.
Try to put only one time crate for AGATA like this:
crate AgataTimeCrate
procid 86
triggers all
module mhtdc LYCCA.v1290TMM triggers 2 3 5 6 7 8 9 10
module scaler LYCCA.v830 triggers 1 12 13
end
This contains a scaler and a multihit TDC that are read out on different triggers.
Assignments like "particle_gamma_time[36] <- Agata/ParticleGammaTime.output[0]" describe the mapping from the multihit TDC channel to the crystal-ID that provides the signals for the TDC channel. In this example, AGATA crystal 36 (=12A) was plugged (via a CFD) into channel 0 of the multihit TDC. How to find this assignment is described below.
The reason why you have 17 only, is that you based your analysis on the files for the performance commissioning. There were only 17 crystals in the setup. You need to find the two missing assignments (and verify the 17 assignments that are already there).
Another method to get the particle-gamma time is by using the following quantities:
a) time information inside the PSA frames (T0 and/or T1): This gives the difference between the GST timestamp of that PSA frame and the rising edge of the core signal.
b) the time difference between the Sc41 signal and the AGAVA accepted signal - both measured in one multihit TDC in the user crate.
c) the difference between the GTS timestamp of the MBS event and the GTS timestamp of the PSA frame.
The AgataAdapter processor computes from these quantities the particle-gamma time difference and provides it in the output arrays "core_pgtime_high" (using the T0 field in the PSA frame) and "core_pgtime_low" (using the T1 field in the PSA frame).
In order to do this, it needs the GTS timestamp from the AGAVA module
timestamp_agava_high24 <- TrloCrate.agava[1]
timestamp_agava_low24 <- TrloCrate.agava[2]
and the time difference (b), coming from a multihit TDC
dt_sc41_agava_acc <- Agata/Sc41Time.output[0]
The core_pgtime_high and core_pgtime_low arrays contain the information for all crystals. You can use this information to find which core signal was plugged into which multihit TDC channel by plotting all combinations of crystal-ID and multihit-TDC channel. For example with the following loop:
for $ch in [0:27]
for $id in [0:179]
processor Agata/Lut_Finder_$ch_$id UTILS.DoubleArray
x[0] <- Agata/ParticleGammaTime.output[$ch]
y[0] <- Agata/Adapter.core_pgtime_low[$id]
display x:y in Lut_Finder_$ch
end
end
end
Now, look for the plots that show the correct correlation between both quantities. If the combination of crystal-ID/multihit-channel is correct, you should get a plot similar to the one "TimeTime_good.png" (attached). For all wrong combination, the plot looks similar to "TimeTime_bad1.png".
Best regards,
Michael
|
|
|
|
|
prespec data analysis package
By: thuyuk on Thu, 10 July 2014 13:02
|
|
|
Re: prespec data analysis package
By: miree on Thu, 10 July 2014 18:49
|
|
|
Re: prespec data analysis package
By: thuyuk on Fri, 11 July 2014 12:02
|
|
|
Re: prespec data analysis package
By: thuyuk on Fri, 11 July 2014 13:17
|
|
|
Re: prespec data analysis package
By: thuyuk on Mon, 14 July 2014 09:34
|
|
|
Re: prespec data analysis package
By: miree on Mon, 14 July 2014 15:37
|
|
|
Re: prespec data analysis package
By: thuyuk on Mon, 14 July 2014 17:00
|
|
|
Re: prespec data analysis package
By: miree on Tue, 15 July 2014 13:37
|
|
|
Re: prespec data analysis package
By: thuyuk on Sat, 19 July 2014 16:43
|
|
|
Re: AGATA particle-gamma time
By: miree on Tue, 22 July 2014 10:13
|
|
|
Re: AGATA particle-gamma time
By: thuyuk on Tue, 22 July 2014 10:56
|
|
|
Re: AGATA particle-gamma time
By: miree on Fri, 25 July 2014 16:58
|
|
|
Re: AGATA particle-gamma time
By: thuyuk on Mon, 28 July 2014 10:34
|
|
|
Re: AGATA particle-gamma time
By: thuyuk on Thu, 11 September 2014 15:54
|
|
|
Re: AGATA particle-gamma time
By: miree on Fri, 12 September 2014 11:50
|
|
|
Re: AGATA particle-gamma time
By: thuyuk on Fri, 12 September 2014 12:08
|
|
|
Re: AGATA particle-gamma time
By: miree on Tue, 16 September 2014 11:41
|
|
|
Re: prespec data analysis package
By: miree on Wed, 23 July 2014 10:37
|
|
|
Re: prespec data analysis package
|
Goto Forum:
Current Time: Sat Nov 09 23:38:22 CET 2024
Total time taken to generate the page: 0.00974 seconds
|