Difference between revisions of "CDC run 985"

From GlueXWiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
CDC_algo has hit threshold 160, timing thresholds 120,20, rough_time (if algo fails) 40  (uploaded filenames are wrong, it really is run 985)
+
CDC_algo has hit threshold 160, timing thresholds 120,20, rough_time (if algo fails) 40  Start with 20,000 events
  
 
{| border="0" cellpadding="2"  
 
{| border="0" cellpadding="2"  
 
|- Pedestal
 
|- Pedestal
 
|[[Image:cdc_985_p_cdconline.png|thumb|x200px| CDC_online]]
 
|[[Image:cdc_985_p_cdconline.png|thumb|x200px| CDC_online]]
|[[Image:cdc_951_p_daqtree.png|thumb|x200px| DAQTree ped from pulse_pedestal]]
+
|[[Image:cdc_985_p_daqtree.png|thumb|x200px| DAQTree ped from pulse_pedestal]]
 
|[[Image:cdc_985_p_cdcalgo.png|thumb|x200px| CDC_algo 'hit' events]]  
 
|[[Image:cdc_985_p_cdcalgo.png|thumb|x200px| CDC_algo 'hit' events]]  
 
|[[Image:cdc_985_p_pedonly.png|thumb|x200px| CDC_algo ALL events (not just hits)]]  
 
|[[Image:cdc_985_p_pedonly.png|thumb|x200px| CDC_algo ALL events (not just hits)]]  
Line 12: Line 12:
 
|- Time
 
|- Time
 
|[[Image:cdc_985_t_cdconline.png|thumb|x200px| CDC_online]]
 
|[[Image:cdc_985_t_cdconline.png|thumb|x200px| CDC_online]]
|[[Image:cdc_951_t_daqtree.png|thumb|x200px| DAQTree time from pulse_time]]
+
|[[Image:cdc_985_t_daqtree.png|thumb|x200px| DAQTree time from pulse_time]]
 
|[[Image:cdc_985_t_cdctime.png|thumb|x200px| CDC_algo (units sample/10)]]  
 
|[[Image:cdc_985_t_cdctime.png|thumb|x200px| CDC_algo (units sample/10)]]  
 
|}
 
|}
Line 20: Line 20:
 
|- Maxamp
 
|- Maxamp
 
|[[Image:cdc_985_a_cdconline.png|thumb|x200px|not implemented yet]]
 
|[[Image:cdc_985_a_cdconline.png|thumb|x200px|not implemented yet]]
|[[Image:cdc_951_a_daqtree.png|thumb|x200px| DAQTree pulse_peak from pulse_pedestal]]
+
|[[Image:cdc_985_a_daqtree.png|thumb|x200px| DAQTree pulse_peak from pulse_pedestal]]
 
|[[Image:cdc_985_a_cdcalgo.png|thumb|x200px| CDC_algo]]  
 
|[[Image:cdc_985_a_cdcalgo.png|thumb|x200px| CDC_algo]]  
 
|}
 
|}
Line 102: Line 102:
 
|[[Image:cdc_985_pedroc28z1.png|thumb|x200px| ROC 28, zoomed in]]
 
|[[Image:cdc_985_pedroc28z1.png|thumb|x200px| ROC 28, zoomed in]]
 
|[[Image:cdc_985_pedroc28z2.png|thumb|x200px| ROC 28, zoomed in]]
 
|[[Image:cdc_985_pedroc28z2.png|thumb|x200px| ROC 28, zoomed in]]
 +
|}
 +
 +
Why don't events with high pedestal reach online histograms?
 +
<pre>
 +
[njarvis@maria: ~/online/plugins/rundata ]> root -l run985/cdcped.root  (this is the file with pedestal for each entry)
 +
root [0]TADC->Scan("eventnum:rocid:slot:channel:pedestal","pedestal>200&&rocid>24&&rocid<29")
 +
************************************************************************
 +
*    Row  *  eventnum *    rocid *      slot *  channel *  pedestal *
 +
************************************************************************
 +
*        0 *        3 *        25 *        9 *        14 *      3802 *
 +
*        1 *        3 *        25 *        9 *        16 *      213 *
 +
