Skip to content
Snippets Groups Projects
Commit fde4ae92 authored by Ruth Pottgen's avatar Ruth Pottgen
Browse files

Merge branch '21.0_StoppedFirstEmptySim' into '21.0'

Adding collision mode for ComTimeRec

See merge request atlas/athena!30121
parents 635e7def 01e686db
No related branches found
No related tags found
No related merge requests found
...@@ -197,6 +197,12 @@ StatusCode ComTimeRec::execute() ...@@ -197,6 +197,12 @@ StatusCode ComTimeRec::execute()
ComTime *theComTime = new ComTime(); ComTime *theComTime = new ComTime();
CHECK( evtStore()->record(theComTime, m_comTimeKey) ); CHECK( evtStore()->record(theComTime, m_comTimeKey) );
} }
} else if(m_mode == "CollisionMode" ) {
// Using cosmic reco during collisions. Fire on BCIDs.
// Just provide a default ComTime object.
ComTime *theComTime = new ComTime();
CHECK( evtStore()->record(theComTime, m_comTimeKey) );
return StatusCode::SUCCESS;
} else { } else {
ATH_MSG_FATAL( "Invalid mode = " << m_mode ); ATH_MSG_FATAL( "Invalid mode = " << m_mode );
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
......
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