# -*- makefile -*- Well, not really, but emacs believes it. # # This file can be found in $BFROOT/detector/trg/config/ # # This file is read by the TrgConfig parser to load the TrgConfig # interface. About the syntax of the TrgConfig file see: # TrgParser/README.tcf. # # TrgConfig represents the single, authoritative source for the # configuration of the Level 1 and Level 3 Trigger systems. It is # used to configure the trigger logic and parameters of the GLT # (Global Trigger) lines, the auxiliary (software trigger and gate # module) lines, the trigger mask and prescale factors of the FCT # (Fast Control and Timing System), the execution web of input lines, # scripts and output lines of the Level 3 trigger, and the prescale # factors and flags of the OEP (Online Event Processing) lines. # # Contact: Rainer Bartoldus # # Modification Log: # 05-Dec-2001 RB Add non-rate limited Odf damage script. # Change the prescale on L3OutLumi 10->1000. # 11-Oct-2001 RB Bump prescale factors for L3OutBhabhaFlat # to reduce rate to 10 Hz at 3x10^33. # Adjust prescales for L3OutBhabhaFlat for 3-4e34. # 02-Oct-2001 RB Add the L3OutBackground line for SP. # 23-Aug-2001 RB Add an L3OutMuPair line. # 09-Apr-2001 RB Add an uncorrected clone of the boost monitor. # 03-Apr-2001 RB Add the Virtual Compton filter and define its # own output line. # Turn on rate-limited damage filtering. # 28-Mar-2001 RB Increase Bhabha prescales for OPR from x10 to x15. # 22-Mar-2001 RB Add an EMC-only Bhabha filter and output line. # 28-Feb-2001 RB Divide prescales by 2 on 3M, 3B&2A, M*&1B, D2*&1M. # Remove prescale from 2BM&2M. # Remove 1M, 1B, cyclic, and bunchcross from # L3InputPhysics. # 10-Feb-2001 RB Switch to default Bhabha Veto cuts. # Specify cuts for all doubly cloned filters. # Increase L1 prescales for beam startup. # Clear past logs from 1999-2000. # For earlier configuration logs check # Physics-50.tcl, stored under key 858. # # # The 17 GLT object counts are: # nU nG nG* nE nY nM nM* nEM nA nA* nB nB* nA' nAM nBM nA'M nBMX # # The possible relations are: >= = < # L1Lines = # # Name GLT Cut Priority # 3B&2A&2M: ( nB>=3 and nA>=2 and nM>=2 ) number= 1 prescale=1 width=15 delay=0 3A&B*: ( nA>=3 and nB*>=1 ) number= 2 prescale=1 width=15 delay=0 3B&B*&1G: ( nB>=3 and nB*>=1 and nG>=1 ) number= 3 prescale=1 width=15 delay=0 2E: ( nE>=2 ) number= 4 prescale=1 width=15 delay=0 EM*: ( nEM>=1 ) number= 5 prescale=1 width=15 delay=0 G*: ( nG*>=1 ) number= 6 prescale=1 width=15 delay=0 D2&1E: ( nB>=2 and nA>=1 and nE>=1 ) number= 7 prescale=1 width=15 delay=0 1Y&1B: ( nY>=1 and nB>=1 ) number= 8 prescale=1 width=15 delay=0 D2*+: ( nB*>=1 and nA'>=1 and nA>=1 ) number= 9 prescale=1 width=15 delay=0 3M&D2: ( nM>=3 and nB>=2 and nA>=1 ) number=10 prescale=1 width=15 delay=0 4M: ( nM>=4 ) number=11 prescale=1 width=15 delay=0 3M&M*: ( nM>=3 and nM*>=1 ) number=12 prescale=1 width=15 delay=0 2M&A+: ( nM>=2 and nA'>=1 and nA>=1 ) number=13 prescale=1 width=15 delay=0 M*&5U: ( nM*>=1 and nU>=5 ) number=14 prescale=1 width=15 delay=0 2BM&2M: ( nBM>=2 and nM>=2 ) number=15 prescale=1 width=15 delay=0 1Y: ( nY>=1 ) number=16 prescale=20 width=15 delay=0 3M: ( nM>=3 ) number=17 prescale=4 width=15 delay=0 3B&2A: ( nB>=3 and nA>=2 ) number=18 prescale=8 width=15 delay=0 M*&1B: ( nM*>=1 and nB>=1 ) number=19 prescale=4 width=15 delay=0 D2*&1M: ( nB*>=1 and nA>=1 and nM>=1 ) number=20 prescale=16 width=15 delay=0 2M: ( nM>=2 ) number=21 prescale=60 width=15 delay=0 D2: ( nB>=2 and nA>=1 ) number=22 prescale=96 width=15 delay=0 1B: ( nB>=1 ) number=23 prescale=0 width=15 delay=0 1M: ( nM>=1 ) number=24 prescale=0 width=15 delay=0 daqpulser: hardware number=25 prescale=1 sourcecalpulser: hardware number=26 prescale=1 bunchcross: hardware number=27 prescale=4000 lightpulser: hardware number=28 prescale=1 cyclic1: cyclic number=29 prescale=1 rate=1 L3InputLines = L3InputOpen: 3B&2A&2M or 3A&B* or 3B&B*&1G or 2E or EM* or G* or D2&1E or 1Y&1B or D2*+ or 3M&D2 or 4M or 3M&M* or 2M&A+ or M*&5U or 2BM&2M or 1Y or 3M or 3B&2A or M*&1B or D2*&1M or 2M or D2 or 1B or 1M or daqpulser or sourcecalpulser or bunchcross or lightpulser or cyclic1 L3InputPhysics: 3B&2A&2M or 3A&B* or 3B&B*&1G or 2E or EM* or G* or D2&1E # or 1Y&1B or D2*+ or 3M&D2 or 4M or 3M&M* or 2M&A+ or M*&5U or 2BM&2M # or 1Y or 3M or 3B&2A or M*&1B or D2*&1M or 2M or D2 # or 1B or 1M L3InputBunch: bunchcross L3InputCyclic1: cyclic1 L3Sequences = L3DSequence: L3ESequence: L3Modules = # Dch filters L3DIP1TrackFilter: L3DIPTrackFilterProto { nTracksCut = 1 d0Cut = 1.0 z0Cut = 7.0 ptCut = 0.600 } L3DIP2TrackFilter: L3DIPTrackFilterProto { nTracksCut = 2 d0Cut = 1.5 z0Cut = 10.0 ptCut = 0.250 } # Emc filters L3EHighEnergyFilter: L3EClusterFilterProto { nClustersCut = 2 xClusterCut = 0.0662 } L3EHighMultiplicityFilter: L3EClusterFilterProto { nClustersCut = 4 xClusterCut = 0. } # Bhabha veto L3TBhabha1ProngVetoFilter: L3TBhabha1ProngVetoFilterProto L3TBhabha2ProngVetoFilter: L3TBhabha2ProngVetoFilterProto # Bhabha accept filters L3TBhabhaAcceptFilter: L3TBhabhaAcceptFilterProto L3TRadiativeBhabhaFilter: L3TRadiativeBhabhaFilterProto L3TVirtualComptonFilter: L3TVirtualComptonFilterProto L3EBhabhaFilter: L3EBhabhaFilterProto # Online luminosity L3TOnlineLumiFilter: L3TOnlineLumiFilterProto # Gamma gamma final state L3TGammaGammaFilter: L3TGammaGammaFilterProto # Physics filters L3THadronicAFilter: L3THadronicFilterProto { r2Cut = 0.95 } L3THadronicBFilter: L3THadronicFilterProto { r2Cut = 0.40 } # Calibration filters L3TMuPairFilter: L3TMuPairFilterProto L3TPhiGammaFilter: L3TPhiGammaFilterProto L3TCosmic2ProngFilter: L3TCosmic2ProngFilterProto # Monitors L3TBoostMonitor: L3TBoostMonitorProto L3TBoostMonitorCosmics: L3TBoostMonitorProto { doBoost = 0 } L3TBoostMonitorUncorrected: L3TBoostMonitorProto { doCorrection = 0 } L3TDataflowDamageFilter: L3TDataflowDamageFilterProto L3TRateLimitingFilter: L3TRateLimitingFilterProto # Binned prescalers L3TBinnedPrescaler: L3TBinnedPrescalerProto L3TBinnedPrescalerOpr: L3TBinnedPrescalerProto L3Scripts = IP1TrackScript: L3InputPhysics { L3DSequence L3DIP1TrackFilter } IP2TrackScript: L3InputPhysics { L3DSequence L3DIP2TrackFilter } Cosmic2ProngScript: L3InputPhysics { L3DSequence L3TCosmic2ProngFilter } OnlineLumiScript: L3InputPhysics { L3DSequence L3TOnlineLumiFilter } EHighMultiplicityScript: L3InputPhysics { L3ESequence L3EHighMultiplicityFilter } EHighEnergyScript: L3InputPhysics { L3ESequence L3EHighEnergyFilter } Bhabha1ProngVetoScript: L3InputPhysics { L3DSequence L3ESequence L3TBhabha1ProngVetoFilter } Bhabha2ProngVetoScript: L3InputPhysics { L3DSequence L3ESequence L3TBhabha2ProngVetoFilter } BhabhaScript: L3InputOpen { L3DSequence L3ESequence L3TBhabhaAcceptFilter } RadiativeBhabhaScript: L3InputOpen { L3DSequence L3ESequence L3TRadiativeBhabhaFilter } VirtualComptonScript: L3InputOpen { L3DSequence L3ESequence L3TVirtualComptonFilter } EmcBhabhaScript: L3InputOpen { L3ESequence L3EBhabhaFilter } GammaGammaScript: L3InputOpen { L3DSequence L3ESequence L3TGammaGammaFilter } HadronicAScript: L3InputPhysics { L3DSequence L3THadronicAFilter } HadronicBScript: L3InputPhysics { L3DSequence L3THadronicBFilter } MuPairScript: L3InputPhysics { L3DSequence L3ESequence L3TMuPairFilter } PhiGammaScript: L3InputPhysics { L3DSequence L3ESequence L3TPhiGammaFilter } BoostMonitorScript: L3InputPhysics { L3DSequence L3TBoostMonitor } BoostMonitorCosmicsScript: L3InputPhysics { L3DSequence L3TBoostMonitorCosmics } BoostMonitorUncorrectedScript: L3InputPhysics { L3DSequence L3TBoostMonitorUncorrected } DataflowDamageScript: L3InputOpen { L3TDataflowDamageFilter } RateLimitedDataflowDamageScript: L3InputOpen { L3TDataflowDamageFilter L3TRateLimitingFilter } L1OpenScript: L3InputOpen { } BunchScript: L3InputBunch { } Cyclic1Script: L3InputCyclic1 { } OepInputLines = L3OutDch: prescale=1 enable L3OutEmc: prescale=1 enable L3OutDchEmcPreVeto: prescale=50 enable L3OutDchEmcPreVetoOpr: prescale=1000 enable L3OutBhabha: prescale=1000 enable L3OutBhabhaFlat: prescale=1 enable L3OutBhabhaFlatOpr: prescale=1 enable L3OutRadiativeBhabha: prescale=1 enable L3OutVirtualCompton: prescale=1 enable L3OutEmcBhabha: prescale=1 enable L3OutMuPair: prescale=1 enable L3OutCosmic: prescale=1 enable L3OutLumi: prescale=1000 enable L3OutDiag: prescale=1 enable L3OutGammaGamma: prescale=1 enable L3OutGammaGammaOpr: prescale=2 enable L3OutPhiGamma: prescale=1 enable L3OutDataflowDamage: prescale=1 enable L3OutL1Open: prescale=200 enable L3OutL1OpenOpr: prescale=10000 enable L3OutBunch: prescale=80 enable L3OutBunchOpr: prescale=800 enable L3OutCyclic1: prescale=1 enable L3OutCyclic1Opr: prescale=5 enable L3OutBackground: prescale=1 enable L3OutputLines = L3OutDch: (IP1TrackScript or IP2TrackScript) and !Bhabha1ProngVetoScript and !Bhabha2ProngVetoScript L3OutEmc: (EHighMultiplicityScript or EHighEnergyScript) and !Bhabha1ProngVetoScript and !Bhabha2ProngVetoScript L3OutDchEmcPreVeto: IP1TrackScript or IP2TrackScript or EHighMultiplicityScript or EHighEnergyScript L3OutDchEmcPreVetoOpr: IP1TrackScript or IP2TrackScript or EHighMultiplicityScript or EHighEnergyScript L3OutBhabha: BhabhaScript L3OutRadiativeBhabha: RadiativeBhabhaScript L3OutVirtualCompton: VirtualComptonScript L3OutEmcBhabha: EmcBhabhaScript and !BhabhaScript L3OutMuPair: MuPairScript L3OutCosmic: Cosmic2ProngScript L3OutLumi: OnlineLumiScript L3OutDiag: HadronicAScript or HadronicBScript L3OutGammaGamma: GammaGammaScript L3OutGammaGammaOpr: GammaGammaScript L3OutPhiGamma: PhiGammaScript L3OutDataflowDamage: RateLimitedDataflowDamageScript L3OutL1Open: L1OpenScript L3OutL1OpenOpr: L1OpenScript L3OutBunch: BunchScript L3OutBunchOpr: BunchScript L3OutCyclic1: Cyclic1Script L3OutCyclic1Opr: Cyclic1Script OepPrescaleLines = L3OutBhabhaFlat: L3OutBhabha L3TBinnedPrescaler { 3 [0.9] 3 [1.543] 6 [1.724] 9 [1.905] 12 [2.087] 21 [2.268] 39 [2.500] 39 } # The effective cross section of the flattened Bhabha line, using the # minimal prescales below, is close to 10 nb. This results in 10 Hz # output at 1 x 10^33 cm^-2 s^1. # # Minimal prescales: # { 1 [0.9] 1 [1.543] 2 [1.724] 3 [1.905] 4 [2.087] 7 [2.268] 13 [2.500] 13 } # # The following prescale factors keep the Opr line between 1.0 - 1.5 Hz. # # 0.50 - 0.75 x 10^33 : 5 # 1.00 - 1.50 x 10^33 : 10 # 1.50 - 2.25 x 10^33 : 15 # 2.00 - 3.00 x 10^33 : 20 # 3.00 - 4.50 x 10^33 : 30 # Prescales for Opr: L3OutBhabhaFlat(min) times 30 L3OutBhabhaFlatOpr: L3OutBhabha L3TBinnedPrescalerOpr { 30 [0.9] 30 [1.543] 60 [1.724] 90 [1.905] 120 [2.087] 210 [2.268] 390 [2.500] 390 } # Weighted prescaler L3OutBackground: L3OutCyclic1 L3OutLumi prescale=300