*        8 *        3 *        26 *        13 *        15 *      2052 *
 +
*        9 *        3 *        27 *        15 *        49 *      963 *
 +
*      10 *        3 *        27 *        16 *        63 *      208 *
 +
*      11 *        3 *        27 *        16 *        68 *      268 *
 +
*      12 *        3 *        27 *        16 *        70 *      236 *
 +
*      13 *        3 *        28 *        15 *        49 *      230 *
 +
*      14 *        3 *        28 *        17 *        61 *      2047 *
 +
*      18 *        3 *        28 *        17 *        69 *      215 *
 +
*      386 *        4 *        25 *        9 *        14 *      3802 *
 +
*      387 *        4 *        25 *        9 *        16 *      216 *
 +
*      393 *        4 *        26 *        13 *        15 *      2052 *
 +
*      396 *        4 *        27 *        15 *        49 *      963 *
 +
*      399 *        4 *        27 *        16 *        63 *      210 *
 +
*      400 *        4 *        27 *        16 *        68 *      272 *
 +
*      401 *        4 *        27 *        16 *        70 *      234 *
 +
*      403 *        4 *        28 *        3 *        12 *      236 *
 +
*      408 *        4 *        28 *        15 *        49 *      244 *
 +
*      409 *        4 *        28 *        17 *        61 *      2048 *
 +
*      609 *        5 *        25 *        9 *        14 *      3802 *
 +
*      610 *        5 *        25 *        9 *        16 *      211 *
 +
*      617 *        5 *        26 *        13 *        15 *      2052 *
 +
 +
root [1] Df125PulsePedestal->Scan("eventnum:rocid:slot:channel:pedestal","pedestal>200&&rocid>24&&rocid<29")
 +
************************************************************************
 +
*    Row  *  eventnum *    rocid *      slot *  channel *  pedestal *
 +
************************************************************************
 +
************************************************************************
 +
==> 0 selected entries
 +
 +
root [2] Df125PulsePedestal->Scan("eventnum:rocid:slot:channel:pedestal","eventnum==3&&rocid==25&&slot==9&&channel==14")
 +
************************************************************************
 +
*    Row  *  eventnum *    rocid *      slot *  channel *  pedestal *
 +
************************************************************************
 +
*        0 *        3 *        25 *        9 *        14 *        0 *
 +
************************************************************************
 +
==> 1 selected entry
 +
 +
root [5] Df125PulseTime->Scan("eventnum:rocid:slot:channel:time","eventnum==3&&rocid==25&&slot==9&&channel==14")
 +
************************************************************************
 +
*    Row  *  eventnum *    rocid *      slot *  channel *      time *
 +
************************************************************************
 +
*        0 *        3 *        25 *        9 *        14 *        0 *
 +
************************************************************************
 +
==> 1 selected entry
 +
 +
 +
root [3] Df125WindowRawData->Scan("eventnum:channelnum:rocid:slot:channel","eventnum==3&&rocid==25&&slot==9&&channel==14")
 +
************************************************************************
 +
*    Row  *  eventnum * channelnu *    rocid *      slot *  channel *
 +
************************************************************************
 +
*        0 *        3 *        0 *        25 *        9 *        14 *
 +
************************************************************************
 +
</pre>
 +
{| border="0" cellpadding="2"
 +
|[[Image:cdc_985_evt_3_chnum_0.png|thumb|x200px| ADC data evt 3 chnum 0 ]]
 +
|}
 +
 +
<pre>
 +
root [3] Df125PulsePedestal->Scan("eventnum:rocid:slot:channel:pedestal","eventnum==3&&rocid==25&&slot==9&&channel==16")
 +
************************************************************************
 +
*    Row  *  eventnum *    rocid *      slot *  channel *  pedestal *
 +
************************************************************************
 +
*        1 *        3 *        25 *        9 *        16 *        0 *
 +
************************************************************************
 +
root [6] Df125PulseTime->Scan("eventnum:rocid:slot:channel:time","eventnum==3&&rocid==25&&slot==9&&channel==16")
 +
************************************************************************
 +
*    Row  *  eventnum *    rocid *      slot *  channel *      time *
 +
