|
ATLAS Offline Software
|
#include <VP1MissingEtCaloHandle.h>
|
| VP1MissingEtCaloHandle (IVP1System *sys, const QString &key) |
|
virtual | ~VP1MissingEtCaloHandle () |
|
virtual QStringList | clicked (SoPath *) const |
|
void | refresh () |
|
virtual void | init (VP1MaterialButtonBase *button=0) |
|
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 22 of file VP1MissingEtCaloHandle.h.
◆ VP1MissingEtCaloHandle()
VP1MissingEtCaloHandle::VP1MissingEtCaloHandle |
( |
IVP1System * |
sys, |
|
|
const QString & |
key |
|
) |
| |
◆ ~VP1MissingEtCaloHandle()
VP1MissingEtCaloHandle::~VP1MissingEtCaloHandle |
( |
| ) |
|
|
virtual |
◆ addArrowToCollSep()
Definition at line 228 of file VP1MissingEtHandle.cxx.
238 SoRotationXYZ *finalRotation =
new SoRotationXYZ();
240 finalRotation->angle=-
M_PI/2+
met->phi();
243 SoTranslation *translation1=
new SoTranslation();
244 translation1->translation.setValue(0,0.5*0.75*
m_length*
scale,0);
247 SoCylinder *cyl =
new SoCylinder();
252 SoTranslation *translation2=
new SoTranslation();
256 SoCone *cone =
new SoCone();
262 m_arrow->addChild(finalRotation);
263 m_arrow->addChild(translation1);
265 m_arrow->addChild(translation2);
271 SoRotationXYZ *
r =
new SoRotationXYZ();
276 SoTranslation *
t=
new SoTranslation();
277 t->translation.setValue(0, 0, 0);
281 SoDrawStyle *drawStyle =
new SoDrawStyle;
283 drawStyle->lineWidth.setValue(2.0 *
thickness);
284 drawStyle->linePattern.setValue(0xFF00);
285 m_dash->addChild(drawStyle);
288 SoCoordinate3 *coords =
new SoCoordinate3;
289 SbVec3f* vert =
new SbVec3f[2];
290 vert[0] = SbVec3f(0.0, 0.0, 0.0);
292 coords->point.setValues(0, 2, vert);
296 SoLineSet *lineSet =
new SoLineSet ;
297 lineSet->numVertices.set1Value(0, 2) ;
298 m_dash->addChild(lineSet);
◆ applyStates()
◆ assignDefaultMaterial()
void VP1MissingEtHandle::assignDefaultMaterial |
( |
SoMaterial * |
m | ) |
const |
|
protectedvirtualinherited |
◆ baseCol()
QColor VP1MissingEtCaloHandle::baseCol |
( |
| ) |
const |
|
protectedvirtual |
◆ baseInfo()
QStringList VP1MissingEtHandle::baseInfo |
( |
const MissingET * |
met | ) |
const |
|
protectedinherited |
Definition at line 205 of file VP1MissingEtHandle.cxx.
208 return QStringList() <<
"ERROR: Nul MissingET pointer!";
210 l <<
"Missing ET ["+
key()+
"]:";
◆ checkBoxToolTip()
virtual QString VP1MissingEtCaloHandle::checkBoxToolTip |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ clicked()
QStringList VP1MissingEtCaloHandle::clicked |
( |
SoPath * |
pickedPath | ) |
const |
|
virtual |
◆ collMaterialBrightness()
double VP1StdCollection::collMaterialBrightness |
( |
| ) |
const |
|
inherited |
◆ collMaterialTransparency()
double VP1StdCollection::collMaterialTransparency |
( |
| ) |
const |
|
inherited |
◆ collMaterialTransparencyAndBrightnessChanged()
virtual void VP1StdCollection::collMaterialTransparencyAndBrightnessChanged |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ collSep()
SoSeparator * VP1StdCollection::collSep |
( |
| ) |
const |
|
inherited |
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 |
|
inherited |
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 |
|
inherited |
◆ createCollections()
◆ extraWidgetsState()
virtual QByteArray VP1StdCollection::extraWidgetsState |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ 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 |
|
inherited |
◆ key()
QString VP1MissingEtHandle::key |
( |
| ) |
const |
|
protectedinherited |
◆ largeChangesBegin()
void VP1StdCollection::largeChangesBegin |
( |
| ) |
|
|
virtualinherited |
◆ largeChangesEnd()
void VP1StdCollection::largeChangesEnd |
( |
| ) |
|
|
virtualinherited |
◆ load()
bool VP1MissingEtCaloHandle::load |
( |
| ) |
|
|
protectedvirtual |
◆ matButtonToolTip()
virtual QString VP1StdCollection::matButtonToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ material()
SoMaterial * VP1StdCollection::material |
( |
| ) |
const |
|
inherited |
◆ 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 |
◆ persistifiableID()
QByteArray VP1Collection::persistifiableID |
( |
| ) |
const |
|
inherited |
◆ persistifiableState()
QByteArray VP1StdCollection::persistifiableState |
( |
| ) |
const |
|
virtualinherited |
◆ possibleChangeMatTranspOrBrightness
void VP1StdCollection::possibleChangeMatTranspOrBrightness |
( |
| ) |
|
|
slotinherited |
◆ problemsLoading()
bool VP1StdCollection::problemsLoading |
( |
| ) |
const |
|
inherited |
◆ provideCollTypeID()
virtual qint32 VP1MissingEtCaloHandle::provideCollTypeID |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ provideExtraWidgetsForGuiRow()
virtual QList<QWidget*> VP1StdCollection::provideExtraWidgetsForGuiRow |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ providePersistifiableID()
QByteArray VP1MissingEtHandle::providePersistifiableID |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ provideSection()
virtual QString VP1MissingEtCaloHandle::provideSection |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ provideSectionToolTip()
virtual QString VP1MissingEtCaloHandle::provideSectionToolTip |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ provideText()
QString VP1MissingEtHandle::provideText |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ provideWidgetsForGuiRow()
QList< QWidget * > VP1StdCollection::provideWidgetsForGuiRow |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ refresh()
void VP1MissingEtHandle::refresh |
( |
| ) |
|
|
inherited |
Definition at line 322 of file VP1MissingEtHandle.cxx.
327 SoTranslation *translation1= (SoTranslation*)
m_arrow->getChild(1);
328 translation1->translation.setValue(0,0.5*0.75*
m_length*
scale,0);
330 SoCylinder *cyl = (SoCylinder*)
m_arrow->getChild(2);
334 SoTranslation *translation2= (SoTranslation*)
m_arrow->getChild(3);
337 SoCone *cone = (SoCone*)
m_arrow->getChild(4);
342 SoDrawStyle *drawStyle = (SoDrawStyle*)
m_dash->getChild(2);
343 drawStyle->lineWidth.setValue(2.0 *
thickness);
345 SoCoordinate3 *coords = (SoCoordinate3*)
m_dash->getChild(3);
346 SbVec3f* vert =
new SbVec3f[2];
347 vert[0] = SbVec3f(0.0, 0.0, 0.0);
349 coords->point.setValues(0, 2, vert);
352 m_base->removeAllChildren();
◆ section()
QString VP1Collection::section |
( |
| ) |
const |
|
inherited |
◆ sectionToolTip()
QString VP1Collection::sectionToolTip |
( |
| ) |
const |
|
inherited |
◆ setExtraWidgetsState()
virtual void VP1StdCollection::setExtraWidgetsState |
( |
const QByteArray & |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setState()
void VP1StdCollection::setState |
( |
const QByteArray & |
state | ) |
|
|
virtualinherited |
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ setVisible
void VP1StdCollection::setVisible |
( |
bool |
b | ) |
|
|
slotinherited |
◆ 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 |
|
inherited |
◆ toBaseCollList()
Definition at line 80 of file VP1Collection.h.
82 QList<VP1Collection*>
l;
84 l << static_cast<T*>(
t);
◆ truncateToCollSep()
void VP1MissingEtHandle::truncateToCollSep |
( |
SoPath * |
p | ) |
const |
|
protectedinherited |
◆ 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());
◆ useScale()
void VP1MissingEtHandle::useScale |
( |
double |
scale | ) |
|
|
staticinherited |
◆ useShape()
void VP1MissingEtHandle::useShape |
( |
bool |
shape | ) |
|
|
staticinherited |
◆ useThickness()
void VP1MissingEtHandle::useThickness |
( |
double |
thickness | ) |
|
|
staticinherited |
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ visibilityChanged
void VP1StdCollection::visibilityChanged |
( |
bool |
| ) |
|
|
signalinherited |
◆ visible()
bool VP1StdCollection::visible |
( |
| ) |
const |
|
inherited |
◆ 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_arrow
SoGroup * VP1MissingEtHandle::m_arrow |
|
privateinherited |
◆ m_base
SoGroup* VP1MissingEtHandle::m_base |
|
privateinherited |
◆ m_d
Imp* VP1MissingEtCaloHandle::m_d |
|
private |
◆ m_dash
SoGroup * VP1MissingEtHandle::m_dash |
|
privateinherited |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_length
double VP1MissingEtHandle::m_length |
|
privateinherited |
◆ m_phi
double VP1MissingEtHandle::m_phi |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
◆ scale
double VP1MissingEtHandle::scale = 1.0 |
|
staticinherited |
◆ shape
bool VP1MissingEtHandle::shape = true |
|
staticinherited |
◆ thickness
double VP1MissingEtHandle::thickness = 1.0 |
|
staticinherited |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
QMap< QByteArray, QByteArray > VP1CollStates
const MissingET * metCalo
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
VP1MissingEtHandle(IVP1System *sys, const QString &key)
static bool deserialiseSoMaterial(QByteArray &, SoMaterial *&)
QStringList baseInfo(const MissingET *) const
def save(self, fileName="./columbo.out")
static const char * prefix_msg()
VP1MaterialButtonBase * matButton
virtual QColor baseCol() const
void visibilityChanged(bool)
const QString & name() const
virtual QList< QWidget * > provideExtraWidgetsForGuiRow() const
QList< QWidget * > extraWidgets
VP1MissingEtCaloHandle(IVP1System *sys, const QString &key)
bool problemsLoading() const
virtual void collMaterialTransparencyAndBrightnessChanged()
double lastMatTransparency
static QColor sbcol2qcol(const SbColor &)
IVP1System * systemBase() const
void truncateToCollSep(SoPath *) const
virtual QByteArray providePersistifiableID() const =0
virtual QList< QWidget * > widgetsForGuiRow() const
static const char * prefix_debug()
void addArrowToCollSep(const MissingET *)
bool widgetsForGuiRowProvided
virtual QString provideSection() const =0
virtual void assignDefaultMaterial(SoMaterial *) const =0
#define MISSINGET_ZEROLENGTH(x)
bool sectionToolTipProvided
static const char * prefix_verbose()
int largechangescount_sep
static void messageDebug(const QString &)
virtual QString provideSectionToolTip() const
int largechangescount_switch
SoSeparator * collSep() const
All 3D objects from this coll.
virtual QString matButtonToolTip() const
void message(const QString &) const
virtual double phi() const
virtual QString provideText() const =0
void message(const QString &) const
virtual qint32 provideCollTypeID() const
virtual void setExtraWidgetsState(const QByteArray &)