|
ATLAS Offline Software
|
#include <VP1StdCollection.h>
Inherits QObject, and VP1Collection.
Inherited by AODCollHandleBase, PRDCollHandleBase, TrackCollHandleBase, VP1CaloClusterCollection, VP1MissingEtHandle, VP1RawDataCollBase, VP1TruthVertexCollection, and VP1VertexCollection.
|
| VP1StdCollection (IVP1System *, const QString &helperClassName) |
|
virtual void | init (VP1MaterialButtonBase *button=0) |
|
virtual | ~VP1StdCollection () |
|
bool | visible () const |
|
bool | isLoaded () const |
|
bool | problemsLoading () const |
|
QString | text () const |
|
SoSwitch * | collSwitch () const |
| Add this somewhere in your scenegraph (do not add any children here!) More...
|
|
SoSeparator * | collSep () const |
| All 3D objects from this coll. More...
|
|
SoMaterial * | material () const |
|
double | collMaterialTransparency () const |
|
double | collMaterialBrightness () const |
|
virtual void | largeChangesBegin () |
|
virtual void | largeChangesEnd () |
|
virtual QByteArray | persistifiableState () const |
| Provide default implementation based on widget list + version. More...
|
|
virtual void | setState (const QByteArray &) |
| Provide default implementation based on widget list + version. More...
|
|
qint32 | collTypeID () const |
|
QByteArray | persistifiableID () const |
|
QString | section () const |
|
QString | sectionToolTip () const |
|
virtual QList< QWidget * > | widgetsForGuiRow () 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 |
|
IVP1System * | systemBase () const |
|
QString | helperClassName () const |
|
Definition at line 31 of file VP1StdCollection.h.
◆ VP1StdCollection() [1/2]
VP1StdCollection::VP1StdCollection |
( |
IVP1System * |
sys, |
|
|
const QString & |
helperClassName |
|
) |
| |
◆ ~VP1StdCollection()
VP1StdCollection::~VP1StdCollection |
( |
| ) |
|
|
virtual |
◆ VP1StdCollection() [2/2]
◆ applyStates()
◆ assignDefaultMaterial()
virtual void VP1StdCollection::assignDefaultMaterial |
( |
SoMaterial * |
| ) |
const |
|
protectedpure virtual |
Implemented in TrackCollHandleBase, AODCollHandleBase, PRDCollHandleBase, VP1VertexCollection, VP1MissingEtHandle, VP1TruthVertexCollection, VP1CaloClusterCollection, VP1RawDataColl_TRT_RDO, VP1RawDataColl_BCM_RDO, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, and VP1RawDataColl_SCT_RDO.
◆ checkBoxToolTip()
virtual QString VP1StdCollection::checkBoxToolTip |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ collMaterialBrightness()
double VP1StdCollection::collMaterialBrightness |
( |
| ) |
const |
◆ collMaterialTransparency()
double VP1StdCollection::collMaterialTransparency |
( |
| ) |
const |
◆ collMaterialTransparencyAndBrightnessChanged()
virtual void VP1StdCollection::collMaterialTransparencyAndBrightnessChanged |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ collSep()
SoSeparator * VP1StdCollection::collSep |
( |
| ) |
const |
All 3D objects from this coll.
belongs under here.
Definition at line 212 of file VP1StdCollection.cxx.
215 message(
"ERROR: collSep() called before init()");
◆ collSwitch()
SoSwitch * VP1StdCollection::collSwitch |
( |
| ) |
const |
Add this somewhere in your scenegraph (do not add any children here!)
Definition at line 204 of file VP1StdCollection.cxx.
207 message(
"ERROR: collSwitch() called before init()");
◆ collTypeID()
qint32 VP1StdCollection::collTypeID |
( |
| ) |
const |
◆ extraWidgetsState()
virtual QByteArray VP1StdCollection::extraWidgetsState |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ getStates()
◆ helperClassName()
QString VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ init()
Reimplemented in AODCollHandleBase, TrackCollHandleBase, VertexCollHandle, IParticleCollHandle_CaloCluster, MissingEtCollHandle, IParticleCollHandle_Muon, IParticleCollHandle_Electron, IParticleCollHandle_Jet, IParticleCollHandle_TrackParticle, VP1VertexCollection, VP1RawDataCollBase, and PRDCollHandleBase.
Definition at line 73 of file VP1StdCollection.cxx.
76 QString safetext(
text());
77 safetext.replace(
' ',
'_');
78 safetext.replace(
'[',
'_');
79 safetext.replace(
']',
'_');
80 safetext.replace(
'/',
'_');
81 safetext.replace(
'.',
'_');
82 safetext.replace(
',',
'_');
83 safetext.replace(
'<',
'_');
84 safetext.replace(
'>',
'_');
85 safetext.replace(
'&',
'_');
89 m_d->
theswitch->setName((
"StdCollSwitch"+safetext).toStdString().c_str());
93 m_d->
material->setName((
"StdCollMat"+safetext).toStdString().c_str());
99 m_d->
matButton->setObjectName(
"matButtonColl_"+safetext);
107 m_d->
checkBox->setObjectName(
"checkBoxColl_"+safetext);
113 m_d->
collsep->setName((
"StdCollSep"+safetext).toStdString().c_str());
◆ isLoaded()
bool VP1StdCollection::isLoaded |
( |
| ) |
const |
◆ largeChangesBegin()
void VP1StdCollection::largeChangesBegin |
( |
| ) |
|
|
virtual |
◆ largeChangesEnd()
void VP1StdCollection::largeChangesEnd |
( |
| ) |
|
|
virtual |
◆ load()
virtual bool VP1StdCollection::load |
( |
| ) |
|
|
protectedpure virtual |
Implemented in PRDCollHandle_SpacePoints, IParticleCollHandle_CaloCluster, VertexCollHandle, MissingEtCollHandle, IParticleCollHandle_Jet, VP1VertexCollection, IParticleCollHandle_Muon, VP1MissingEtHandle, IParticleCollHandle_Electron, VP1TruthVertexCollection, IParticleCollHandle_TrackParticle, VP1CaloClusterCollection, TrackCollHandle_TrkTrack, PRDCollHandleBase, VP1RawDataColl_TRT_RDO, VP1RawDataColl_BCM_RDO, TrackCollHandle_TrkSegment, VP1RawDataColl_LUCID, TrackCollHandle_SimulationTracks, TrackCollHandle_TruthTracks, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, TrackCollHandle_RefittedTracks, VP1MissingEtCaloHandle, VP1MissingEtTruthHandle, TrackCollHandle_TrackParticle, TrackCollHandle_TrackContainer, and TrackCollHandle_xAODTrackParticle.
◆ matButtonToolTip()
virtual QString VP1StdCollection::matButtonToolTip |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ material()
SoMaterial * VP1StdCollection::material |
( |
| ) |
const |
◆ message() [1/3]
void VP1HelperClassBase::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void VP1HelperClassBase::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [1/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [1/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ operator=()
◆ persistifiableID()
QByteArray VP1Collection::persistifiableID |
( |
| ) |
const |
|
inherited |
◆ persistifiableState()
QByteArray VP1StdCollection::persistifiableState |
( |
| ) |
const |
|
virtual |
◆ possibleChangeMatTranspOrBrightness
void VP1StdCollection::possibleChangeMatTranspOrBrightness |
( |
| ) |
|
|
slot |
◆ problemsLoading()
bool VP1StdCollection::problemsLoading |
( |
| ) |
const |
◆ provideCollTypeID()
virtual qint32 VP1StdCollection::provideCollTypeID |
( |
| ) |
const |
|
inlineprotectedvirtual |
Reimplemented in TrackCollHandleBase, AODCollHandleBase, PRDCollHandleBase, VP1MissingEtHandle, VP1VertexCollection, VP1CaloClusterCollection, VP1RawDataColl_TRT_RDO, VP1RawDataColl_BCM_RDO, VP1TruthVertexCollection, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, VP1MissingEtCaloHandle, and VP1MissingEtTruthHandle.
Definition at line 92 of file VP1StdCollection.h.
◆ provideExtraWidgetsForGuiRow()
virtual QList<QWidget*> VP1StdCollection::provideExtraWidgetsForGuiRow |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ providePersistifiableID()
QByteArray VP1StdCollection::providePersistifiableID |
( |
| ) |
const |
|
protectedvirtual |
◆ provideSection()
virtual QString VP1Collection::provideSection |
( |
| ) |
const |
|
protectedpure virtualinherited |
Implemented in TrackCollHandleBase, AODCollHandleBase, PRDCollHandleBase, VP1VertexCollection, VP1CaloClusterCollection, VP1RawDataColl_TRT_RDO, VP1MissingEtHandle, VP1RawDataColl_BCM_RDO, VP1TruthVertexCollection, VP1RawDataColl_LUCID, VP1RawDataColl_PixelRDO, VP1RawDataColl_SCT_RDO, VP1MissingEtCaloHandle, and VP1MissingEtTruthHandle.
◆ provideSectionToolTip()
virtual QString VP1Collection::provideSectionToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ provideText()
virtual QString VP1StdCollection::provideText |
( |
| ) |
const |
|
protectedpure virtual |
◆ provideWidgetsForGuiRow()
QList< QWidget * > VP1StdCollection::provideWidgetsForGuiRow |
( |
| ) |
const |
|
protectedvirtual |
◆ section()
QString VP1Collection::section |
( |
| ) |
const |
|
inherited |
◆ sectionToolTip()
QString VP1Collection::sectionToolTip |
( |
| ) |
const |
|
inherited |
◆ setExtraWidgetsState()
virtual void VP1StdCollection::setExtraWidgetsState |
( |
const QByteArray & |
| ) |
|
|
inlineprotectedvirtual |
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setState()
void VP1StdCollection::setState |
( |
const QByteArray & |
state | ) |
|
|
virtual |
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ setVisible
void VP1StdCollection::setVisible |
( |
bool |
b | ) |
|
|
slot |
◆ 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 |
◆ systemBase()
IVP1System* VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ text()
QString VP1StdCollection::text |
( |
| ) |
const |
◆ toBaseCollList()
Definition at line 80 of file VP1Collection.h.
82 QList<VP1Collection*>
l;
84 l << static_cast<T*>(
t);
◆ updateStates()
Definition at line 118 of file VP1Collection.cxx.
121 QMapIterator<QByteArray,QByteArray>
it(newInfo);
122 while (
it.hasNext()) {
124 state.insert(
it.key(),
it.value());
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ visibilityChanged
void VP1StdCollection::visibilityChanged |
( |
bool |
| ) |
|
|
signal |
◆ visible()
bool VP1StdCollection::visible |
( |
| ) |
const |
◆ warnUndeletedInstances()
void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
185 if (vp1helperclassbase_instanceMap.empty())
187 std::cout <<
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
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;
◆ widgetsForGuiRow()
QList< QWidget * > VP1Collection::widgetsForGuiRow |
( |
| ) |
const |
|
virtualinherited |
◆ m_d
Imp* VP1StdCollection::m_d |
|
private |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
QMap< QByteArray, QByteArray > VP1CollStates
virtual QString checkBoxToolTip() const
QList< QWidget * > widgetsForGuiRow
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
virtual QList< QWidget * > provideWidgetsForGuiRow() const =0
qint32 collTypeID() const
void possibleChangeMatTranspOrBrightness()
void messageVerbose(const QString &) const
static const bool s_vp1verbose
virtual QByteArray extraWidgetsState() const
static QString str(const QString &s)
void messageDebug(const QString &) const
static bool deserialiseSoMaterial(QByteArray &, SoMaterial *&)
def save(self, fileName="./columbo.out")
static const char * prefix_msg()
VP1MaterialButtonBase * matButton
void visibilityChanged(bool)
const QString & name() const
virtual QList< QWidget * > provideExtraWidgetsForGuiRow() const
QList< QWidget * > extraWidgets
VP1Collection(IVP1System *sys=0, const QString &helperClassName="VP1Collection")
bool problemsLoading() const
virtual void collMaterialTransparencyAndBrightnessChanged()
double lastMatTransparency
static QColor sbcol2qcol(const SbColor &)
virtual QByteArray providePersistifiableID() const =0
virtual QList< QWidget * > widgetsForGuiRow() const
static const char * prefix_debug()
bool widgetsForGuiRowProvided
virtual QString provideSection() const =0
virtual void assignDefaultMaterial(SoMaterial *) const =0
bool sectionToolTipProvided
static const char * prefix_verbose()
int largechangescount_sep
static void messageDebug(const QString &)
virtual QString provideSectionToolTip() const
int largechangescount_switch
virtual QString matButtonToolTip() const
void message(const QString &) const
QString helperClassName() const
virtual QString provideText() const =0
void message(const QString &) const
virtual qint32 provideCollTypeID() const
virtual void setExtraWidgetsState(const QByteArray &)