************************************************************************
 +
*        1 *        3 *        25 *        9 *        16 *        0 *
 +
************************************************************************
 +
==> 1 selected entry
 +
 +
root [4] Df125WindowRawData->Scan("eventnum:channelnum:rocid:slot:channel","eventnum==3&&rocid==25&&slot==9&&channel==16")
 +
************************************************************************
 +
*    Row  *  eventnum * channelnu *    rocid *      slot *  channel *
 +
************************************************************************
 +
*        1 *        3 *        1 *        25 *        9 *        16 *
 +
************************************************************************
 +
 +
</pre>
 +
{| border="0" cellpadding="2"
 +
|[[Image:cdc_985_evt_3_chnum_1.png|thumb|x200px| ADC data evt 3 chnum 1 ]]
 +
|}
 +
<pre>
 +
root [1] Df125PulsePedestal->Scan("eventnum:channelnum:rocid:slot:channel:pedestal","eventnum==3&&rocid==26&&slot==13&&channel==15")
 +
************************************************************************************
 +
*    Row  *  eventnum * channelnu *    rocid *      slot *  channel *  pedestal *
 +
************************************************************************************
 +
*        8 *        3 *        8 *        26 *        13 *        15 *        0 *
 +
************************************************************************************
 +
==> 1 selected entry
 +
(Long64_t)1
 +
root [2] Df125PulseTime->Scan("eventnum:channelnum:rocid:slot:channel:time","eventnum==3&&rocid==26&&slot==13&&channel==15")
 +
************************************************************************************
 +
*    Row  *  eventnum * channelnu *    rocid *      slot *  channel *      time *
 +
************************************************************************************
 +
*        8 *        3 *        8 *        26 *        13 *        15 *        0 *
 +
************************************************************************************
 +
==> 1 selected entry
 +
 +
root [2] Df125WindowRawData->Scan("eventnum:channelnum:rocid:slot:channel","eventnum==3&&rocid==26&&slot==13&&channel==15")
 +
************************************************************************
 +
*    Row  *  eventnum * channelnu *    rocid *      slot *  channel *
 +
************************************************************************
 +
*        8 *        3 *        8 *        26 *        13 *        15 *
 +
************************************************************************
 +
</pre>
 +
{| border="0" cellpadding="2"
 +
|[[Image:cdc_985_evt_3_chnum_8.png|thumb|x200px| ADC data evt 3 chnum 8 ]]
 
|}
 
|}

Latest revision as of 17:37, 12 November 2014

CDC_algo has hit threshold 160, timing thresholds 120,20, rough_time (if algo fails) 40 Start with 20,000 events

CDC_online
DAQTree ped from pulse_pedestal
CDC_algo 'hit' events
CDC_algo ALL events (not just hits)
CDC_online
DAQTree time from pulse_time
CDC_algo (units sample/10)


File:Cdc 985 a cdconline.png
not implemented yet
DAQTree pulse_peak from pulse_pedestal
CDC_algo


CDC_online
File:Cdc 985 i daqtree.png
DAQTree pulse_integral does not exist in mode 8
CDC_algo (not sure if this is ok)


Zeroes in run 985 (FDC & CDC)

[njarvis@maria: ~/online/plugins ]> root -l rundata/run985/daqtree.root
root [0] 
Attaching file rundata/run985/daqtree.root as _file0...
root [1] Df125PulseTime->Scan("*","time==0&&channel==0")
************************************************************************************************************************
*    Row   * channelnu *  eventnum *     rocid *      slot *   channel *  itrigger * pulse_num * quality_f *      time *
************************************************************************************************************************
*     7623 *       469 *        18 *        61 *         5 *         0 *        16 *         0 *         0 *         0 *
*    25436 *        14 *        50 *        28 *         3 *         0 *        48 *         0 *         0 *         0 *
*    31022 *       721 *        59 *        62 *         6 *         0 *        57 *         0 *         0 *         0 *
*    39850 *         0 *        73 *        25 *         3 *         0 *        71 *         0 *         0 *         0 *
*    49429 *       481 *        92 *        62 *         6 *         0 *        90 *         0 *         0 *         0 *
*    67602 *         0 *       132 *        25 *         3 *         0 *       130 *         0 *         0 *         0 *
*    80313 *       334 *       159 *        57 *        17 *         0 *       157 *         0 *         0 *         0 *
*    83937 *        24 *       166 *        26 *         7 *         0 *       164 *         0 *         0 *         0 *
*    89910 *        21 *       179 *        26 *        13 *         0 *       177 *         0 *         0 *         0 *

root [2] Df125PulsePedestal->Scan("*","pedestal==0&&channel==0")
************************************************************************************************************************
*    Row   * channelnu *  eventnum *     rocid *      slot *   channel *  itrigger * pulse_num *  pedestal * pulse_pea *
************************************************************************************************************************
*     7623 *       469 *        18 *        61 *         5 *         0 *        16 *         0 *         0 *         0 *
*    25436 *        14 *        50 *        28 *         3 *         0 *        48 *         0 *         0 *         0 *
*    31022 *       721 *        59 *        62 *         6 *         0 *        57 *         0 *         0 *         0 *
*    39850 *         0 *        73 *        25 *         3 *         0 *        71 *         0 *         0 *         0 *
*    49429 *       481 *        92 *        62 *         6 *         0 *        90 *         0 *         0 *         0 *
*    67602 *         0 *       132 *        25 *         3 *         0 *       130 *         0 *         0 *         0 *
*    80313 *       334 *       159 *        57 *        17 *         0 *       157 *         0 *         0 *         0 *
*    83937 *        24 *       166 *        26 *         7 *         0 *       164 *         0 *         0 *         0 *
*    89910 *        21 *       179 *        26 *        13 *         0 *       177 *         0 *         0 *         0 *


root [22] Df125PulseTime->GetEntries()
(const Long64_t)5143077
root [23] Df125PulsePedestal->GetEntries()
(const Long64_t)5143077
root [24] Df125PulseTime->GetEntries("time==0")
(Long64_t)959906
root [25] Df125PulsePedestal->GetEntries("pedestal==0")
(Long64_t)960443


Pedestal from cdcalgo for ALL events
ROC 25
ROC 26
ROC 27
ROC 28
Pedestal from cdcalgo for ALL events
ROC 25
ROC 26
ROC 27
ROC 28
ROC 25, zoomed in
ROC 26, zoomed in
ROC 27, zoomed in
ROC 28, zoomed in
ROC 28, zoomed in

Why don't events with high pedestal reach online histograms?

[njarvis@maria: ~/online/plugins/rundata ]> root -l run985/cdcped.root   (this is the file with pedestal for each entry)
root [0]TADC->Scan("eventnum:rocid:slot:channel:pedestal","pedestal>200&&rocid>24&&rocid<29")
************************************************************************
*    Row   *  eventnum *     rocid *      slot *   channel *  pedestal *
************************************************************************
*        0 *         3 *        25 *         9 *        14 *      3802 *
*        1 *         3 *        25 *         9 *        16 *       213 *
*        8 *         3 *        26 *        13 *        15 *      2052 *
*        9 *         3 *        27 *        15 *        49 *       963 *
*       10 *         3 *        27 *        16 *        63 *       208 *
*       11 *         3 *        27 *        16 *        68 *       268 *
*       12 *         3 *        27 *        16 *        70 *       236 *
*       13 *         3 *        28 *        15 *        49 *       230 *
*       14 *         3 *        28 *        17 *        61 *      2047 *
*       18 *         3 *        28 *        17 *        69 *       215 *
*      386 *         4 *        25 *         9 *        14 *      3802 *
*      387 *         4 *        25 *         9 *        16 *       216 *
*      393 *         4 *        26 *        13 *        15 *      2052 *
*      396 *         4 *        27 *        15 *        49 *       963 *
*      399 *         4 *        27 *        16 *        63 *       210 *
*      400 *         4 *        27 *        16 *        68 *       272 *
*      401 *         4 *        27 *        16 *        70 *       234 *
*      403 *         4 *        28 *         3 *        12 *       236 *
*      408 *         4 *        28 *        15 *        49 *       244 *
*      409 *         4 *        28 *        17 *        61 *      2048 *
*      609 *         5 *        25 *         9 *        14 *      3802 *
*      610 *         5 *        25 *         9 *        16 *       211 *
*      617 *         5 *        26 *        13 *        15 *      2052 *

