Cosmics in TEDf

From Hall A Wiki
Revision as of 11:24, 16 February 2021 by Jones (Talk | contribs) (CODA 3 and VME Readout Set Up Details)

Jump to: navigation, search

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
      • what is the length going into ADC?
      • what is timing of gate wrt ADC signals?
    • 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