Skip to content
Snippets Groups Projects
Commit 22692e1e authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'cherry-pick-b9ff42ca80-master' into 'master'

Sweeping !4567 from 21.0 to master.
BunchCrossingTool Run 2 Defaults Update, 21.0 branch, (2017.09.11.)

See merge request !4596
parents 0a4f9fe2 c898a9a0
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ namespace Trig {
m_bunchTrains() {
/// Declare the properties of the tool:
declareProperty( "MaxBunchSpacing", m_maxBunchSpacing = 150 );
declareProperty( "MaxBunchSpacing", m_maxBunchSpacing = 75 );
declareProperty( "FrontLength", m_frontLength = 300 );
declareProperty( "TailLength", m_tailLength = 300 );
}
......
......@@ -120,7 +120,7 @@ def TrigConfBunchCrossingTool():
__tool = Trig__TrigConfBunchCrossingTool( __defaultToolName )
# Create a default configuration for it:
__tool.MaxBunchSpacing = 150
__tool.MaxBunchSpacing = 75
__tool.FrontLength = 300
__tool.TailLength = 300
# __tool.FilledBunchNames = [ "Paired", "Filled" ]
......@@ -187,7 +187,7 @@ def MCBunchCrossingTool():
__tool = Trig__MCBunchCrossingTool( __defaultToolName )
# Create a default configuration for it:
__tool.MaxBunchSpacing = 150
__tool.MaxBunchSpacing = 75
__tool.FrontLength = 300
__tool.TailLength = 300
__tool.MinBunchIntensity = 0.1
......@@ -252,7 +252,7 @@ def LHCBunchCrossingTool():
__tool = Trig__LHCBunchCrossingTool( __defaultToolName )
# Create a default configuration for it:
__tool.MaxBunchSpacing = 150
__tool.MaxBunchSpacing = 75
__tool.FrontLength = 300
__tool.TailLength = 300
__tool.IntensityChannel = 1
......@@ -309,7 +309,7 @@ def WebBunchCrossingTool():
__tool = Trig__WebBunchCrossingTool( __defaultToolName )
# Create a default configuration for it:
__tool.MaxBunchSpacing = 150
__tool.MaxBunchSpacing = 75
__tool.FrontLength = 300
__tool.TailLength = 300
__logger.info( "Set the default values for the WebBunchCrossingTool configuration" )
......@@ -350,7 +350,7 @@ def StaticBunchCrossingTool():
__tool = Trig__StaticBunchCrossingTool( __defaultToolName )
# Create a default configuration for it:
__tool.MaxBunchSpacing = 150
__tool.MaxBunchSpacing = 75
__tool.FrontLength = 300
__tool.TailLength = 300
......@@ -388,7 +388,7 @@ def D3PDBunchCrossingTool():
__tool = Trig__D3PDBunchCrossingTool( __defaultToolName )
# Create a default configuration for it:
__tool.MaxBunchSpacing = 150
__tool.MaxBunchSpacing = 75
__tool.FrontLength = 300
__tool.TailLength = 300
......
......@@ -35,6 +35,7 @@ int main() {
// Create the tool to be tested:
Trig::StaticBunchCrossingTool tool;
SIMPLE_CHECK( tool.setProperty( "OutputLevel", MSG::DEBUG ) );
SIMPLE_CHECK( tool.setProperty( "MaxBunchSpacing", 150 ) );
// Try to load some configurations:
SIMPLE_CHECK( tool.loadConfig( 1 ) );
......
......@@ -43,6 +43,7 @@ int main() {
SIMPLE_CHECK( tool.setProperty( "OutputLevel", MSG::DEBUG ) );
SIMPLE_CHECK( tool.setProperty( "ServerAddress",
"atlas-trigconf.cern.ch" ) );
SIMPLE_CHECK( tool.setProperty( "MaxBunchSpacing", 150 ) );
// Try to load some configurations by key:
SIMPLE_CHECK( tool.loadConfig( 104 ) );
......
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