Difference between revisions of "Cosmics in TEDf"
From Hall A Wiki
(→Running the DAQ and Analysis) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
* 2 CAEN v1190 TDCs (recording time information from all 180 channels) | * 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) | * 2 v792 QDCs (recording charge information from subsets of 64 channels at a time) | ||
− | * 12 NINO | + | * 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) | * 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=== | ===CODA 3 and VME Readout Set Up Details=== | ||
− | Details on ROC and | + | Details on ROC, PEB, and CODA3 setup etc to be added here: |
− | * | + | *ROC |
+ | **Slot - 1 | ||
+ | **Name - | ||
+ | *PEB | ||
+ | **Slot - 21 | ||
+ | **Name - | ||
+ | *CODA Readout | ||
+ | **List file | ||
+ | ***Location - | ||
+ | *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 | ||
+ | ***how is the signal derived? | ||
+ | **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=== | ===Running the DAQ and Analysis=== | ||
* account is bbhodo on tedbbdaq machine (contact local users directly for password) | * account is bbhodo on tedbbdaq machine (contact local users directly for password) | ||
− | * To | + | *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 |
Revision as of 15:42, 9 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 -
- PEB
- Slot - 21
- Name -
- CODA Readout
- List file
- Location -
- List file
- 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
- how is the signal derived?
- 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?
- Signal
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
- In home directory on bbhodo@tedbbdaq type: startCoda
- How To
- 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
- In replay directory type: analyzer
- 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).
- .x Analyse_Replayed_Hodo_Cosmic_Tree.C+(####,-1)
- In Macro directory type: analyzer
- 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
- TBrowser browser
- Replay