Skip to content

Commit

Permalink
Change default trigger thresholds (#1469)
Browse files Browse the repository at this point in the history
* added optimized 8 GeV trigger thresholds

* Directly write 4 GeV thresholds

Co-authored-by: Tamas Vami <tamas.almos.vami@cern.ch>

* Make thresholds floats in simpleTrigger

* Use the correct numbers for 4 GeV case

* added Megan's 4GeV thresholds

---------

Co-authored-by: Tamas Vami <tamas.almos.vami@cern.ch>
  • Loading branch information
EBerzin and tvami authored Sep 27, 2024
1 parent 96c5adf commit 6199947
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Recon/python/simpleTrigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def __init__(self, name, beamEnergy) :
super().__init__(name,'recon::TriggerProcessor','Recon')

self.beamEnergy = beamEnergy
self.thresholds = [ self.beamEnergy/4000.*1500.0, self.beamEnergy/4000.*1000. + self.beamEnergy, self.beamEnergy/4000.*500. + 2*self.beamEnergy, self.beamEnergy/4000.*100. + 3*self.beamEnergy ]
if (self.beamEnergy == 4000.):
self.thresholds = [ 1500., 5000., 8200., 11800. ]
else:
self.thresholds = [ 3000., 10790., 18540., 26250. ]
self.mode = 0
self.start_layer = 0
self.end_layer = 20
Expand Down

0 comments on commit 6199947

Please sign in to comment.