Trigger
From Hall A Wiki
Back to DVCS3
Deadtime script
Analyze deadtime on any aonl machines: "godvcs", "cd marco/deadtime/", "analyzer", ".L deadtime.C", "deadtime(run_number)".
DAQ Trigger configuration
That file is kept under dvcs@intelhadvcs1:~/config_files
## Example configuration file # Global Threshold = 750 Cluster Threshold = 250 Require Cluster = 0 # Gate width setting is in increments of 5ns Gate Width = 14 ##### # Prescale settings are in powers of two: # ___Behavior__________ Setting # PRESCALE_VAL_DISABLED 0 # PRESCALE_VAL_NONE 1 # PRESCALE_VAL_2 2 # PRESCALE_VAL_4 3 # PRESCALE_VAL_8 4 # PRESCALE_VAL_16 5 # PRESCALE_VAL_32 6 # PRESCALE_VAL_64 7 # PRESCALE_VAL_128 8 # PRESCALE_VAL_256 9 # PRESCALE_VAL_512 10 # PRESCALE_VAL_1024 11 # PRESCALE_VAL_2048 12 # PRESCALE_VAL_4096 13 # PRESCALE_VAL_8192 14 # PRESCALE_VAL_16384 15 # Prescale channel assignments are: # PRESCALE_ID_CLOCK 0 # PRESCALE_ID_COSMIC 1 # PRESCALE_ID_S2M_NCER 2 # PRESCALE_ID_S0_S1 3 # PRESCALE_ID_S0_S2M 4 # PRESCALE_ID_S0_CER 5 # PRESCALE_ID_S1_S2M 6 # PRESCALE_ID_S1_CER 7 # PRESCALE_ID_S2M_CER 8 ##### Prescale_0 Clock = 0 Prescale_1 Cosmic = 0 Prescale_2 S2M and NCER = 1 Prescale_3 S0 and S1 = 0 Prescale_4 S0 and S2M = 0 Prescale_5 S0 and CER = 0 Prescale_6 S1 and S2M = 0 Prescale_7 S1 and CER = 0 Prescale_8 S2M and CER = 1 BEGIN_PEDESTALS # Data1 Pedestals: 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 001-008 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 009-016 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 017-024 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 025-032 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 033-040 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 041-048 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 049-056 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 057-064 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 065-072 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 073-080 # Data2 Pedestals: 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 081-088 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 089-096 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 097-104 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 105-112 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 113-120 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 121-128 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 129-136 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 137-144 # Data3 Pedestals: 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 145-152 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 153-160 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 161-168 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 169-176 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 177-184 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 185-192 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 193-200 2048 2048 2048 2048 2048 2048 2048 2048 # Hardware channels 201-208 END_PEDESTALS
Trigger patterns
Trigger patterns: The lowest six bits of the triggerPattern word (mask value=0x3f) record the status of the raw trigger inputs. Depending on the prescale settings, a trigger input may be present even if it was not included in the event trigger for that event.
Trigger input | Bit pattern | Value |
COSMIC | 0x00001 | 1 |
TRIGCLK | 0x00002 | 2 |
SO | 0x00004 | 4 |
S1 | 0x00008 | 8 |
S2M | 0x00010 | 16 |
CER | 0x00020 | 32 |
The remainder of the bits (mask value=0xffffff40) record which prescaled coincidence trigger was actually used to form the event trigger.
Event trigger | Bit pattern | Value |
S2M_NCER_SCALED | 0x00040 | 64 |
S2M_CER2_SCALED | 0x00080 | 128 |
S2M_CER_SCALED | 0x00100 | 256 |
S1_CER_SCALED | 0x00200 | 512 |
S1_S2M_SCALED | 0x00400 | 1024 |
S0_CER_SCALED | 0x00800 | 2048 |
S0_S2M_SCALED | 0x01000 | 4096 |
S0_S1_SCALED | 0x02000 | 8192 |
TRIG_VME | 0x04000 | 16384 |
COSMIC_SCALED | 0x08000 | 32768 |
TRIGCLK_SCALED | 0x10000 | 65536 |
Documentation
- [Readiness Review Report (September 2014)]
- [Electronic Review document (May 2014)]
- [Trigger Manual (May 2014)] [Trigger Manual (Sept 2013)]
- [Trigger upgrade talk (March 2011)]