AlgTool base class for all TIP writers Implements common TIP-handling operations and checks.
More...
#include <TIPWriterAlgTool.h>
AlgTool base class for all TIP writers Implements common TIP-handling operations and checks.
Definition at line 22 of file TIPWriterAlgTool.h.
◆ TIPWriterAlgTool()
| GlobalSim::TIPWriterAlgTool::TIPWriterAlgTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ ~TIPWriterAlgTool()
| virtual GlobalSim::TIPWriterAlgTool::~TIPWriterAlgTool |
( |
| ) |
|
|
overridevirtualdefault |
◆ countPassingTOBs()
| virtual StatusCode GlobalSim::TIPWriterAlgTool::countPassingTOBs |
( |
const EventContext & | , |
|
|
unsigned int & | ) const |
|
pure virtual |
◆ getFullTIPWord()
| TIPword GlobalSim::TIPWriterAlgTool::getFullTIPWord |
( |
| ) |
const |
|
override |
Definition at line 56 of file TIPWriterAlgTool.cxx.
56 {
59 return word;
60 }
std::bitset< ITIPWriterAlgTool::s_nbits_TIP > TIPword
◆ initialize()
| StatusCode GlobalSim::TIPWriterAlgTool::initialize |
( |
| ) |
|
|
overridevirtual |
Initialize function running before first event.
Definition at line 20 of file TIPWriterAlgTool.cxx.
20 {
21
22 unsigned int max_tip_pos = s_nbits_TIP -
m_TIP_width;
23
26 return StatusCode::FAILURE;
27 }
28
34
35 return StatusCode::SUCCESS;
36 }
#define ATH_MSG_VERBOSE(x)
◆ updateTIP()
| StatusCode GlobalSim::TIPWriterAlgTool::updateTIP |
( |
std::bitset< s_nbits_TIP > & | word, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
Definition at line 39 of file TIPWriterAlgTool.cxx.
41 {
42
43 unsigned int N_pass_tobs{0};
46
47 auto count_bits = std::bitset<s_nbits_TIP>(N_pass_tobs);
49
51
52 return StatusCode::SUCCESS;
53 }
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ m_maxtob
| ulong GlobalSim::TIPWriterAlgTool::m_maxtob {0} |
|
protected |
◆ m_TIP_position
| Gaudi::Property<unsigned int> GlobalSim::TIPWriterAlgTool::m_TIP_position |
|
protected |
Initial value:{
this,
"TIPposition",
0,
"start position to write into the TIP"}
Definition at line 44 of file TIPWriterAlgTool.h.
44 {
45 this,
46 "TIPposition",
47 0,
48 "start position to write into the TIP"};
◆ m_TIP_width
| Gaudi::Property<unsigned int> GlobalSim::TIPWriterAlgTool::m_TIP_width |
|
protected |
Initial value:{
this,
"TIPwidth",
1,
"number of bits to write into the TIP"}
Definition at line 50 of file TIPWriterAlgTool.h.
50 {
51 this,
52 "TIPwidth",
53 1,
54 "number of bits to write into the TIP"};
The documentation for this class was generated from the following files: