Difference between revisions of "Cosmics in TEDf"

From Hall A Wiki
Jump to: navigation, search
(CODA 3 and VME Readout Set Up Details)
 
(5 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
*ROC
 
*ROC
 
**Slot - 1
 
**Slot - 1
**Name -  
+
**Name - intelbbhodo
 
*PEB
 
*PEB
 
**Slot - 21
 
**Slot - 21
 
**Name -  
 
**Name -  
 
*CODA Readout
 
*CODA Readout
**List file
+
**ROL file: bbhodo_list.c
***Location -  
+
** To connect and edit rol file : ssh sbs-onl@intelbbhodo
 +
***Location - rol file on intelbbhodo in /homesbs-onl/rol
 +
**CAEN1190
 +
*** Set for trigger match mode and enable trigger time subtraction.
 +
*** Set for LE/TE
 +
*** Set for 100ns resolution ( actually it is 97.7ns/channel)
 +
*** Set window offset to -500ns and window width to 450ns.
 +
**V792
 +
*** Set up with no sparsification
 
*Crate
 
*Crate
 
**Slot 1 - ROC
 
**Slot 1 - ROC
Line 33: Line 41:
 
*Trigger
 
*Trigger
 
**Signal
 
**Signal
***how is the signal derived?
+
*** Trigger is from scintillator place above the scintillator array.
 +
** ROL is program to expect trigger into the front panel TRG.
 +
** Trigger output for the TI is set to width of 100ns in the ROL.
 +
** Trigger output is retimed by making a coincidence with a copy of the trigger ( width 125ns) delayed by 100ns so that it sets the timing of the coincidence.
 +
*** This is because the timing of the trigger output relative to the trigger input varied by up to 20ns.
 
**ADC Gate
 
**ADC Gate
***what is the length going into ADC?
+
***ADC gate is about 150ns wide.
***what is timing of gate wrt ADC signals?
+
***The ADC signal is about 25-40ns after the gate
 
**TDC Gate
 
**TDC Gate
 
***what is timing wrt to TDC signals?
 
***what is timing wrt to TDC signals?
Line 48: Line 60:
 
**** In CODA RCgui click Control->Connect, click Configure, click Download, click Start
 
**** In CODA RCgui click Control->Connect, click Configure, click Download, click Start
 
***Data files saved to /home/bbhodo/data.sbsdaq2 directory in format bbhodo_####.evio.0 where #### is the run number.
 
***Data files saved to /home/bbhodo/data.sbsdaq2 directory in format bbhodo_####.evio.0 where #### is the run number.
 +
***To set event limit click Options->Scheduler->Program and set event limit using cursor
 
*Run analysis
 
*Run analysis
 
**Replay
 
**Replay
Line 58: Line 71:
 
******Insert actual name of data file
 
******Insert actual name of data file
 
******Insert -1 for all events in data file or insert number of events to analyse (eg. 10000).
 
******Insert -1 for all events in data file or insert number of events to analyse (eg. 10000).
****Replayed file will appear in /home/bbhodo/BBhodo/replay/ReplayedFiles
+
****Replayed file will appear in /home/bbhodo/BBhodo/replay/ReplayedFiles in the form replayed_bbhodo_####.evio.0.root
 
**Analyse
 
**Analyse
 
***Script Name - Analyse_Replayed_Hodo_Cosmic_Tree.C
 
***Script Name - Analyse_Replayed_Hodo_Cosmic_Tree.C
 
***Location - /home/bbhodo/BBhodo/replay/Macro
 
***Location - /home/bbhodo/BBhodo/replay/Macro
***In Macro directory type: analyzer
+
***Command Instructions
****Command Instructions
+
****In Macro directory type: analyzer
*****In Macro directory type: analyzer
+
*****.x Analyse_Replayed_Hodo_Cosmic_Tree.C+(####,-1)
******.x Analyse_Replayed_Hodo_Cosmic_Tree.C+(####,-1)
+
******Insert for #### the run number of corresponding replayed file to be analysed (eg. 140)
*******Insert for #### the run number of corresponding replayed file to be analysed (eg. 140)
+
******Insert -1 for all events in replayed file or insert number of events to analyse (eg. 10000).
*******Insert -1 for all events in data file or insert number of events to analyse (eg. 10000).
+
***Analysed file will appear in /home/bbhodo/BBhodo/replay/Macro in the form Analysed_replayed_bbhodo_####.evio.0.root
****Analysed file will appear in /home/bbhodo/BBhodo/replay/Macro
+
 
***To view analysed file in Macros directory type: analyzer "name of analysed file"
 
***To view analysed file in Macros directory type: analyzer "name of analysed file"
 
****TBrowser browser
 
****TBrowser browser
 
*****Use cursor to click on branches and histograms to view them
 
*****Use cursor to click on branches and histograms to view them

Latest revision as of 10:02, 17 February 2021

Current Set Up for Running with Cosmics in TEDf (Feb 2021)

  • 89 bars
  • 2 CAEN v1190 TDCs (recording time information from all 180 channels)
  • 2 v792 QDCs (recording charge information from subsets of 64 channels at a time)
  • 12 NINO cards operating with AGILENT PSU and operating with internal threshold set by potentiometer on cards
  • HV supplied by CAEN SY1527N main frame equipped with 1x A1531 primary PSU (have 3 spare) and 4x A1932A 48 channel HV distributer modules (have 4 spare)

CODA 3 and VME Readout Set Up Details

Details on ROC, PEB, and CODA3 setup etc to be added here:

  • ROC
    • Slot - 1
    • Name - intelbbhodo
  • PEB
    • Slot - 21
    • Name -
  • CODA Readout
    • ROL file: bbhodo_list.c
    • To connect and edit rol file : ssh sbs-onl@intelbbhodo
      • Location - rol file on intelbbhodo in /homesbs-onl/rol
    • CAEN1190
      • Set for trigger match mode and enable trigger time subtraction.
      • Set for LE/TE
      • Set for 100ns resolution ( actually it is 97.7ns/channel)
      • Set window offset to -500ns and window width to 450ns.
    • V792
      • Set up with no sparsification
  • Crate
    • Slot 1 - ROC
    • Slot 2 - v1190
      • Serial Number -
      • Used for TDC left side, channels 0-89 correspond to bars 1-90L, channel 127 used for TDC reference signal
    • Slot 3 - v1190
      • Serial Number -
      • Used for TDC right side, channels 0-89 correspond to bars 1-90R, channel 127 used for TDC reference signal
    • Slot 4 - v792
      • Serial Number -
      • Used for ADC, 32 channels which are shifted around the detector
    • Slot 5 - v792
      • Serial Number -
      • Used for ADC, 32 channels which are shifted around the detector
  • Trigger
    • Signal
      • Trigger is from scintillator place above the scintillator array.
    • ROL is program to expect trigger into the front panel TRG.
    • Trigger output for the TI is set to width of 100ns in the ROL.
    • Trigger output is retimed by making a coincidence with a copy of the trigger ( width 125ns) delayed by 100ns so that it sets the timing of the coincidence.
      • This is because the timing of the trigger output relative to the trigger input varied by up to 20ns.
    • ADC Gate
      • ADC gate is about 150ns wide.
      • The ADC signal is about 25-40ns after the gate
    • TDC Gate
      • what is timing wrt to TDC signals?
      • what is reference signals timing wrt to TDC signals?

Running the DAQ and Analysis

  • account is bbhodo on tedbbdaq machine (contact local users directly for password)
  • Run CODA
    • How To
      • In home directory on bbhodo@tedbbdaq type: startCoda
        • In CODA RCgui click Control->Connect, click Configure, click Download, click Start
      • Data files saved to /home/bbhodo/data.sbsdaq2 directory in format bbhodo_####.evio.0 where #### is the run number.
      • To set event limit click Options->Scheduler->Program and set event limit using cursor
  • Run analysis
    • Replay
      • Script Name - replay_hodo_cosmic.C
      • Location - /home/bbhodo/BBhodo/replay
      • Command Instructions
        • In replay directory type: analyzer
          • .L replay_hodo_cosmic.C+
          • replay_hodo_cosmic("name of data file",-1)
            • Insert actual name of data file
            • Insert -1 for all events in data file or insert number of events to analyse (eg. 10000).
        • Replayed file will appear in /home/bbhodo/BBhodo/replay/ReplayedFiles in the form replayed_bbhodo_####.evio.0.root
    • Analyse
      • Script Name - Analyse_Replayed_Hodo_Cosmic_Tree.C
      • Location - /home/bbhodo/BBhodo/replay/Macro
      • Command Instructions
        • In Macro directory type: analyzer
          • .x Analyse_Replayed_Hodo_Cosmic_Tree.C+(####,-1)
            • Insert for #### the run number of corresponding replayed file to be analysed (eg. 140)
            • Insert -1 for all events in replayed file or insert number of events to analyse (eg. 10000).
      • Analysed file will appear in /home/bbhodo/BBhodo/replay/Macro in the form Analysed_replayed_bbhodo_####.evio.0.root
      • To view analysed file in Macros directory type: analyzer "name of analysed file"
        • TBrowser browser
          • Use cursor to click on branches and histograms to view them