ATLAS Offline Software
AODCollHandleBase.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Implementation of class AODCollHandleBase //
9 // //
10 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11 // Initial version: February 2008 //
12 // //
14 
15 //Local includes
16 #include "AODHandleBase.h"
17 #include "AODCollHandleBase.h"
18 
21 #include "AODSysCommonData.h"
22 
23 //VP1 base includes
26 #include "VP1Base/IVP13DSystem.h"
28 #include "VP1Base/VP1Serialise.h"
29 #include "VP1Base/VP1Deserialise.h"
30 #include "VP1Base/VP1Msg.h"
31 
32 //SoCoin
33 #include <Inventor/nodes/SoSeparator.h>
34 #include <Inventor/nodes/SoMaterial.h>
35 #include <Inventor/nodes/SoSwitch.h>
36 #include "Inventor/nodes/SoDrawStyle.h"
37 #include "Inventor/nodes/SoLightModel.h"
38 
39 //Athena
42 
43 //Qt
44 #include <QComboBox>
45 #include <QTreeWidgetItem>
46 #include <qdatetime.h>
47 #include <vector>
48 #include <QString>
49 #include <QElapsedTimer>
50 
51 //____________________________________________________________________
53 public:
55  QString name;
56 
57  //Extra widgets:
58  QTreeWidgetItem* objBrowseTree = nullptr;
59 
60  // N.B. Material button defined in children.
61 };
62 
63 
64 
65 //____________________________________________________________________
67  //AODCollHandleBase::AODCollHandleBase( AODSysCommonData * cd, const QString& name)
68  : VP1StdCollection(cd->system(),"AODCollHandleBase_FIXME_"+name), m_dbase(new Imp), // Need to add back ObjectType once simple way to create string is added to xAODBase
69  m_nshownhandles(0),
70  m_type(type),
71  m_commonData(cd),
72  m_sephelper(0)
73 {
74  m_dbase->theclass = this;
75  m_dbase->name = name;
77 }
78 
79 // //____________________________________________________________________
80 // void AODCollHandleBase::init(VP1MaterialButtonBase*)
81 // {
82 // // m_dbase->matButton = new TrackCollectionSettingsButton;
83 // // m_dbase->matButton->setText(text());
84 // // VP1StdCollection::init(m_dbase->matButton);//this call is required. Passing in TrackCollectionSettingsButton means we have the more complex button.
85 // VP1StdCollection::init();//FIXME
86 // setupSettingsFromController(common()->controller());
87 // connect(this,SIGNAL(visibilityChanged(bool)),this,SLOT(collVisibilityChanged(bool)));
88 //
89 // // collSwitch()->addChild(m_dbase->matButton->trackDrawStyle());
90 // }
91 
92 //____________________________________________________________________
94 {
95  messageVerbose("destructor start");
96 
97 
98  // delete the Imp instance
99  delete m_dbase;
100 
101  if (m_sephelper) {
102  SoSeparator * sep = m_sephelper->topSeparator();
103  sep->ref();
104  delete m_sephelper;
105  sep->unref();
106  }
107 
108  messageVerbose("destructor end");
109 }
110 
111 //____________________________________________________________________
113 {
114  messageVerbose("setupSettingsFromController start");
115  if (!controller) {
116  message("Not properly initialized: controller pointer is zero.");
117  return;
118  }
119 
121  // connect(common()->system(),SIGNAL(newHandleSelected( const AODHandleBase&)),this,SLOT(handleSelectionChanged()));
123 
124  largeChangesEnd();
125  messageVerbose("setupSettingsFromController end");
126 }
127 
128 
129 //____________________________________________________________________
130 QString AODCollHandleBase::name() const
131 {
132  return m_dbase->name;
133 }
134 
135 
136 //____________________________________________________________________
138 {
139  messageVerbose("AODCollHandleBase::recheckCutStatus() & visible="+str(visible()));
140  handle->setVisible( visible() && cut(handle));
141 }
142 
143 //____________________________________________________________________
145 {
146  messageVerbose("AODCollHandleBase::recheckCutStatusOfAllVisibleHandles");
147 
148  if (!isLoaded())
149  return;
150 
151  //This method is called when a cut is tightened - thus we better start by deselectAll to avoid weird highlighting issues.
152  common()->system()->deselectAll();
153 
156  AODHandleBase* handle=0;
157  while ((handle=getNextHandle()))
158  {
159  if (handle->visible())
160  recheckCutStatus(handle);
161  }
162  // handle=getNextHandle();
163  // recheckCutStatus(handle);
164 
165  // std::vector<AODHandleBase*>::iterator it(m_dbase->handles.begin()),itE(m_dbase->handles.end());
166  // for (;it!=itE;++it) {
167  // if ((*it)->visible())
168  // recheckCutStatus(*it);
169  // }
171  largeChangesEnd();
172 
173  message("recheckCutStatusOfAllVisibleHandles: "+str(nShownHandles())+"/"+str(getHandlesList().count())+" pass cuts");
174 }
175 
176 //____________________________________________________________________
178 {
179  messageVerbose("AODCollHandleBase::recheckCutStatusOfAllNotVisibleHandles");
180 
181  if (!isLoaded()){
182  messageVerbose("AODCollHandleBase::recheckCutStatusOfAllNotVisibleHandles - not yet loaded. Aborting.");
183  return;
184  }
185 
187  AODHandleBase* handle=0;
188  // unsigned int i=0;
190  while ((handle=getNextHandle()))
191  {
192  // std::cout<<"Looking at handle "<<++i<<" with visible="<<handle->visible()<<std::endl;
193  if (!handle->visible())
194  recheckCutStatus(handle);
195  }
197  largeChangesEnd();
198 
199  message("recheckCutStatusOfAllNotVisibleHandles: "+str(nShownHandles())+"/"+str(getHandlesList().count())+" pass cuts");
200 }
201 
202 //____________________________________________________________________
204 {
205  messageVerbose("AODCollHandleBase::recheckCutStatusOfAllHandles()");
206  if (!isLoaded())
207  return;
210  AODHandleBase* handle=0;
211  while ((handle=getNextHandle()))
212  {
213  if (handle->visible())
214  recheckCutStatus(handle);
215  }
217  largeChangesEnd();
218 
219  message("recheckCutStatusOfAllHandles: "+str(nShownHandles())+"/"+str(getHandlesList().count())+" pass cuts");
220 }
221 
222 //____________________________________________________________________
224 {
225  if (!isLoaded())
226  return;
227  if (VP1Msg::verbose())
228  messageVerbose("update3DObjectsOfAllHandles start");
231  AODHandleBase* handle=0;
232  while ((handle=getNextHandle()))
233  handle->update3DObjects();
234 
235  largeChangesEnd();
236  messageVerbose("update3DObjectsOfAllHandles end");
237 }
238 
239 //____________________________________________________________________
241 {
242  if (!isLoaded())
243  return;
244  messageVerbose("updateMaterialOfAllHandles start");
247  AODHandleBase* handle=0;
248  while ((handle=getNextHandle()))
249  handle->updateMaterial();
250  largeChangesEnd();
251  messageVerbose("updateMaterialOfAllHandles end");
252 }
253 
254 
255 
256 // //____________________________________________________________________
257 // void AODCollHandleBase::setLabels( AODSystemController::TrackLabelModes labels )
258 // {
259 // // messageVerbose("setLabels called");
260 // // if (m_labels==labels)
261 // // return;
262 // // messageVerbose("setLabels ==> Changed");
263 // // m_labels = labels;
264 // // update3DObjectsOfAllHandles();
265 // }
266 //
267 // //____________________________________________________________________
268 // void AODCollHandleBase::setLabelTrkOffset( float offset)
269 // {
270 // // messageVerbose("setLabelTrkOffset called");
271 // // if (m_labelsTrkOffset==offset)
272 // // return;
273 // // messageVerbose("setLabelTrkOffset ==> Changed to "+QString::number(offset));
274 // // m_labelsTrkOffset = offset;
275 // // update3DObjectsOfAllHandles();
276 // }
277 //
278 // //____________________________________________________________________
279 // void AODCollHandleBase::setLabelPosOffsets( QList<int> offsets)
280 // {
281 // // messageVerbose("setLabelPosOffsets called");
282 // // if (m_labelsPosOffsets==offsets)
283 // // return;
284 // // messageVerbose("setLabelPosOffsets ==> Changed");
285 // // m_labelsPosOffsets = offsets;
286 // // update3DObjectsOfAllHandles();
287 // }
288 
289 // //____________________________________________________________________
290 // void AODCollHandleBase::setColourBy( AODCollHandleBase::COLOURBY cb )
291 // {
292 // // messageVerbose("setColourBy called");
293 // // if (m_colourby==cb)
294 // // return;
295 // // messageVerbose("setColourBy ==> Changed");
296 // // m_colourby=cb;
297 // //
298 // // //Update gui combobox:
299 // // QString targetText;
300 // // switch(cb) {
301 // // case COLOUR_BYPID:
302 // // targetText = Imp::comboBoxEntry_ColourByPID();
303 // // break;
304 // // case COLOUR_RANDOM:
305 // // targetText = Imp::comboBoxEntry_ColourByRandom();
306 // // break;
307 // // case COLOUR_MOMENTUM:
308 // // targetText = Imp::comboBoxEntry_ColourByMomentum();
309 // // break;
310 // // case COLOUR_CHARGE:
311 // // targetText = Imp::comboBoxEntry_ColourByCharge();
312 // // break;
313 // // case COLOUR_DISTANCE:
314 // // targetText = Imp::comboBoxEntry_ColourByDistanceFromSelectedTrack();
315 // // break;
316 // // case COLOUR_VERTEX:
317 // // targetText = Imp::comboBoxEntry_ColourByVertex();
318 // // break;
319 // // default:
320 // // case COLOUR_PERCOLLECTION:
321 // // targetText = Imp::comboBoxEntry_ColourByCollection();
322 // // break;
323 // // }
324 // // if (targetText!=m_dbase->comboBox_colourby->currentText()) {
325 // // int i = m_dbase->comboBox_colourby->findText(targetText);
326 // // if (i>=0&&i<m_dbase->comboBox_colourby->count()) {
327 // // bool save = m_dbase->comboBox_colourby->blockSignals(true);
328 // // m_dbase->comboBox_colourby->setCurrentIndex(i);
329 // // m_dbase->comboBox_colourby->blockSignals(save);
330 // // } else {
331 // // message("ERROR: Problems finding correct text in combo box");
332 // // }
333 // // }
334 // //
335 // // //Actual material updates:
336 // // largeChangesBegin();
337 // // m_commonData->system()->deselectAll();//Todo: Reselect the selected track handles
338 // // //afterwards (collhandles should know selected handles)
339 // // updateMaterialOfAllHandles();
340 // // largeChangesEnd();
341 //
342 // }
343 //
344 // //____________________________________________________________________
345 // void AODCollHandleBase::rerandomiseRandomTrackColours()
346 // {
347 // // if (!isLoaded())
348 // // return;
349 // // messageVerbose("rerandomiseRandomTrackColours start");
350 // // largeChangesBegin();
351 // // std::vector<AODHandleBase*>::iterator it(m_dbase->handles.begin()),itE(m_dbase->handles.end());
352 // // for (;it!=itE;++it)
353 // // (*it)->rerandomiseRandomMaterial();
354 // // largeChangesEnd();
355 // // messageVerbose("rerandomiseRandomTrackColours end");
356 // }
357 //
358 // //____________________________________________________________________
359 // void AODCollHandleBase::handleSelectionChanged()
360 // {
361 // // if (!isLoaded() || colourBy()!= COLOUR_DISTANCE)
362 // // return;
363 // // messageVerbose("handleSelectionChanged start");
364 // // largeChangesBegin();
365 // // std::vector<AODHandleBase*>::iterator it(m_dbase->handles.begin()),itE(m_dbase->handles.end());
366 // // for (;it!=itE;++it)
367 // // (*it)->updateMaterial();
368 // // largeChangesEnd();
369 // // messageVerbose("handleSelectionChanged end");
370 // }
371 
372 
373 
374 //____________________________________________________________________
376 {
377  return m_type; // This is the xAOD::Type::ObjectType value
378 }
379 
381 
382  std::stringstream ss;
383  ss << m_type;
384  QString section = QString::fromStdString(ss.str());
385  return section;
386 }
387 
389  return QString("TODO!");
390 }
391 
392 //____________________________________________________________________
394 {
395  if (VP1Msg::verbose())
396  messageVerbose("AODCollHandleBase::collVisibilityChanged => "+str(vis));
397 
398  if (!m_sephelper)
400 
401  if (!m_dbase->objBrowseTree)
403 
404  if (vis){
405  recheckCutStatusOfAllNotVisibleHandles();//Fixme -> ofallhandles? All must be not visible anyway...
406  if (m_dbase->objBrowseTree) m_dbase->objBrowseTree->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled); // selectable, enabled
407  }else{
409  // QTreeWidget* trkObjBrowser = common()->controller()->trackObjBrowser();
410  // if (m_dbase->objBrowseTree && trkObjBrowser) {
411  // trkObjBrowser->takeTopLevelItem(trkObjBrowser->indexOfTopLevelItem(m_dbase->objBrowseTree));
412  // delete m_dbase->objBrowseTree; m_dbase->objBrowseTree=0;
413  // }
414  // FIXME - need to loop through handles setting pointers to deleted QTreeWidgetItems
415  if (m_dbase->objBrowseTree) m_dbase->objBrowseTree->setFlags(Qt::ItemFlags()); // not selectable, not enabled
416  }
417 }
418 
420  messageVerbose("AODCollHandleBase::updateObjectBrowserVisibilityCounts called for "+name());
421  QTreeWidget* trkObjBrowser = common()->controller()->objBrowser();
422  if (!trkObjBrowser || !m_dbase->objBrowseTree) {
423  messageVerbose("AODCollHandleBase::updateObjectBrowserVisibilityCounts: no common()->controller()->objBrowser() and/or d->objBrowseTree. Aborting");
424  messageVerbose("trkObjBrowser: "+str(trkObjBrowser)+"\t d->objBrowseTree: "+str(m_dbase->objBrowseTree));
425  return;
426  }
427  QString text(QString(": (")+QString::number(nShownHandles())+QString("/")+QString::number(getHandlesList().count())+QString(") visible"));
428  m_dbase->objBrowseTree->setText(1, text);
429 }
430 
432 {
433  QElapsedTimer t;
434  t.start();
435  messageVerbose("AODCollHandleBase::fillObjectBrowser called for "+name());
436 
437  QTreeWidget* trkObjBrowser = common()->controller()->objBrowser();
438  if (!trkObjBrowser) {
439  messageVerbose("AODCollHandleBase::fillObjectBrowser: no common()->controller()->objBrowser(). Aborting");
440  return;
441  }
442  // if (!nShownHandles()) {
443  // messageVerbose("AODCollHandleBase::fillObjectBrowser: no shown handles, so leaving.");
444  // return; // don't bother with hidden collection
445  // }
446 
447  trkObjBrowser->setUpdatesEnabled(false);
448 
449  bool firstTime=false;
450  if (!m_dbase->objBrowseTree) {
451  m_dbase->objBrowseTree = new QTreeWidgetItem(0);
452  firstTime=true;
453  messageVerbose("AODCollHandleBase::fillObjectBrowser: First time so creating QTreeWidgetItem.");
454  } else {
455  int index = trkObjBrowser->indexOfTopLevelItem(m_dbase->objBrowseTree);
456  if (index==-1 ) {
457  messageVerbose("Missing from WidgetTree! Will continue but something must be wrong");
458  }
459  }
460 
461  messageVerbose("AODCollHandleBase::fillObjectBrowser about to start looping over handles at "+QString::number(t.elapsed())+" ms");
462 
463  QList<QTreeWidgetItem *> list;
465  AODHandleBase* handle=0;
466  unsigned int i=0;
467  unsigned int numVisible=0;
468  while ((handle=getNextHandle()))
469  {
470  if (firstTime){
471  handle->fillObjectBrowser(list);
472  } else {
473  handle->updateObjectBrowser();
474  }
475 
476  // messageVerbose("AODCollHandleBase::fillObjectBrowser for handle completed in "+QString::number(t.elapsed()));
477 
478  if (handle->visible() ) numVisible++;
479  i++;
480  }
481 
482  QString text(QString(": (")+QString::number(numVisible)+QString("/")+QString::number(i)+QString(") visible"));
483 
484  m_dbase->objBrowseTree->setText(0, name());
485  m_dbase->objBrowseTree->setText(1, text);
486  m_dbase->objBrowseTree->addChildren(list);
487  trkObjBrowser->addTopLevelItem(m_dbase->objBrowseTree);
488  trkObjBrowser->setUpdatesEnabled(true);
489 
490  messageVerbose("AODCollHandleBase::fillObjectBrowser completed in "+QString::number(t.elapsed())+" ms");
491 
492 }
493 
494 //____________________________________________________________________
496 {
497  messageDebug("AODCollHandleBase::assignDefaultMaterial()");
498  VP1QtInventorUtils::setMatColor( m, defaultColor(), 0.18/*brightness*/ );
499 }
500 
501 
502 //____________________________________________________________________
504 {
505  // return QList<QWidget*>() << m_dbase->comboBox_colourby;
506  return QList<QWidget*>();
507 }
508 
509 //____________________________________________________________________
511 {
512  VP1Serialise serialise(0/*version*/,systemBase());
513  // serialise.save(m_dbase->comboBox_colourby);
514  // serialise.disableUnsavedChecks();
515  return serialise.result();
516 }
517 
518 //____________________________________________________________________
519 void AODCollHandleBase::setExtraWidgetsState(const QByteArray& ba)
520 {
521  messageDebug(" AODCollHandleBase::setExtraWidgetsState() - ba: " + ba);
522 
523  if (ba.isEmpty())
524  messageVerbose("ExtraWidgetState ByteArray is empty.");
525 
526  // VP1Deserialise state(ba, systemBase());
527  // if (state.version()!=0)
528  // return;//just ignore silently... i guess we ought to warn?
529  // state.restore(m_dbase->comboBox_colourby);
530  // state.disableUnrestoredChecks();
531  // colourByComboBoxItemChanged();
532 }
533 
534 
535 //____________________________________________________________________
537 {
538  messageVerbose("AODCollHandleBase::colourByComboBoxItemChanged()");
539  messageVerbose("Collection detail level combo box changed index");
540 
541  messageVerbose("TO BE IMPLEMENTED!!!");
542  /*
543  if (m_dbase->comboBox_colourby->currentText()==Imp::comboBoxEntry_ColourByRandom())
544  setColourBy(COLOUR_RANDOM);
545  else
546  setColourBy(COLOUR_PERCOLLECTION);
547  */
548 }
549 
550 //____________________________________________________________________
551 void AODCollHandleBase::setState(const QByteArray&state)
552 {
553  VP1Deserialise des(state);
554  des.disableUnrestoredChecks();
555  if (des.version()!=0&&des.version()!=1) {
556  messageDebug("Warning: Ignoring state with wrong version");
557  return;
558  }
559  bool vis = des.restoreBool();
560 
561  QByteArray matState = des.restoreByteArray();
562  // m_dbase->matButton->restoreFromState(matState);
563  QByteArray extraWidgetState = des.version()>=1 ? des.restoreByteArray() : QByteArray();
564  setVisible(vis);
565 
566  if (extraWidgetState!=QByteArray())
567  setExtraWidgetsState(extraWidgetState);
568 }
569 
570 //____________________________________________________________________
572 {
573  // if (!m_dbase->matButton) {
574  // message("ERROR: persistifiableState() called before init()");
575  // return QByteArray();
576  // }
577  VP1Serialise serialise(1/*version*/);
578  serialise.disableUnsavedChecks();
579  serialise.save(visible());
580  // Q_ASSERT(m_dbase->matButton&&"Did you forget to call init() on this VP1StdCollection?");
581  // serialise.save(m_dbase->matButton->saveState());
582  serialise.save(extraWidgetsState());//version 1+
583  return serialise.result();
584 }
585 
586 
VP1Serialise.h
AODCollHandleBase::setExtraWidgetsState
void setExtraWidgetsState(const QByteArray &)
Definition: AODCollHandleBase.cxx:519
AODHandleBase::updateMaterial
void updateMaterial()
Called after some configuration related to material changes.
Definition: AODHandleBase.cxx:208
AODHandleBase::visible
bool visible() const
Definition: AODHandleBase.h:54
AODCollHandleBase::assignDefaultMaterial
virtual void assignDefaultMaterial(SoMaterial *) const
Definition: AODCollHandleBase.cxx:495
AODSystemController::objBrowser
QTreeWidget * objBrowser() const
Returns a pointer to the Track Object Browser (if it exists)
Definition: AODSystemController.cxx:290
AODCollHandleBase::Imp::name
QString name
Definition: AODCollHandleBase.cxx:55
VP1Deserialise.h
VP1Serialise
Definition: VP1Serialise.h:45
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AODHandleBase
Definition: AODHandleBase.h:43
AODCollHandleBase
Base class for all AOD object collections This class primarily handles setting up the interface,...
Definition: AODCollHandleBase.h:57
AODCollHandleBase::nShownHandles
int nShownHandles()
Definition: AODCollHandleBase.h:129
RoiUtil::serialise
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
Definition: RoiSerialise.cxx:45
ObjectType
ObjectType
Definition: BaseObject.h:11
AODSysCommonData
Definition: AODSysCommonData.h:42
VP1ExtraSepLayerHelper.h
index
Definition: index.py:1
VP1Msg.h
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
AODSystemController.h
AODSysCommonData::controller
const AODSystemController * controller() const
Definition: AODSysCommonData.h:50
AODHandleBase::fillObjectBrowser
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Create and fill the object browser QTreeWidgetItem.
Definition: AODHandleBase.cxx:288
VP1StdCollection::largeChangesBegin
virtual void largeChangesBegin()
Definition: VP1StdCollection.cxx:228
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
VP1HelperClassBase::messageDebug
void messageDebug(const QString &) const
Definition: VP1HelperClassBase.cxx:65
AODCollHandleBase::Imp
Definition: AODCollHandleBase.cxx:52
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
AODCollHandleBase::colourByComboBoxItemChanged
void colourByComboBoxItemChanged()
Definition: AODCollHandleBase.cxx:536
AODHandleBase::updateObjectBrowser
void updateObjectBrowser()
Update object browser QTreeWidgetItem.
Definition: AODHandleBase.h:102
AODCollHandleBase::common
const AODSysCommonData * common() const
Definition: AODCollHandleBase.h:88
VP1QtInventorUtils.h
VP1LinAlgUtils.h
AODCollHandleBase::AODCollHandleBase
AODCollHandleBase(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType)
Definition: AODCollHandleBase.cxx:66
m_type
TokenType m_type
the type
Definition: TProperty.cxx:44
GeoPrimitives.h
AODCollHandleBase::getHandlesList
virtual QList< AODHandleBase * > getHandlesList() const =0
VP1Collection::section
QString section() const
Definition: VP1Collection.cxx:72
VP1ExtraSepLayerHelper
Definition: VP1ExtraSepLayerHelper.h:22
AODCollHandleBase::handleIterationBegin
virtual void handleIterationBegin()=0
VP1StdCollection::setVisible
void setVisible(bool)
Definition: VP1StdCollection.cxx:160
AODCollHandleBase::setState
virtual void setState(const QByteArray &)
Provide specific implementation.
Definition: AODCollHandleBase.cxx:551
lumiFormat.i
int i
Definition: lumiFormat.py:92
AODCollHandleBase::m_sephelper
VP1ExtraSepLayerHelper * m_sephelper
Definition: AODCollHandleBase.h:191
AODCollHandleBase::provideSection
virtual QString provideSection() const
Definition: AODCollHandleBase.cxx:380
AODSystemController
Definition: AODSystemController.h:43
AODCollHandleBase::updateMaterialOfAllHandles
void updateMaterialOfAllHandles()
Definition: AODCollHandleBase.cxx:240
IVP13DSystem.h
AODCollHandleBase::recheckCutStatusOfAllNotVisibleHandles
void recheckCutStatusOfAllNotVisibleHandles()
Definition: AODCollHandleBase.cxx:177
AODCollHandleBase::extraWidgetsState
QByteArray extraWidgetsState() const
Definition: AODCollHandleBase.cxx:510
AODCollHandleBase::recheckCutStatusOfAllHandles
void recheckCutStatusOfAllHandles()
Definition: AODCollHandleBase.cxx:203
VP1StdCollection::text
QString text() const
Definition: VP1StdCollection.cxx:132
VP1AODSystem.h
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
VP1Deserialise
Definition: VP1Deserialise.h:44
AODSysCommonData.h
AODCollHandleBase::provideExtraWidgetsForGuiRow
QList< QWidget * > provideExtraWidgetsForGuiRow() const
Definition: AODCollHandleBase.cxx:503
AODCollHandleBase::defaultColor
virtual QColor defaultColor() const =0
grepfile.sep
sep
Definition: grepfile.py:38
EventPrimitives.h
AODCollHandleBase::updateObjectBrowserVisibilityCounts
void updateObjectBrowserVisibilityCounts()
Definition: AODCollHandleBase.cxx:419
AODCollHandleBase::setupSettingsFromController
void setupSettingsFromController(const AODSystemController *)
Definition: AODCollHandleBase.cxx:112
AODCollHandleBase::getNextHandle
virtual AODHandleBase * getNextHandle()=0
VP1HelperClassBase::systemBase
IVP1System * systemBase() const
Definition: VP1HelperClassBase.h:50
python.selection.number
number
Definition: selection.py:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
VP1StdCollection::isLoaded
bool isLoaded() const
Definition: VP1StdCollection.cxx:148
AODCollHandleBase::Imp::theclass
AODCollHandleBase * theclass
Definition: AODCollHandleBase.cxx:54
AODCollHandleBase.h
VP1StdCollection::largeChangesEnd
virtual void largeChangesEnd()
Definition: VP1StdCollection.cxx:239
AODHandleBase::setVisible
void setVisible(bool)
use by the collection handle.
Definition: AODHandleBase.cxx:99
AODCollHandleBase::collVisibilityChanged
void collVisibilityChanged(bool)
Definition: AODCollHandleBase.cxx:393
VP1QtInventorUtils::setMatColor
static void setMatColor(SoMaterial *, const double &r, const double &g, const double &b, const double &brightness=0.0, const double &transp=0.0)
Definition: VP1QtInventorUtils.cxx:1480
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AODHandleBase.h
VP1ExtraSepLayerHelper::topSeparator
SoSeparator * topSeparator() const
Definition: VP1ExtraSepLayerHelper.cxx:178
VP1StdCollection::collSep
SoSeparator * collSep() const
All 3D objects from this coll.
Definition: VP1StdCollection.cxx:212
VP1StdCollection::visible
bool visible() const
Definition: VP1StdCollection.cxx:142
AODCollHandleBase::persistifiableState
virtual QByteArray persistifiableState() const
Provide specific implementation.
Definition: AODCollHandleBase.cxx:571
AODCollHandleBase::~AODCollHandleBase
virtual ~AODCollHandleBase()
Definition: AODCollHandleBase.cxx:93
AODCollHandleBase::m_type
xAOD::Type::ObjectType m_type
Definition: AODCollHandleBase.h:189
calibdata.cd
cd
Definition: calibdata.py:51
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
AODCollHandleBase::update3DObjectsOfAllHandles
void update3DObjectsOfAllHandles()
Definition: AODCollHandleBase.cxx:223
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
VP1StdCollection
Definition: VP1StdCollection.h:31
AODCollHandleBase::m_dbase
Imp * m_dbase
Definition: AODCollHandleBase.h:185
AODCollHandleBase::recheckCutStatus
void recheckCutStatus(AODHandleBase *)
Definition: AODCollHandleBase.cxx:137
AODCollHandleBase::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
Definition: AODCollHandleBase.h:79
AODCollHandleBase::fillObjectBrowser
void fillObjectBrowser()
Definition: AODCollHandleBase.cxx:431
AODCollHandleBase::recheckCutStatusOfAllVisibleHandles
void recheckCutStatusOfAllVisibleHandles()
Definition: AODCollHandleBase.cxx:144
AODCollHandleBase::Imp::objBrowseTree
QTreeWidgetItem * objBrowseTree
Definition: AODCollHandleBase.cxx:58
AODCollHandleBase::provideCollTypeID
qint32 provideCollTypeID() const
Definition: AODCollHandleBase.cxx:375
AODHandleBase::update3DObjects
virtual void update3DObjects()
Called after some configuration changes, or when the object is first created. Must be overloaded by c...
Definition: AODHandleBase.cxx:125
IVP13DSystem::deselectAll
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
Definition: IVP13DSystem.cxx:331
AODCollHandleBase::provideSectionToolTip
virtual QString provideSectionToolTip() const
Definition: AODCollHandleBase.cxx:388
query_example.des
des
Definition: query_example.py:9
AODCollHandleBase::name
QString name() const
Definition: AODCollHandleBase.cxx:130
AODCollHandleBase::cut
virtual bool cut(AODHandleBase *)=0
AODSysCommonData::system
const VP1AODSystem * system() const
Definition: AODSysCommonData.h:48