ATLAS Offline Software
graphics
VP1
VP1Systems
VP1AODSystems
src
MissingEtCollectionSettingsButton.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef VP1AODSYSTEMS_MISSINGETCOLLSETTINGSBUTTON_H
6
#define VP1AODSYSTEMS_MISSINGETCOLLSETTINGSBUTTON_H
7
8
//#include "VP1Base/VP1MaterialButton.h"
9
#include "
VP1Base/VP1CollectionSettingsButtonBase.h
"
10
11
#include "
xAODTracking/TrackingPrimitives.h
"
12
13
class
SoDrawStyle;
14
class
SoLightModel;
15
16
//class MissingEtCollectionSettingsButton : public VP1MaterialButtonBase {
17
class
MissingEtCollectionSettingsButton
:
public
VP1CollectionSettingsButtonBase
{
18
19
Q_OBJECT
20
21
public
:
22
23
MissingEtCollectionSettingsButton
(QWidget *
parent
= 0,
int
dim
= 25);
//dim<=0 => Won't change sizepolicy
24
virtual
~MissingEtCollectionSettingsButton
();
25
26
void
setDimension
(
int
dim
);
27
28
// The below are necessary to fulfill the interface, but will just be passed onto the VP1MaterialButton owned by the MissingEtCollectionSettingsButton form
29
virtual
bool
setMaterial
(SoMaterial*);
30
virtual
void
copyValuesFromMaterial
(SoMaterial*);
31
virtual
double
lastAppliedTransparency
()
const
;
32
virtual
double
lastAppliedShininess
()
const
;
33
virtual
double
lastAppliedBrightness
()
const
;
34
35
// GUI for cuts
36
VP1Interval
cutAllowedR
()
const
;
37
VP1Interval
cutAllowedZ
()
const
;
38
39
//Overall drawstyles, complexities and light models:
40
// SoDrawStyle * vertexDrawStyle() const;
41
// SoLightModel * vertexLightModel() const;
42
43
// Getters
44
float
metLength
()
const
;
45
float
metThickness
()
const
;
46
QList<VP1Interval>
cutAllowedPhi
()
const
;
47
48
QByteArray
saveState
()
const
;
49
void
restoreFromState
(
const
QByteArray& );
50
51
signals
:
52
void
lastAppliedChanged
();
// emitted when something related to material changes
53
void
cutAllowedPhiChanged
(
const
QList<VP1Interval>&);
54
55
// void cutAllowedRChanged(const VP1Interval&);
56
// void cutAllowedZChanged(const VP1Interval&);
57
void
metSizeChanged
(
int
);
58
59
public
Q_SLOTS:
60
void
showEditMaterialDialog
();
61
void
setMaterialText
(
const
QString&);
62
63
protected
Q_SLOTS:
64
void
updateButton
();
65
66
protected
:
67
// void initEditWindow();//!< Make sure that edit window is constructed
68
void
mousePressEvent
(QMouseEvent *
event
);
69
void
mouseMoveEvent
(QMouseEvent *
event
);
70
void
dropEvent
(QDropEvent *
event
);
71
void
dragEnterEvent
(QDragEnterEvent *
event
);
72
private
:
73
74
class
Imp
;
75
Imp
*
m_d
;
76
77
private
Q_SLOTS:
78
void
updateVertexDrawStyle
();
79
void
updateVertexLightModel
(
bool
);
80
// void possibleChange_vertexSize();
81
// void possibleChange_cutAllowedR();
82
// void possibleChange_cutAllowedZ();
83
84
};
85
86
#endif
87
88
yodamerge_tmp.dim
dim
Definition:
yodamerge_tmp.py:239
MissingEtCollectionSettingsButton::lastAppliedShininess
virtual double lastAppliedShininess() const
Definition:
MissingEtCollectionSettingsButton.cxx:205
MissingEtCollectionSettingsButton::~MissingEtCollectionSettingsButton
virtual ~MissingEtCollectionSettingsButton()
Definition:
MissingEtCollectionSettingsButton.cxx:152
VP1CollectionSettingsButtonBase.h
MissingEtCollectionSettingsButton::m_d
Imp * m_d
Definition:
MissingEtCollectionSettingsButton.h:74
MissingEtCollectionSettingsButton::setDimension
void setDimension(int dim)
Definition:
MissingEtCollectionSettingsButton.cxx:168
MissingEtCollectionSettingsButton::mousePressEvent
void mousePressEvent(QMouseEvent *event)
Definition:
MissingEtCollectionSettingsButton.cxx:260
MissingEtCollectionSettingsButton::metLength
float metLength() const
Definition:
MissingEtCollectionSettingsButton.cxx:248
MissingEtCollectionSettingsButton::updateVertexDrawStyle
void updateVertexDrawStyle()
Definition:
MissingEtCollectionSettingsButton.cxx:217
MissingEtCollectionSettingsButton::lastAppliedChanged
void lastAppliedChanged()
MissingEtCollectionSettingsButton::lastAppliedTransparency
virtual double lastAppliedTransparency() const
Definition:
MissingEtCollectionSettingsButton.cxx:200
MissingEtCollectionSettingsButton::cutAllowedR
VP1Interval cutAllowedR() const
MissingEtCollectionSettingsButton::setMaterial
virtual bool setMaterial(SoMaterial *)
Definition:
MissingEtCollectionSettingsButton.cxx:187
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
MissingEtCollectionSettingsButton::saveState
QByteArray saveState() const
fill out with the state of the object (used for drag and drop etc)
Definition:
MissingEtCollectionSettingsButton.cxx:335
MissingEtCollectionSettingsButton::lastAppliedBrightness
virtual double lastAppliedBrightness() const
Definition:
MissingEtCollectionSettingsButton.cxx:210
MissingEtCollectionSettingsButton::setMaterialText
void setMaterialText(const QString &)
Definition:
MissingEtCollectionSettingsButton.cxx:82
MissingEtCollectionSettingsButton::cutAllowedPhiChanged
void cutAllowedPhiChanged(const QList< VP1Interval > &)
VP1CollectionSettingsButtonBase
Definition:
VP1CollectionSettingsButtonBase.h:17
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
MissingEtCollectionSettingsButton::updateButton
void updateButton()
Definition:
MissingEtCollectionSettingsButton.cxx:160
MissingEtCollectionSettingsButton::showEditMaterialDialog
void showEditMaterialDialog()
Definition:
MissingEtCollectionSettingsButton.cxx:176
MissingEtCollectionSettingsButton::copyValuesFromMaterial
virtual void copyValuesFromMaterial(SoMaterial *)
Definition:
MissingEtCollectionSettingsButton.cxx:195
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition:
LegacyTopoMergerMap.py:13
MissingEtCollectionSettingsButton::metSizeChanged
void metSizeChanged(int)
MissingEtCollectionSettingsButton::MissingEtCollectionSettingsButton
MissingEtCollectionSettingsButton(QWidget *parent=0, int dim=25)
Definition:
MissingEtCollectionSettingsButton.cxx:90
MissingEtCollectionSettingsButton::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event)
Definition:
MissingEtCollectionSettingsButton.cxx:275
MissingEtCollectionSettingsButton::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition:
MissingEtCollectionSettingsButton.cxx:404
VP1Interval
Definition:
VP1Interval.h:23
MissingEtCollectionSettingsButton::Imp
Definition:
MissingEtCollectionSettingsButton.cxx:38
MissingEtCollectionSettingsButton::restoreFromState
void restoreFromState(const QByteArray &)
Definition:
MissingEtCollectionSettingsButton.cxx:373
MissingEtCollectionSettingsButton::dropEvent
void dropEvent(QDropEvent *event)
Definition:
MissingEtCollectionSettingsButton.cxx:327
MissingEtCollectionSettingsButton::cutAllowedZ
VP1Interval cutAllowedZ() const
TrackingPrimitives.h
MissingEtCollectionSettingsButton::metThickness
float metThickness() const
Definition:
MissingEtCollectionSettingsButton.cxx:253
MissingEtCollectionSettingsButton
Definition:
MissingEtCollectionSettingsButton.h:17
MissingEtCollectionSettingsButton::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event)
Definition:
MissingEtCollectionSettingsButton.cxx:268
MissingEtCollectionSettingsButton::updateVertexLightModel
void updateVertexLightModel(bool)
Definition:
MissingEtCollectionSettingsButton.cxx:226
Generated on Thu Nov 7 2024 21:21:07 for ATLAS Offline Software by
1.8.18