#include <CTPUnpackingEmulationTool.h>
|
| StatusCode | parseInputFile () |
| | Fill the m_events vector with configuration from an input file.
|
Definition at line 12 of file CTPUnpackingEmulationTool.h.
◆ CTPUnpackingEmulationTool()
| CTPUnpackingEmulationTool::CTPUnpackingEmulationTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ decode()
| StatusCode CTPUnpackingEmulationTool::decode |
( |
const EventContext & | ctx, |
|
|
const ROIB::RoIBResult & | roib, |
|
|
HLT::IDVec & | enabledChains ) const |
|
overridevirtual |
◆ initialize()
| StatusCode CTPUnpackingEmulationTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ isEmulated()
| virtual bool CTPUnpackingEmulationTool::isEmulated |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ parseInputFile()
| StatusCode CTPUnpackingEmulationTool::parseInputFile |
( |
| ) |
|
|
private |
Fill the m_events vector with configuration from an input file.
Definition at line 19 of file CTPUnpackingEmulationTool.cxx.
19 {
23 return StatusCode::FAILURE;
24 }
25
27 while ( std::getline( inputFile, line ) ) {
28 if ( line[0] == '#' ) {continue;}
29 std::istringstream allChains( line );
31 while ( allChains ) {
32 std::string chainName;
33 allChains >> chainName;
34 if ( not chainName.empty() ) {
35 ids.push_back( HLT::Identifier( chainName ).numeric() );
36 }
37 }
38
39 if ( not
ids.empty() ) {
40 m_events.push_back( std::move(ids) );
41 }
42 }
44
46 return StatusCode::SUCCESS;
47}
std::vector< HLT::Identifier > IDVec
◆ passBeforePrescaleSelection()
| StatusCode CTPUnpackingToolBase::passBeforePrescaleSelection |
( |
const ROIB::RoIBResult * | , |
|
|
const std::vector< std::string > & | , |
|
|
bool & | ) const |
|
overridevirtualinherited |
◆ m_ctpToChain
| std::unordered_map<int, HLT::IDVec> CTPUnpackingToolBase::m_ctpToChain |
|
protectedinherited |
◆ m_events
| std::vector<HLT::IDVec> CTPUnpackingEmulationTool::m_events |
|
private |
◆ m_forceEnable
| Gaudi::Property<bool> CTPUnpackingToolBase::m_forceEnable |
|
protectedinherited |
Initial value:{
this, "ForceEnableAllChains", false, "Enables all chains in each event, testing mode"}
Definition at line 48 of file CTPUnpackingToolBase.h.
48 {
49 this, "ForceEnableAllChains", false, "Enables all chains in each event, testing mode"};
◆ m_inputFileName
| Gaudi::Property<std::string> CTPUnpackingEmulationTool::m_inputFileName |
|
private |
Initial value:{
this, "InputFilename", "CTPEmulation.dat", "Fake CTP RoIB input filename"}
Definition at line 28 of file CTPUnpackingEmulationTool.h.
28 {
29 this, "InputFilename", "CTPEmulation.dat", "Fake CTP RoIB input filename"};
◆ m_monTool
| ToolHandle<GenericMonitoringTool> CTPUnpackingToolBase::m_monTool {this, "MonTool", "", "Monitoring tool"} |
|
protectedinherited |
◆ s_CTPIDForUnseededChains
| int CTPUnpackingToolBase::s_CTPIDForUnseededChains = -1 |
|
staticconstexprprotectedinherited |
The documentation for this class was generated from the following files: