Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <VP1TriggerDecisionSystem.h>
|
| VP1TriggerDecisionSystem () |
|
virtual | ~VP1TriggerDecisionSystem () |
|
void | create (StoreGateSvc *detstore) |
|
void | refresh (StoreGateSvc *storegate) |
|
void | erase () |
|
QStringList | getInfoForEntry (QString key, QString type) |
|
void | getInfo (const std::string &key, const std::string &, std::ostringstream &os) |
|
const QString & | name () const |
|
const QString & | information () const |
|
const QString & | contact_info () const |
|
QWidget * | controllerWidget () |
|
virtual QByteArray | saveState () |
|
virtual void | restoreFromState (QByteArray) |
|
void | message (const QString &) const |
|
void | message (const QStringList &, const QString &addtoend="") const |
|
void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &) const |
|
void | messageDebug (const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &) const |
|
void | messageVerbose (const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | updateGUI () |
|
StoreGateSvc * | storeGate () const |
|
StoreGateSvc * | eventStore () const |
|
StoreGateSvc * | detectorStore () const |
|
ISvcLocator * | serviceLocator () const |
|
IToolSvc * | toolSvc () const |
|
State | state () const |
|
ActiveState | activeState () const |
|
Definition at line 21 of file VP1TriggerDecisionSystem.h.
◆ ActiveState
◆ State
Enumerator |
---|
CONSTRUCTED | |
REFRESHED | |
ERASED | |
UNCREATED | |
Definition at line 143 of file IVP1System.h.
◆ VP1TriggerDecisionSystem()
VP1TriggerDecisionSystem::VP1TriggerDecisionSystem |
( |
| ) |
|
Definition at line 39 of file VP1TriggerDecisionSystem.cxx.
41 "System for browsing the Trigger Decison [unmaintained]",
42 "Weiyi Zhang, wyizhang@cern.ch, Riccardo.Maria.BIANCHI@cern.ch"),
◆ ~VP1TriggerDecisionSystem()
virtual VP1TriggerDecisionSystem::~VP1TriggerDecisionSystem |
( |
| ) |
|
|
inlinevirtual |
◆ activeState()
◆ allowUpdateGUI()
void IVP1System::allowUpdateGUI |
( |
| ) |
|
|
privateinherited |
◆ channel()
◆ contact_info()
const QString & IVP1System::contact_info |
( |
| ) |
const |
|
inherited |
◆ controllerWidget()
QWidget * IVP1System::controllerWidget |
( |
| ) |
|
|
inherited |
◆ create()
void VP1TriggerDecisionSystem::create |
( |
StoreGateSvc * |
detstore | ) |
|
|
virtual |
◆ deleteController()
void IVP1System::deleteController |
( |
| ) |
|
|
privateinherited |
◆ detectorStore()
◆ disallowUpdateGUI()
void IVP1System::disallowUpdateGUI |
( |
| ) |
|
|
privateinherited |
◆ entriesChanged
void VP1TriggerDecisionSystem::entriesChanged |
( |
const QStringList & |
entry_key, |
|
|
const QStringList & |
entry_type |
|
) |
| |
|
signal |
◆ erase()
void VP1TriggerDecisionSystem::erase |
( |
| ) |
|
|
virtual |
◆ eventStore()
◆ getInfo()
void VP1TriggerDecisionSystem::getInfo |
( |
const std::string & |
key, |
|
|
const std::string & |
, |
|
|
std::ostringstream & |
os |
|
) |
| |
◆ getInfoForEntry()
QStringList VP1TriggerDecisionSystem::getInfoForEntry |
( |
QString |
key, |
|
|
QString |
type |
|
) |
| |
Definition at line 122 of file VP1TriggerDecisionSystem.cxx.
125 return QStringList();
127 std::ostringstream
os;
131 catch (std::runtime_error &
e) {
132 os <<
"Exception thrown when getting info for key="<<
key.toStdString()<<
" of type="<<
type.toStdString();
133 os <<
"Exception: " <<
e.what() << std::endl;
136 return QString(
os.str().c_str()).split(
"\n");
◆ inactiveSystemTurnedActive
void IVP1System::inactiveSystemTurnedActive |
( |
| ) |
|
|
signalinherited |
◆ information()
const QString & IVP1System::information |
( |
| ) |
const |
|
inherited |
◆ isRefreshing()
bool IVP1System::isRefreshing |
( |
| ) |
|
|
privateinherited |
◆ message() [1/3]
void IVP1System::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void IVP1System::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 400 of file IVP1System.cxx.
402 if (addtostart.isEmpty()) {
406 if (addtoend.isEmpty()) {
407 for (
const QString&
s :
l)
410 for (
const QString&
s :
l)
◆ message() [3/3]
void IVP1System::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 362 of file IVP1System.cxx.
364 if (addtoend.isEmpty()) {
365 for (
const QString&
s :
l)
368 for (
const QString&
s :
l)
◆ messageDebug() [1/3]
void IVP1System::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void IVP1System::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 416 of file IVP1System.cxx.
418 if (addtostart.isEmpty()) {
422 if (addtoend.isEmpty()) {
423 for (
const QString&
s :
l)
426 for (
const QString&
s :
l)
◆ messageDebug() [3/3]
void IVP1System::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 374 of file IVP1System.cxx.
376 if (addtoend.isEmpty()) {
377 for (
const QString&
s :
l)
380 for (
const QString&
s :
l)
◆ messageVerbose() [1/3]
void IVP1System::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void IVP1System::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 432 of file IVP1System.cxx.
436 if (addtostart.isEmpty()) {
440 if (addtoend.isEmpty()) {
441 for (
const QString&
s :
l)
444 for (
const QString&
s :
l)
◆ messageVerbose() [3/3]
void IVP1System::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 386 of file IVP1System.cxx.
390 if (addtoend.isEmpty()) {
391 for (
const QString&
s :
l)
394 for (
const QString&
s :
l)
◆ name()
const QString & IVP1System::name |
( |
| ) |
const |
|
inherited |
◆ needErase
void IVP1System::needErase |
( |
| ) |
|
|
signalinherited |
◆ refresh()
void VP1TriggerDecisionSystem::refresh |
( |
StoreGateSvc * |
storegate | ) |
|
|
virtual |
Implements IVP1System.
Definition at line 58 of file VP1TriggerDecisionSystem.cxx.
60 QStringList entry_key;
61 QStringList entry_type;
64 std::vector<std::string> l1triggers =
m_clock->
m_trigDec->getListOfTriggers(
"L1_.*");
65 if(!l1triggers.empty()) {
66 for (std::vector<std::string>::const_iterator aItemName = l1triggers.begin(); aItemName != l1triggers.end(); ++aItemName) {
67 if((*aItemName!=
"") && (*aItemName!=
" ")) {
68 std::ostringstream os1; os1 << *aItemName; entry_key << os1.str().c_str();
75 message(
"WARNING:: The TriggerDecision Tool is not configured well for Level 1.");
76 message(
"WARNING:: You may need a configure file (usually 'LVL1Config.xml').");
77 message(
"WARNING:: Please refer to 'vp1 -h' for further instructions.");
80 std::vector<std::string> l2triggers =
m_clock->
m_trigDec->getListOfTriggers(
"L2_.*");
81 if(!l2triggers.empty()){
83 for (std::vector<std::string>::const_iterator aChainName = l2triggers.begin(); aChainName != l2triggers.end(); ++aChainName) {
84 if((*aChainName!=
" ") && (*aChainName!=
"")) {
85 std::ostringstream os1; os1 << *aChainName; entry_key << os1.str().c_str();
92 message(
"WARNING:: The TriggerDecision Tool is not configured well for Level 2.");
93 message(
"WARNING:: You may need a configure file (usually 'pureSteering_menu.xml').");
94 message(
"WARNING:: Please refer to 'vp1 -h' for further instructions.");
97 std::vector<std::string> eftriggers =
m_clock->
m_trigDec->getListOfTriggers(
"EF_.*");
98 if(!eftriggers.empty()) {
99 for (std::vector<std::string>::const_iterator aChainName = eftriggers.begin(); aChainName != eftriggers.end(); ++aChainName) {
100 if((*aChainName!=
" ") && (*aChainName!=
"")) {
101 std::ostringstream os1; os1 << *aChainName; entry_key << os1.str().c_str();
108 message(
"WARNING:: The TriggerDecision Tool is not configured well for Event Filter.");
109 message(
"WARNING:: You may need a configure file (usually 'pureSteering_menu.xml').");
110 message(
"WARNING:: Please refer to 'vp1 -h' for further instruction.");
◆ registerController()
void IVP1System::registerController |
( |
QWidget * |
w | ) |
|
|
protectedinherited |
Definition at line 224 of file IVP1System.cxx.
231 messageVerbose(
"registerController w!=0 = "+QString(
w!=0?
"true":
"false"));
234 message(
"ERROR: Please don't register controllers after create().");
236 message(
"ERROR: Please only register controllers in CONSTRUCTED state.");
238 message(
"ERROR: Attempt to register null controller.");
242 message(
"ERROR: Attempt to register controller twice.");
◆ restoreFromState()
void IVP1System::restoreFromState |
( |
QByteArray |
ba | ) |
|
|
virtualinherited |
Reimplemented in VP1GeometrySystem, VP1TrackSystem, VP1PrepRawDataSystem, VP1AODSystem, VP1MCSystem, VP1RawDataSystem, VP1PartSpectSystem, VP1BanksSystem, VP1CaloClusterSystem, VP1TrackingGeometrySystem, VP1GuideLineSystem, VP1CaloReadoutSystem, VP1CaloHitLegoSystem, VP1CaloLegoSystem, VP1MissingEtSystem, VP1HVLegoSystem, VP1VertexSystem, VP1CaloCellSystem, and VP1ExtraInputSystem.
Definition at line 302 of file IVP1System.cxx.
308 message(
"Error in IVP1System::restoreFromState: Received non-empty saved state.");
◆ saveState()
QByteArray IVP1System::saveState |
( |
| ) |
|
|
virtualinherited |
Reimplemented in VP1GeometrySystem, VP1TrackingGeometrySystem, VP1TrackSystem, VP1PrepRawDataSystem, VP1AODSystem, VP1GuideLineSystem, VP1CaloReadoutSystem, VP1MCSystem, VP1CaloHitLegoSystem, VP1CaloLegoSystem, VP1RawDataSystem, VP1PartSpectSystem, VP1BanksSystem, VP1CaloClusterSystem, VP1MissingEtSystem, VP1HVLegoSystem, VP1VertexSystem, VP1CaloCellSystem, and VP1ExtraInputSystem.
Definition at line 294 of file IVP1System.cxx.
◆ serviceLocator()
ISvcLocator * IVP1System::serviceLocator |
( |
| ) |
const |
|
inherited |
◆ setActiveState()
◆ setCanRegisterController()
void IVP1System::setCanRegisterController |
( |
const bool & |
c | ) |
|
|
privateinherited |
◆ setChannel()
◆ setRefreshing()
void IVP1System::setRefreshing |
( |
const bool & |
b | ) |
|
|
privateinherited |
◆ setState()
◆ state()
◆ storeGate()
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ sysmessage
void IVP1System::sysmessage |
( |
QString |
| ) |
const |
|
signalinherited |
◆ toolSvc()
IToolSvc * IVP1System::toolSvc |
( |
| ) |
const |
|
inherited |
◆ uncreate()
void IVP1System::uncreate |
( |
| ) |
|
|
protectedvirtualinherited |
◆ updateGUI()
void IVP1System::updateGUI |
( |
| ) |
|
|
inherited |
◆ verbose()
static bool IVP1System::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ m_clock
◆ m_d
◆ s_vp1verbose
The documentation for this class was generated from the following files:
const QString contact_info
ToolHandle< Trig::TrigDecisionTool > m_trigDec
void inactiveSystemTurnedActive()
static QString str(const QString &s)
VP1TriggerDecisionSystem * theclass
static const bool s_vp1verbose
void getInfo(const std::string &key, const std::string &, std::ostringstream &os)
static const char * prefix_msg()
const QString information
::StatusCode StatusCode
StatusCode definition for legacy code.
StoreGateSvc * eventStore() const
void sysmessage(QString) const
static ISvcLocator * serviceLocator()
static StoreGateSvc * eventStore()
static QColor sbcol2qcol(const SbColor &)
void messageDebug(const QString &) const
static IToolSvc * toolSvc()
static const char * prefix_debug()
static const char * prefix_verbose()
void entriesChanged(const QStringList &entry_key, const QStringList &entry_type)
IVP1ChannelWidget * channel
bool canregistercontroller
static StoreGateSvc * detectorStore()
IVP1System(const QString &name, const QString &information, const QString &contact_info)
void message(const QString &) const
void messageVerbose(const QString &) const