A class to handle update timing of static objects of tracking.
More...
#include <TUpdater.h>
|
| | TUpdater () |
| | Constructor.
|
| virtual | ~TUpdater () |
| | Destructor.
|
| void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
| | dumps debug information.
|
| virtual bool | updated (void) const |
| | returns true if an object is updated.
|
| virtual void | update (void) |
| | updates an object.
|
| virtual bool | initialized (void) const |
| | returns true if an object is initialized.
|
| virtual void | initialize (void) |
| | initializes an object.
|
| virtual void | clear (void) |
| | clears an object.
|
| | TUpdater () |
| | Constructor.
|
| virtual | ~TUpdater () |
| | Destructor.
|
| void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
| | dumps debug information.
|
| virtual bool | updated (void) const |
| | returns true if an object is updated.
|
| virtual void | update (void) |
| | updates an object.
|
| virtual bool | initialized (void) const |
| | returns true if an object is initialized.
|
| virtual void | initialize (void) |
| | initializes an object.
|
| virtual void | clear (void) |
| | clears an object.
|
| | TUpdater () |
| | Constructor.
|
| virtual | ~TUpdater () |
| | Destructor.
|
| void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
| | dumps debug information.
|
| virtual bool | updated (void) const |
| | returns true if an object is updated.
|
| virtual void | update (void) |
| | updates an object.
|
| virtual bool | initialized (void) const |
| | returns true if an object is initialized.
|
| virtual void | initialize (void) |
| | initializes an object.
|
| virtual void | clear (void) |
| | clears an object.
|
A class to handle update timing of static objects of tracking.
Definition at line 25 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TUpdater.h.
◆ TUpdater() [1/3]
Constructor.
Definition at line 19 of file TUpdater.cxx.
19: _expN( 0 ), _runN( 0 ), _evtN( 0 ), _init( false ) {}
◆ ~TUpdater() [1/3]
◆ TUpdater() [2/3]
◆ ~TUpdater() [2/3]
| virtual TUpdater::~TUpdater |
( |
| ) |
|
|
virtual |
◆ TUpdater() [3/3]
◆ ~TUpdater() [3/3]
| virtual TUpdater::~TUpdater |
( |
| ) |
|
|
virtual |
◆ clear() [1/3]
| void TUpdater::clear |
( |
void | | ) |
|
|
inlinevirtual |
◆ clear() [2/3]
| virtual void TUpdater::clear |
( |
void | | ) |
|
|
virtual |
◆ clear() [3/3]
| virtual void TUpdater::clear |
( |
void | | ) |
|
|
virtual |
◆ dump() [1/3]
| void TUpdater::dump |
( |
const std::string & | message = std::string( "" ), |
|
|
const std::string & | prefix = std::string( "" ) ) const |
dumps debug information.
Definition at line 23 of file TUpdater.cxx.
23 {
24 std::cout << pre;
25
26 std::cout <<
"updated:" <<
updated();
27 std::cout << ",exp=" << _expN;
28 std::cout << ",run=" << _runN;
29 std::cout << ",evt=" << _evtN;
30 std::cout << std::endl;
31}
virtual bool updated(void) const
returns true if an object is updated.
Referenced by main().
◆ dump() [2/3]
| void TUpdater::dump |
( |
const std::string & | message = std::string(""), |
|
|
const std::string & | prefix = std::string("") ) const |
◆ dump() [3/3]
| void TUpdater::dump |
( |
const std::string & | message = std::string(""), |
|
|
const std::string & | prefix = std::string("") ) const |
◆ initialize() [1/3]
| void TUpdater::initialize |
( |
void | | ) |
|
|
inlinevirtual |
◆ initialize() [2/3]
| virtual void TUpdater::initialize |
( |
void | | ) |
|
|
virtual |
◆ initialize() [3/3]
| virtual void TUpdater::initialize |
( |
void | | ) |
|
|
virtual |
◆ initialized() [1/3]
| bool TUpdater::initialized |
( |
void | | ) |
const |
|
inlinevirtual |
◆ initialized() [2/3]
| virtual bool TUpdater::initialized |
( |
void | | ) |
const |
|
virtual |
returns true if an object is initialized.
◆ initialized() [3/3]
| virtual bool TUpdater::initialized |
( |
void | | ) |
const |
|
virtual |
returns true if an object is initialized.
◆ update() [1/3]
| void TUpdater::update |
( |
void | | ) |
|
|
virtual |
◆ update() [2/3]
| virtual void TUpdater::update |
( |
void | | ) |
|
|
virtual |
◆ update() [3/3]
| virtual void TUpdater::update |
( |
void | | ) |
|
|
virtual |
◆ updated() [1/3]
| bool TUpdater::updated |
( |
void | | ) |
const |
|
virtual |
returns true if an object is updated.
Definition at line 52 of file TUpdater.cxx.
52 {
53
54
55
56
57
58
59
60
61
62
63
64
65
66 if ( _expN == 1 && _runN == 1 && _evtN == 1 ) return true;
67
68 return false;
69}
Referenced by TMDC::badHits(), dump(), and update().
◆ updated() [2/3]
| virtual bool TUpdater::updated |
( |
void | | ) |
const |
|
virtual |
returns true if an object is updated.
◆ updated() [3/3]
| virtual bool TUpdater::updated |
( |
void | | ) |
const |
|
virtual |
returns true if an object is updated.
The documentation for this class was generated from the following files: