|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef AODHANDLEBASE_H
16 #define AODHANDLEBASE_H
20 #include <QStringList>
21 #include <QTreeWidgetItem>
78 virtual QStringList
baseInfo()
const;
93 static double unknown() {
return -999.0; }
95 virtual QString
shortInfo()
const {
return QString(
"Not yet implemented"); }
96 virtual QString
type()
const {
return QString(
"Not yet implemented"); }
void updateMaterial()
Called after some configuration related to material changes.
AODHandleBase(const AODHandleBase &)
override if need to take action in this case.
Base class for all AOD object collections This class primarily handles setting up the interface,...
AODHandleBase(AODCollHandleBase *)
virtual void detach3DObjects()
Remove from the scene graph.
AODCollHandleBase * m_collhandle
const AODCollHandleBase * collHandle() const
virtual SoMaterial * determineMaterial()=0
Should be implemented by children, in order to change the material depending on the interface etc.
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Create and fill the object browser QTreeWidgetItem.
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual void currentMaterialChanged()
void updateObjectBrowser()
Update object browser QTreeWidgetItem.
virtual QStringList baseInfo() const
virtual void attach3DObjects()
Connect to the scene graph.
static int numberOfInstances()
virtual void visibleStateChanged()
Dummy implementation does nothing.
QTreeWidgetItem * browserTreeItem() const
Return the QTreeWidgetItem;.
virtual void dumpToJSON(std::ofstream &) const
SoMaterial * currentMaterial() const
Returns the current material of the handle.
virtual QString type() const
return very short word with type (maybe link with collection type?)
virtual SoNode * nodes()=0
Returns the 3Dobjects.
virtual QStringList clicked() const =0
Called when user selects the node (stringlist is displayed in messagebox).
void setVisible(bool)
use by the collection handle.
virtual QString shortInfo() const
returns mom and hit information about track
virtual void rebuild3DObjects()
AODHandleBase & operator=(const AODHandleBase &)
SoMaterial * m_currentmaterial
virtual void update3DObjects()
Called after some configuration changes, or when the object is first created. Must be overloaded by c...
const AODSysCommonData * common() const
virtual void clear3DObjects()=0
Delete objects.