root [1] Df125PulsePedestal->Scan("eventnum:rocid:slot:channel:pedestal","pedestal>200&&rocid>24&&rocid<29")
************************************************************************
*    Row   *  eventnum *     rocid *      slot *   channel *  pedestal *
************************************************************************
************************************************************************
==> 0 selected entries

root [2] Df125PulsePedestal->Scan("eventnum:rocid:slot:channel:pedestal","eventnum==3&&rocid==25&&slot==9&&channel==14")
************************************************************************
*    Row   *  eventnum *     rocid *      slot *   channel *  pedestal *
************************************************************************
*        0 *         3 *        25 *         9 *        14 *         0 *
************************************************************************
==> 1 selected entry

root [5] Df125PulseTime->Scan("eventnum:rocid:slot:channel:time","eventnum==3&&rocid==25&&slot==9&&channel==14")
************************************************************************
*    Row   *  eventnum *     rocid *      slot *   channel *      time *
************************************************************************
*        0 *         3 *        25 *         9 *        14 *         0 *
************************************************************************
==> 1 selected entry


root [3] Df125WindowRawData->Scan("eventnum:channelnum:rocid:slot:channel","eventnum==3&&rocid==25&&slot==9&&channel==14")
************************************************************************
*    Row   *  eventnum * channelnu *     rocid *      slot *   channel *
************************************************************************
*        0 *         3 *         0 *        25 *         9 *        14 *
************************************************************************
ADC data evt 3 chnum 0
root [3] Df125PulsePedestal->Scan("eventnum:rocid:slot:channel:pedestal","eventnum==3&&rocid==25&&slot==9&&channel==16")
************************************************************************
*    Row   *  eventnum *     rocid *      slot *   channel *  pedestal *
************************************************************************
*        1 *         3 *        25 *         9 *        16 *         0 *
************************************************************************
root [6] Df125PulseTime->Scan("eventnum:rocid:slot:channel:time","eventnum==3&&rocid==25&&slot==9&&channel==16")
************************************************************************
*    Row   *  eventnum *     rocid *      slot *   channel *      time *
************************************************************************
*        1 *         3 *        25 *         9 *        16 *         0 *
************************************************************************
==> 1 selected entry

root [4] Df125WindowRawData->Scan("eventnum:channelnum:rocid:slot:channel","eventnum==3&&rocid==25&&slot==9&&channel==16")
************************************************************************
*    Row   *  eventnum * channelnu *     rocid *      slot *   channel *
************************************************************************
*        1 *         3 *         1 *        25 *         9 *        16 *
************************************************************************

ADC data evt 3 chnum 1
root [1] Df125PulsePedestal->Scan("eventnum:channelnum:rocid:slot:channel:pedestal","eventnum==3&&rocid==26&&slot==13&&channel==15")
************************************************************************************
*    Row   *  eventnum * channelnu *     rocid *      slot *   channel *  pedestal *
************************************************************************************
*        8 *         3 *         8 *        26 *        13 *        15 *         0 *
************************************************************************************
==> 1 selected entry
(Long64_t)1
root [2] Df125PulseTime->Scan("eventnum:channelnum:rocid:slot:channel:time","eventnum==3&&rocid==26&&slot==13&&channel==15")
************************************************************************************
*    Row   *  eventnum * channelnu *     rocid *      slot *   channel *      time *
************************************************************************************
*        8 *         3 *         8 *        26 *        13 *        15 *         0 *
************************************************************************************
==> 1 selected entry

root [2] Df125WindowRawData->Scan("eventnum:channelnum:rocid:slot:channel","eventnum==3&&rocid==26&&slot==13&&channel==15")
************************************************************************
*    Row   *  eventnum * channelnu *     rocid *      slot *   channel *
************************************************************************
*        8 *         3 *         8 *        26 *        13 *        15 *
************************************************************************
ADC data evt 3 chnum 8