Skip to content
Snippets Groups Projects
Commit 32bdc4ec authored by Pawel Rybczynski's avatar Pawel Rybczynski Committed by Walter Lampl
Browse files

TRT high thresholds for fast-OR trigger - ATR-28372

TRT high thresholds for fast-OR trigger - ATR-28372
parent c4e983b7
No related branches found
No related tags found
No related merge requests found
......@@ -86,21 +86,21 @@ void TRTDigSettings::defineVariables() {
defineNewVariable("lowThresholdECArgon", &m_lowThresholdECArgon, "Low Threshold end-cap Argon", "eV",CLHEP::eV,50.0,500.0);
defineNewVariable("lowThresholdECKrypton", &m_lowThresholdECKrypton, "Low Threshold end-cap Krypton","eV",CLHEP::eV,50.0,500.0);
// HT Short
defineNewVariable("highThresholdBarShort", &m_highThresholdBarShort, "High Threshold short barrel straws", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdBarShortArgon", &m_highThresholdBarShortArgon, "High Threshold short barrel straws Argon", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdBarShortKrypton",&m_highThresholdBarShortKrypton,"High Threshold short barrel straws Krypton","keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdBarShort", &m_highThresholdBarShort, "High Threshold short barrel straws", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdBarShortArgon", &m_highThresholdBarShortArgon, "High Threshold short barrel straws Argon", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdBarShortKrypton",&m_highThresholdBarShortKrypton,"High Threshold short barrel straws Krypton","keV",CLHEP::keV,0.3,10.0);
// HT Long
defineNewVariable("highThresholdBarLong", &m_highThresholdBarLong, "High Threshold long barrel straws", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdBarLongArgon", &m_highThresholdBarLongArgon, "High Threshold long barrel straws Argon", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdBarLongKrypton",&m_highThresholdBarLongKrypton,"High Threshold long barrel straws Krypton","keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdBarLong", &m_highThresholdBarLong, "High Threshold long barrel straws", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdBarLongArgon", &m_highThresholdBarLongArgon, "High Threshold long barrel straws Argon", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdBarLongKrypton",&m_highThresholdBarLongKrypton,"High Threshold long barrel straws Krypton","keV",CLHEP::keV,0.3,10.0);
// HT EC-A
defineNewVariable("highThresholdECAwheels", &m_highThresholdECAwheels, "High Threshold A type wheels", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdECAwheelsArgon", &m_highThresholdECAwheelsArgon, "High Threshold A type wheels Argon", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdECAwheelsKrypton",&m_highThresholdECAwheelsKrypton,"High Threshold A type wheels Krypton","keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdECAwheels", &m_highThresholdECAwheels, "High Threshold A type wheels", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdECAwheelsArgon", &m_highThresholdECAwheelsArgon, "High Threshold A type wheels Argon", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdECAwheelsKrypton",&m_highThresholdECAwheelsKrypton,"High Threshold A type wheels Krypton","keV",CLHEP::keV,0.3,10.0);
// HT EC-B
defineNewVariable("highThresholdECBwheels", &m_highThresholdECBwheels, "High Threshold B type wheels", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdECBwheelsArgon", &m_highThresholdECBwheelsArgon, "High Threshold B type wheels Argon", "keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdECBwheelsKrypton",&m_highThresholdECBwheelsKrypton,"High Threshold B type wheels Krypton","keV",CLHEP::keV,1.0,10.0);
defineNewVariable("highThresholdECBwheels", &m_highThresholdECBwheels, "High Threshold B type wheels", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdECBwheelsArgon", &m_highThresholdECBwheelsArgon, "High Threshold B type wheels Argon", "keV",CLHEP::keV,0.3,10.0);
defineNewVariable("highThresholdECBwheelsKrypton",&m_highThresholdECBwheelsKrypton,"High Threshold B type wheels Krypton","keV",CLHEP::keV,0.3,10.0);
defineNewVariable("innerRadiusOfStraw",&m_innerRadiusOfStraw,"Inner radius of straw","mm",CLHEP::mm,1.0,3.0); // 2.0 mm
defineNewVariable("outerRadiusOfWire",&m_outerRadiusOfWire,"Outer radius of wire","micrometer",CLHEP::micrometer,5.0,40.0); // 0.0155 mm
......
......@@ -10,4 +10,5 @@ atlas_add_component( TrigT1TRT
LINK_LIBRARIES AthenaBaseComps GaudiKernel InDetRawData TRT_ConditionsServicesLib TRT_ReadoutGeometry TrigConfInterfaces TrigConfL1Data TrigT1Interfaces )
# Install files from the package:
atlas_install_joboptions( share/*.py )
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
#########################################################
# #
# TRT_Digitization/postInclude.OverrideTRTparameters.py #
# #
# Overrride default settings in TRTDigSettings.cxx #
# #
# This is not a full list, just the parameters likely #
# to be used in basic tuning... #
# #
# For a full list of overrridable parameters #
# and a list of setttings used in the job: #
# #
# grep TRTDigSettings <job output> #
# #
#########################################################
from AthenaCommon.AlgSequence import AlgSequence
job = AlgSequence()
from Digitization.DigitizationFlags import digitizationFlags
trt = None
if not digitizationFlags.doXingByXingPileUp() and hasattr(job, 'TRTDigitization'):
#Back-compatibility for 17.X.Y.Z releases
if hasattr(job.TRTDigitization, 'DigitizationTool'):
trt = job.TRTDigitization.DigitizationTool
else:
trt = job.TRTDigitization
else:
from AthenaCommon.CfgGetter import getPublicTool
trt = getPublicTool("TRTDigitizationTool")
if None == trt:
raise AttributeError("TRTDigitization(Tool) not found.")
# Units are CLHEP: MeV, ns, mm
# Xenon threshold tunes
trt.Override_highThresholdBarShort = 0.005195/3.841
trt.Override_highThresholdBarLong = 0.004751/3.841
trt.Override_highThresholdECAwheels = 0.005513/3.841
trt.Override_highThresholdECBwheels = 0.005326/3.841
# Argon thresholds (July 2014 tuning from Artem) TRT_Digitization-01-00-09
trt.Override_highThresholdBarShortArgon = 0.002607/3.841
trt.Override_highThresholdBarLongArgon = 0.002540/3.841
trt.Override_highThresholdECAwheelsArgon = 0.002414/3.841
trt.Override_highThresholdECBwheelsArgon = 0.002295/3.841
# Krypton thresholds
trt.Override_highThresholdBarShortKrypton = 0.003070/3.841
trt.Override_highThresholdBarLongKrypton = 0.002900/3.841
trt.Override_highThresholdECAwheelsKrypton = 0.003150/3.841
trt.Override_highThresholdECBwheelsKrypton = 0.003020/3.841
......@@ -199,10 +199,8 @@ namespace LVL1 {
return StatusCode::FAILURE;
}
if ((p_lolum)->trailingEdge() - (p_lolum)->driftTimeBin() > 4 ) {
if ( (p_lolum)->highLevel() ) {
barrel_trigger_board[side][phi_module][board]++;
}
if ( (p_lolum)->highLevel() ) {
barrel_trigger_board[side][phi_module][board]++;
}
}
......@@ -213,10 +211,8 @@ namespace LVL1 {
chip = m_mat_chip_endcap[phi_module][strawNumber];
board = EndcapChipToBoard(chip);
if ((p_lolum)->trailingEdge() - (p_lolum)->driftTimeBin() > 4 ) {
if ( (p_lolum)->highLevel() ) {
endcap_trigger_board[side][phi_module][board]++;
}
if ( (p_lolum)->highLevel() ) {
endcap_trigger_board[side][phi_module][board]++;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment