ATLAS Offline Software
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Member Functions | Private Slots | Private Attributes | Static Private Attributes | List of all members
VP1MissingEtCollWidget Class Reference

#include <VP1MissingEtCollWidget.h>

Inheritance diagram for VP1MissingEtCollWidget:
Collaboration diagram for VP1MissingEtCollWidget:

Signals

void visibleStdCollectionTypesChanged (const QList< qint32 > &)
 
void visibleStdCollectionsChanged (const QList< VP1StdCollection * > &)
 
void visibleContentsChanged ()
 

Public Member Functions

 VP1MissingEtCollWidget (QWidget *parent=0)
 
virtual ~VP1MissingEtCollWidget ()
 
void clear (bool deleteCollections=true, bool deleteGuiElements=false)
 
void addStateInfo (const VP1CollStates &, bool overwritesExisting=true)
 
void setCollections (const QList< VP1Collection * > &, bool applySavedStates=true)
 
template<class collT >
void setCollections (const QList< collT * > &colls, bool applySavedStates=true)
 
void addCollections (const QList< VP1Collection * > &, bool applySavedStates=true)
 
template<class collT >
void addCollections (const QList< collT * > &colls, bool applySavedStates=true)
 
VP1CollStates states () const
 
const QList< VP1Collection * > & collections () const
 
template<class collT >
QList< collT * > collections () const
 
int appropriateFixedWidth () const
 
QList< qint32 > visibleStdCollectionTypes () const
 
QList< VP1StdCollection * > visibleStdCollections () const
 
void setSystemBasePointer (IVP1System *sys)
 
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
 
IVP1SystemsystemBase () const
 
const QString & helperClassName () const
 

Static Public Member Functions

static bool verbose ()
 
static void warnUndeletedInstances ()
 
static QString str (const QString &s)
 
static QString str (const char *c)
 
static QString str (const bool b)
 
static QString str (const QColor &)
 
static QString str (const SbColor &)
 
static QString str (const VP1Interval &)
 
static QString str (const SbVec2d &)
 
static QString str (const SbVec2f &)
 
static QString str (const SbVec2s &)
 
static QString str (const SbVec3d &)
 
static QString str (const SbVec3f &)
 
static QString str (const SbVec3s &)
 
static QString str (const SbVec4d &)
 
static QString str (const SbVec4f &)
 
static QString str (short int n)
 
static QString str (unsigned short int n)
 
static QString str (long n)
 
static QString str (ulong n)
 
static QString str (int n)
 
static QString str (uint n)
 
static QString str (qlonglong n)
 
static QString str (qulonglong n)
 
static QString str (const double &d)
 
static QString str (const float &f)
 
static QString str (const void *)
 
template<class T >
static QString str (const T *t)
 
template<class T >
static QString str (const QFlags< T > &f)
 
template<class T >
static QString str (const HepGeom::BasicVector3D< T > &t)
 
static QString str (const Amg::Vector3D &t)
 
template<class T >
static QString str (const QList< T > &t)
 

Protected Slots

void possibleChange_visibleStdCollections ()
 

Protected Member Functions

void sortSections (QList< QString > &sections)
 
void setHelperClassName (const QString &n)
 

Static Protected Member Functions

static void ensureFirst (const QString &wildcard, QList< QString > &)
 
static void ensureLast (const QString &wildcard, QList< QString > &)
 

Private Slots

void setShape (bool)
 

Private Attributes

Impm_d
 
QString m_helpername
 
IVP1Systemm_system
 

Static Private Attributes

static const bool s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
 

Detailed Description

Definition at line 23 of file VP1MissingEtCollWidget.h.

Constructor & Destructor Documentation

◆ VP1MissingEtCollWidget()

VP1MissingEtCollWidget::VP1MissingEtCollWidget ( QWidget *  parent = 0)

Definition at line 7 of file VP1MissingEtCollWidget.cxx.

9 
10 }

◆ ~VP1MissingEtCollWidget()

VP1MissingEtCollWidget::~VP1MissingEtCollWidget ( )
virtual

Definition at line 12 of file VP1MissingEtCollWidget.cxx.

12  {
13 
14 }

Member Function Documentation

◆ addCollections() [1/2]

template<class collT >
void VP1CollectionWidget::addCollections ( const QList< collT * > &  colls,
bool  applySavedStates = true 
)
inlineinherited

Definition at line 62 of file VP1CollectionWidget.h.

62  {
63  addCollections(VP1Collection::toBaseCollList(colls), applySavedStates);
64  }

◆ addCollections() [2/2]

void VP1CollectionWidget::addCollections ( const QList< VP1Collection * > &  cols,
bool  applySavedStates = true 
)
inherited

Definition at line 237 of file VP1CollectionWidget.cxx.

238 {
239  messageVerbose("addCollections called with "+str(cols.count())+" new collections");
240 
241  m_d->collections << cols;//FIXME: Test not already there.
242 
244 
245  if (applySavedStates)
247 
249  for (VP1Collection* col : cols) {
250  VP1StdCollection* stdcol = dynamic_cast<VP1StdCollection*>(col);
251  if (stdcol)
252  connect(stdcol,SIGNAL(visibilityChanged(bool)),this,SLOT(possibleChange_visibleStdCollections()));
253  }
254 
255 }

◆ addStateInfo()

void VP1CollectionWidget::addStateInfo ( const VP1CollStates newinfo,
bool  overwritesExisting = true 
)
inherited

Definition at line 289 of file VP1CollectionWidget.cxx.

290 {
292  QMapIterator<QByteArray,QByteArray> it(newinfo);
293  while (it.hasNext()) {
294  it.next();
295  if (!overwritesExisting&&m_d->states.contains(it.key()))
296  continue;
297  m_d->states.insert(it.key(),it.value());
298  }
299  if (overwritesExisting)
301 }

◆ appropriateFixedWidth()

int VP1CollectionWidget::appropriateFixedWidth ( ) const
inherited

Definition at line 276 of file VP1CollectionWidget.cxx.

277 {
278  return m_d->appropriateFixedWidth;
279 }

◆ clear()

void VP1CollectionWidget::clear ( bool  deleteCollections = true,
bool  deleteGuiElements = false 
)
inherited

Definition at line 81 of file VP1CollectionWidget.cxx.

82 {
84  m_d->clearGui(deleteGuiElements);
85  m_d->widgetsFromCollections.clear();
86 
87  if (deleteCollections) {
89  delete col;
90  }
91  m_d->collections.clear();
92 
93  //Fixme: update report-on-width
95 
98 }

◆ collections() [1/2]

const QList< VP1Collection * > & VP1CollectionWidget::collections ( ) const
inherited

Definition at line 61 of file VP1CollectionWidget.cxx.

62 {
63  return m_d->collections;
64 }

◆ collections() [2/2]

template<class collT >
QList<collT*> VP1CollectionWidget::collections ( ) const
inlineinherited

Definition at line 70 of file VP1CollectionWidget.h.

70  {
71  QList<collT*> l;
72  for(VP1Collection*col : collections()) {
73  collT* c = dynamic_cast<collT*>(col);
74  if (c) l << c;
75  }
76  return l;
77  }

◆ ensureFirst()

void VP1CollectionWidget::ensureFirst ( const QString &  wildcard,
QList< QString > &  strs 
)
staticprotectedinherited

Definition at line 361 of file VP1CollectionWidget.cxx.

362 {
363  QRegExp rx(wildcard,Qt::CaseInsensitive,QRegExp::Wildcard);
364  QList<QString> l;
365  for (const QString& str : strs)
366  if (rx.exactMatch(str))
367  l << str;
368  for (const QString& str : l)
369  strs.removeAll(str);
370  for (const QString& str : strs)
371  l << str;
372  strs = l;
373 
374 }

◆ ensureLast()

void VP1CollectionWidget::ensureLast ( const QString &  wildcard,
QList< QString > &  strs 
)
staticprotectedinherited

Definition at line 377 of file VP1CollectionWidget.cxx.

378 {
379  QRegExp rx(wildcard,Qt::CaseInsensitive,QRegExp::Wildcard);
380  QList<QString> l;
381  for(const QString& str : strs)
382  if (rx.exactMatch(str))
383  l << str;
384  for (const QString& str : l)
385  strs.removeAll(str);
386  strs << l;
387 }

◆ helperClassName()

const QString& VP1HelperClassBase::helperClassName ( ) const
inlineinherited

Definition at line 51 of file VP1HelperClassBase.h.

51 { return m_helpername; }

◆ message() [1/3]

void VP1HelperClassBase::message ( const QString &  str) const
inherited

Definition at line 49 of file VP1HelperClassBase.cxx.

50 {
51  if (m_helpername.isEmpty()) {
52  if (m_system)
54  else
55  std::cout<<VP1Msg::prefix_msg()<<" [nameless helper class]: "<<str.toStdString()<<std::endl;
56  } else {
57  if (m_system)
58  m_system->message("["+m_helpername+"] " + str);
59  else
60  std::cout<<VP1Msg::prefix_msg()<<" ["<<m_helpername.toStdString()<<"]: "<<str.toStdString()<<std::endl;
61  }
62 }

◆ message() [2/3]

void VP1HelperClassBase::message ( const QString &  addtostart,
const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 131 of file VP1HelperClassBase.cxx.

132 {
133  if (addtostart.isEmpty()) {
134  message(l,addtoend);
135  return;
136  }
137  if (addtoend.isEmpty()) {
138  for (const QString& s : l)
139  message(addtostart+s);
140  } else {
141  for (const QString& s : l)
142  message(addtostart+s+addtoend);
143  }
144 }

◆ message() [3/3]

void VP1HelperClassBase::message ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 91 of file VP1HelperClassBase.cxx.

92 {
93  if (addtoend.isEmpty()) {
94  for (const QString& s : l)
95  message(s);
96  } else {
97  for (const QString& s : l)
98  message(s+addtoend);
99  }
100 }

◆ messageDebug() [1/3]

void VP1HelperClassBase::messageDebug ( const QString &  str) const
inherited

Definition at line 65 of file VP1HelperClassBase.cxx.

66 {
67  if (!VP1Msg::debug())
68  return;
69  std::string sysstring(m_system ? " in "+m_system->name().toStdString() : std::string(""));
70  if (m_helpername.isEmpty()) {
71  std::cout<<VP1Msg::prefix_debug()<<" [helper"<<sysstring<<"]: "<<str.toStdString()<<std::endl;
72  } else {
73  std::cout<<VP1Msg::prefix_debug()<<" ["<<m_helpername.toStdString()<<sysstring<<"]: "<<str.toStdString()<<std::endl;
74  }
75 }

◆ messageDebug() [2/3]

void VP1HelperClassBase::messageDebug ( const QString &  addtostart,
const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 147 of file VP1HelperClassBase.cxx.

148 {
149  if (!VP1Msg::debug())
150  return;
151  if (addtostart.isEmpty()) {
152  messageDebug(l,addtoend);
153  return;
154  }
155  if (addtoend.isEmpty()) {
156  for (const QString& s : l)
157  messageDebug(addtostart+s);
158  } else {
159  for (const QString& s : l)
160  messageDebug(addtostart+s+addtoend);
161  }
162 }

◆ messageDebug() [3/3]

void VP1HelperClassBase::messageDebug ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 103 of file VP1HelperClassBase.cxx.

104 {
105  if (!VP1Msg::debug())
106  return;
107  if (addtoend.isEmpty()) {
108  for (const QString& s : l)
109  messageDebug(s);
110  } else {
111  for (const QString& s : l)
112  messageDebug(s+addtoend);
113  }
114 }

◆ messageVerbose() [1/3]

void VP1HelperClassBase::messageVerbose ( const QString &  str) const
inherited

Definition at line 78 of file VP1HelperClassBase.cxx.

79 {
80  if (!VP1Msg::verbose())
81  return;
82  std::string sysstring(m_system ? " in "+m_system->name().toStdString() : std::string(""));
83  if (m_helpername.isEmpty()) {
84  std::cout<<VP1Msg::prefix_verbose()<<" [helper"<<sysstring<<"]: "<<str.toStdString()<<std::endl;
85  } else {
86  std::cout<<VP1Msg::prefix_verbose()<<" ["<<m_helpername.toStdString()<<sysstring<<"]: "<<str.toStdString()<<std::endl;
87  }
88 }

◆ messageVerbose() [2/3]

void VP1HelperClassBase::messageVerbose ( const QString &  addtostart,
const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 165 of file VP1HelperClassBase.cxx.

166 {
167  if (!VP1Msg::verbose())
168  return;
169  if (addtostart.isEmpty()) {
170  messageVerbose(l,addtoend);
171  return;
172  }
173  if (addtoend.isEmpty()) {
174  for (const QString& s : l)
175  messageVerbose(addtostart+s);
176  } else {
177  for (const QString& s : l)
178  messageVerbose(addtostart+s+addtoend);
179  }
180 }

◆ messageVerbose() [3/3]

void VP1HelperClassBase::messageVerbose ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 117 of file VP1HelperClassBase.cxx.

118 {
119  if (!VP1Msg::verbose())
120  return;
121  if (addtoend.isEmpty()) {
122  for (const QString& s : l)
123  messageVerbose(s);
124  } else {
125  for (const QString& s : l)
126  messageVerbose(s+addtoend);
127  }
128 }

◆ possibleChange_visibleStdCollections

void VP1CollectionWidget::possibleChange_visibleStdCollections ( )
protectedslotinherited

Definition at line 341 of file VP1CollectionWidget.cxx.

342 {
343  QList<VP1StdCollection*> visstdcols = visibleStdCollections();
344  QList<qint32> vistypes = m_d->visibleStdCollectionTypesFromVisStdCols(visstdcols);
345 
346  if ( m_d->last_visibleStdCollections != visstdcols ) {
347  m_d->last_visibleStdCollections = visstdcols;
348  visibleStdCollectionsChanged(visstdcols);
349  }
350 
351  if ( m_d->last_visibleStdCollectionTypes != vistypes ) {
354  }
355 
356 }

◆ setCollections() [1/2]

template<class collT >
void VP1CollectionWidget::setCollections ( const QList< collT * > &  colls,
bool  applySavedStates = true 
)
inlineinherited

Definition at line 57 of file VP1CollectionWidget.h.

57  {
58  setCollections(VP1Collection::toBaseCollList(colls), applySavedStates);
59  }

◆ setCollections() [2/2]

void VP1CollectionWidget::setCollections ( const QList< VP1Collection * > &  cols,
bool  applySavedStates = true 
)
inherited

Definition at line 258 of file VP1CollectionWidget.cxx.

259 {
260  m_d->collections = cols;
261 
263 
264  if (applySavedStates)
266 
268  for (VP1Collection* col : cols) {
269  VP1StdCollection* stdcol = dynamic_cast<VP1StdCollection*>(col);
270  if (stdcol)
271  connect(stdcol,SIGNAL(visibilityChanged(bool)),this,SLOT(possibleChange_visibleStdCollections()));
272  }
273 }

◆ setHelperClassName()

void VP1HelperClassBase::setHelperClassName ( const QString &  n)
inlineprotectedinherited

Definition at line 59 of file VP1HelperClassBase.h.

59 { m_helpername = n; }

◆ setShape

void VP1MissingEtCollWidget::setShape ( bool  )
privateslot

Definition at line 24 of file VP1MissingEtCollWidget.cxx.

24  {
25 
26 }

◆ setSystemBasePointer()

void VP1HelperClassBase::setSystemBasePointer ( IVP1System sys)
inherited

Definition at line 197 of file VP1HelperClassBase.cxx.

198 {
199  m_system = sys;
200  if (VP1Msg::verbose()){
201  vp1helperclassbase_instanceMap[this] = (m_system?m_system->name():QString(""));
202  }
203 }

◆ sortSections()

void VP1MissingEtCollWidget::sortSections ( QList< QString > &  sections)
protectedvirtual

Reimplemented from VP1CollectionWidget.

Definition at line 17 of file VP1MissingEtCollWidget.cxx.

17  {
18  //Order: standard -> truth -> ... -> calo
19  ensureFirst("*truth*",sections);
20  ensureFirst("*standard*",sections);
21  ensureLast("*calo*",sections);
22 }

◆ states()

VP1CollStates VP1CollectionWidget::states ( ) const
inherited

Definition at line 304 of file VP1CollectionWidget.cxx.

305 {
307  return m_d->states;
308 }

◆ str() [1/30]

static QString VP1String::str ( const Amg::Vector3D t)
inlinestaticinherited

Definition at line 98 of file VP1String.h.

98 { return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ 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

Definition at line 50 of file VP1String.h.

50 { return c; }

◆ str() [4/30]

static QString VP1String::str ( const double &  d)
inlinestaticinherited

Definition at line 81 of file VP1String.h.

81 { return QString::number(d); }

◆ str() [5/30]

static QString VP1String::str ( const float &  f)
inlinestaticinherited

Definition at line 82 of file VP1String.h.

82 { return QString::number(f); }

◆ str() [6/30]

template<class T >
static QString VP1String::str ( const HepGeom::BasicVector3D< T > &  t)
inlinestaticinherited

Definition at line 95 of file VP1String.h.

95 { return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [7/30]

QString VP1String::str ( const QColor &  c)
staticinherited

Definition at line 30 of file VP1String.cxx.

31 {
32  return c.isValid() ? c.name() : "Invalid";
33 }

◆ str() [8/30]

template<class T >
static QString VP1String::str ( const QFlags< T > &  f)
inlinestaticinherited

Definition at line 91 of file VP1String.h.

91 { return "0x"+QString::number(f, 16).toUpper().rightJustified(8,'0'); }

◆ str() [9/30]

template<class T >
static QString VP1String::str ( const QList< T > &  t)
inlinestaticinherited

Definition at line 102 of file VP1String.h.

102 { return "QList of size"+QString::number(t.size()); }

◆ str() [10/30]

static QString VP1String::str ( const QString &  s)
inlinestaticinherited

Definition at line 49 of file VP1String.h.

49 { return s; }

◆ str() [11/30]

QString VP1String::str ( const SbColor &  c)
staticinherited

Definition at line 36 of file VP1String.cxx.

37 {
39 }

◆ str() [12/30]

QString VP1String::str ( const SbVec2d &  v)
staticinherited

Definition at line 61 of file VP1String.cxx.

61 { double x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [13/30]

QString VP1String::str ( const SbVec2f &  v)
staticinherited

Definition at line 62 of file VP1String.cxx.

62 { float x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [14/30]

QString VP1String::str ( const SbVec2s &  v)
staticinherited

Definition at line 63 of file VP1String.cxx.

63 { short x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [15/30]

QString VP1String::str ( const SbVec3d &  v)
staticinherited

Definition at line 64 of file VP1String.cxx.

64 { double x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [16/30]

QString VP1String::str ( const SbVec3f &  v)
staticinherited

Definition at line 65 of file VP1String.cxx.

65 { float x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [17/30]

QString VP1String::str ( const SbVec3s &  v)
staticinherited

Definition at line 66 of file VP1String.cxx.

66 { short x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [18/30]

QString VP1String::str ( const SbVec4d &  v)
staticinherited

Definition at line 67 of file VP1String.cxx.

67 { double x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [19/30]

QString VP1String::str ( const SbVec4f &  v)
staticinherited

Definition at line 68 of file VP1String.cxx.

68 { float x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ 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.

49 {
50  if (p) {
51  std::ostringstream s;
52  s << p;
53  // Explicitly naming QString here avoids a cppcheck warning.
54  return QString (s.str().c_str());
55  } else {
56  return "NULL";
57  }
58 }

◆ str() [22/30]

QString VP1String::str ( const VP1Interval i)
staticinherited

Definition at line 42 of file VP1String.cxx.

43 {
44  return i.toString();
45 }

◆ str() [23/30]

static QString VP1String::str ( int  n)
inlinestaticinherited

Definition at line 77 of file VP1String.h.

77 { return QString::number(n); }

◆ str() [24/30]

static QString VP1String::str ( long  n)
inlinestaticinherited

Definition at line 75 of file VP1String.h.

75 { return QString::number(n); }

◆ str() [25/30]

static QString VP1String::str ( qlonglong  n)
inlinestaticinherited

Definition at line 79 of file VP1String.h.

79 { return QString::number(n); }

◆ str() [26/30]

static QString VP1String::str ( qulonglong  n)
inlinestaticinherited

Definition at line 80 of file VP1String.h.

80 { return QString::number(n); }

◆ str() [27/30]

static QString VP1String::str ( short int  n)
inlinestaticinherited

Definition at line 73 of file VP1String.h.

73 { return QString::number(n); }

◆ str() [28/30]

static QString VP1String::str ( uint  n)
inlinestaticinherited

Definition at line 78 of file VP1String.h.

78 { return QString::number(n); }

◆ str() [29/30]

static QString VP1String::str ( ulong  n)
inlinestaticinherited

Definition at line 76 of file VP1String.h.

76 { return QString::number(n); }

◆ str() [30/30]

static QString VP1String::str ( unsigned short int  n)
inlinestaticinherited

Definition at line 74 of file VP1String.h.

74 { return QString::number(n); }

◆ systemBase()

IVP1System* VP1HelperClassBase::systemBase ( ) const
inlineinherited

Definition at line 50 of file VP1HelperClassBase.h.

50 { return m_system; }

◆ verbose()

static bool VP1HelperClassBase::verbose ( )
inlinestaticinherited

Definition at line 32 of file VP1HelperClassBase.h.

32 { return s_vp1verbose; } // Returns true if env var VP1_VERBOSE_OUTPUT=1

◆ visibleContentsChanged

void VP1CollectionWidget::visibleContentsChanged ( )
signalinherited

◆ visibleStdCollections()

QList< VP1StdCollection * > VP1CollectionWidget::visibleStdCollections ( ) const
inherited

Definition at line 330 of file VP1CollectionWidget.cxx.

331 {
332  QList<VP1StdCollection*> l;
333  for(VP1StdCollection* stdcol : collections<VP1StdCollection>()) {
334  if (stdcol->visible())
335  l << stdcol;
336  }
337  return l;
338 }

◆ visibleStdCollectionsChanged

void VP1CollectionWidget::visibleStdCollectionsChanged ( const QList< VP1StdCollection * > &  )
signalinherited

◆ visibleStdCollectionTypes()

QList< qint32 > VP1CollectionWidget::visibleStdCollectionTypes ( ) const
inherited

Definition at line 324 of file VP1CollectionWidget.cxx.

◆ visibleStdCollectionTypesChanged

void VP1CollectionWidget::visibleStdCollectionTypesChanged ( const QList< qint32 > &  )
signalinherited

◆ warnUndeletedInstances()

void VP1HelperClassBase::warnUndeletedInstances ( )
staticinherited

Definition at line 183 of file VP1HelperClassBase.cxx.

184 {
185  if (vp1helperclassbase_instanceMap.empty())
186  return;
187  std::cout << "WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<" undeleted helper class instances:"<<std::endl;
188 
189  std::map<VP1HelperClassBase*,QString>::iterator it,itE(vp1helperclassbase_instanceMap.end());
190  for (it = vp1helperclassbase_instanceMap.begin();it!=itE;++it) {
191  std::cout << " ==> "<<it->first<<": "<<it->first->m_helpername.toStdString()
192  << (it->second.isEmpty()?QString(""):" (in system "+it->second+")").toStdString()<<std::endl;
193  }
194 }

Member Data Documentation

◆ m_d

Imp* VP1CollectionWidget::m_d
privateinherited

Definition at line 103 of file VP1CollectionWidget.h.

◆ m_helpername

QString VP1HelperClassBase::m_helpername
privateinherited

Definition at line 67 of file VP1HelperClassBase.h.

◆ m_system

IVP1System* VP1HelperClassBase::m_system
privateinherited

Definition at line 68 of file VP1HelperClassBase.h.

◆ s_vp1verbose

const bool VP1HelperClassBase::s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
staticprivateinherited

Definition at line 69 of file VP1HelperClassBase.h.


The documentation for this class was generated from the following files:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
VP1CollectionWidget::Imp::last_visibleStdCollectionTypes
QList< qint32 > last_visibleStdCollectionTypes
Definition: VP1CollectionWidget.cxx:38
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
VP1CollectionWidget::visibleStdCollectionsChanged
void visibleStdCollectionsChanged(const QList< VP1StdCollection * > &)
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
VP1CollectionWidget::Imp::updateStatesWithCurrentInfo
void updateStatesWithCurrentInfo()
Definition: VP1CollectionWidget.cxx:282
hist_file_dump.d
d
Definition: hist_file_dump.py:137
VP1HelperClassBase::m_helpername
QString m_helpername
Definition: VP1HelperClassBase.h:67
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
VP1Collection::applyStates
static void applyStates(const QList< VP1Collection * > &, const VP1CollStates &)
Definition: VP1Collection.cxx:108
VP1CollectionWidget::Imp::states
VP1CollStates states
Definition: VP1CollectionWidget.cxx:37
VP1HelperClassBase::s_vp1verbose
static const bool s_vp1verbose
Definition: VP1HelperClassBase.h:69
fillPileUpNoiseLumi.connect
string connect
Definition: fillPileUpNoiseLumi.py:70
VP1CollectionWidget::setCollections
void setCollections(const QList< VP1Collection * > &, bool applySavedStates=true)
Definition: VP1CollectionWidget.cxx:258
VP1CollectionWidget::VP1CollectionWidget
VP1CollectionWidget(QWidget *parent=0)
Definition: VP1CollectionWidget.cxx:49
skel.it
it
Definition: skel.GENtoEVGEN.py:396
VP1Msg::debug
static bool debug()
Definition: VP1Msg.h:32
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
VP1HelperClassBase::m_system
IVP1System * m_system
Definition: VP1HelperClassBase.h:68
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
x
#define x
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
VP1HelperClassBase::messageDebug
void messageDebug(const QString &) const
Definition: VP1HelperClassBase.cxx:65
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1CollectionWidget::Imp::repopulateGUIFromCollections
void repopulateGUIFromCollections()
Definition: VP1CollectionWidget.cxx:101
TruthTest.itE
itE
Definition: TruthTest.py:25
VP1CollectionWidget::Imp::visibleStdCollectionTypesFromVisStdCols
QList< qint32 > visibleStdCollectionTypesFromVisStdCols(const QList< VP1StdCollection * > &l) const
Definition: VP1CollectionWidget.cxx:312
HitType::wildcard
@ wildcard
VP1CollectionWidget::ensureLast
static void ensureLast(const QString &wildcard, QList< QString > &)
Definition: VP1CollectionWidget.cxx:377
beamspotnt.cols
list cols
Definition: bin/beamspotnt.py:1114
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
VP1Msg::prefix_msg
static const char * prefix_msg()
Definition: VP1Msg.h:56
lumiFormat.i
int i
Definition: lumiFormat.py:85
z
#define z
beamspotman.n
n
Definition: beamspotman.py:731
VP1CollectionWidget::possibleChange_visibleStdCollections
void possibleChange_visibleStdCollections()
Definition: VP1CollectionWidget.cxx:341
VP1Collection::toBaseCollList
static QList< VP1Collection * > toBaseCollList(const QList< T * > &)
Definition: VP1Collection.h:80
test_pyathena.parent
parent
Definition: test_pyathena.py:15
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
VP1CollectionWidget::Imp::clearGui
void clearGui(bool deleteGuiElements)
Definition: VP1CollectionWidget.cxx:67
hist_file_dump.f
f
Definition: hist_file_dump.py:135
VP1CollectionWidget::m_d
Imp * m_d
Definition: VP1CollectionWidget.h:102
VP1Collection
Definition: VP1Collection.h:31
VP1CollectionWidget::Imp::appropriateFixedWidth
int appropriateFixedWidth
Definition: VP1CollectionWidget.cxx:34
VP1QtInventorUtils::sbcol2qcol
static QColor sbcol2qcol(const SbColor &)
Definition: VP1QtInventorUtils.cxx:1142
python.selection.number
number
Definition: selection.py:20
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
VP1CollectionWidget::visibleStdCollections
QList< VP1StdCollection * > visibleStdCollections() const
Definition: VP1CollectionWidget.cxx:330
VP1Msg::prefix_debug
static const char * prefix_debug()
Definition: VP1Msg.h:57
VP1CollectionWidget::collections
const QList< VP1Collection * > & collections() const
Definition: VP1CollectionWidget.cxx:61
query_example.col
col
Definition: query_example.py:7
VP1CollectionWidget::addCollections
void addCollections(const QList< VP1Collection * > &, bool applySavedStates=true)
Definition: VP1CollectionWidget.cxx:237
python.PyAthena.v
v
Definition: PyAthena.py:154
VP1Msg::prefix_verbose
static const char * prefix_verbose()
Definition: VP1Msg.h:59
y
#define y
VP1CollectionWidget::ensureFirst
static void ensureFirst(const QString &wildcard, QList< QString > &)
Definition: VP1CollectionWidget.cxx:361
VP1CollectionWidget::Imp::widgetsFromCollections
QList< QWidget * > widgetsFromCollections
Definition: VP1CollectionWidget.cxx:35
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
str
Definition: BTagTrackIpAccessor.cxx:11
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
VP1StdCollection
Definition: VP1StdCollection.h:31
VP1CollectionWidget::visibleContentsChanged
void visibleContentsChanged()
python.compressB64.c
def c
Definition: compressB64.py:93
VP1CollectionWidget::visibleStdCollectionTypesChanged
void visibleStdCollectionTypesChanged(const QList< qint32 > &)
VP1CollectionWidget::Imp::last_visibleStdCollections
QList< VP1StdCollection * > last_visibleStdCollections
Definition: VP1CollectionWidget.cxx:39
IVP1System::message
void message(const QString &) const
Definition: IVP1System.cxx:336
VP1CollectionWidget::Imp::collections
QList< VP1Collection * > collections
Definition: VP1CollectionWidget.cxx:36