ATLAS Offline Software
graphics
VP1
VP1Systems
VP1AODSystems
VP1AODSystems
JetCollectionSettingsButton.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef VP1AODSYSTEMS_JETCOLLSETTINGSBUTTON_H
6
#define VP1AODSYSTEMS_JETCOLLSETTINGSBUTTON_H
7
8
#include "
VP1Base/VP1CollectionSettingsButtonBase.h
"
9
#include "
VP1AODSystems/AODSystemController.h
"
10
11
//class SoDrawStyle;
12
//class SoLightModel;
13
14
class
JetCollectionSettingsButton
:
public
VP1CollectionSettingsButtonBase
{
15
16
Q_OBJECT
17
18
public
:
19
20
JetCollectionSettingsButton
(QWidget *
parent
= 0,
int
dim
= 25,
const
QString&
name
=
""
);
//dim<=0 => Won't change sizepolicy
21
virtual
~JetCollectionSettingsButton
();
22
23
void
setDimension
(
int
dim
);
24
25
VP1MaterialButton
*
getMaterialButton
()
const
;
26
27
28
// The below are necessary to fulfill the interface, but will just be passed onto the VP1MaterialButton owned by the JetCollectionSettingsButton 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 track lines...
36
// double trackTubeRadius() const;//0 => don't show tubes for tracks
37
// bool hideActualTrackPath() const;
38
39
// // GUI for parameters
40
// bool showParameters() const;
41
// bool colourParametersByType() const;
42
double
lengthOf100GeV
();
43
bool
randomJetColours
()
const
;
44
double
maxR
();
45
46
// GUI for cuts
47
VP1Interval
cutAllowedPt
()
const
;
48
VP1Interval
cutAllowedEta
()
const
;
49
QList<VP1Interval>
cutAllowedPhi
()
const
;
//All off: empty list. All on: list with one entry: ]-inf,inf[
50
51
// b-tagging
52
bool
bTaggingEnabled
()
const
;
53
QString
bTaggingTagger
()
const
;
54
QString
bTaggingSkin
()
const
;
//
55
double
bTaggingCut
()
const
;
56
bool
bTaggingRenderingSkin
()
const
;
57
bool
bTaggingRenderingMaterial
()
const
;
58
SoMaterial*
bTaggingMaterial
()
const
;
59
bool
is_bTaggingSkinEnabled
()
const
;
60
bool
is_bTaggingMaterialEnabled
()
const
;
61
62
63
64
// bool cutOnlyVertexAssocTracks() const; //!< Return true if this collection should only should tracks associated to a vertex
65
// //Cuts for number of hits per subsystem:
66
// QList<unsigned> cutRequiredNHits() const;//Empty list: no requirements. Otherwise a list
67
// // with a length of four (pixel,sct,trt,muon)
68
69
// //Overall drawstyles, complexities and light models:
70
// SoDrawStyle * trackDrawStyle() const;
71
// SoLightModel * trackLightModel() const;
72
73
// // Parameters
74
// SoMaterial* defaultParameterMaterial() const;
75
// SoMaterial* parameterMaterial( xAOD::ParameterPosition) const;
76
77
QByteArray
saveState
()
const
;
78
void
restoreFromState
(
const
QByteArray& );
79
80
signals
:
81
// void lastAppliedChanged(); // emitted when something related to material changes
82
void
cutAllowedPtChanged
(
const
VP1Interval
&);
83
void
cutAllowedEtaChanged
(
const
VP1Interval
&);
84
void
cutAllowedPhiChanged
(
const
QList<VP1Interval>&);
85
void
scaleChanged
(
const
double
&
scale
);
86
void
randomJetColoursChanged
(
const
bool
& ra);
87
void
rerandomise
();
88
void
maxRChanged
(
const
double
&
maxR
);
89
void
bTaggingEnabledChanged
(
const
bool
&);
90
void
bTaggingTaggerChanged
(
const
QString &);
91
void
bTaggingCutChanged
(
const
double
&);
92
void
bTaggingRenderingMaterialChanged
(
const
bool
&);
93
void
bTaggingMaterialChanged
();
94
void
bTaggingRenderingSkinChanged
(
bool
);
95
96
97
public
Q_SLOTS:
98
void
showEditMaterialDialog
();
99
void
setMaterialText
(
const
QString&);
100
101
102
protected
Q_SLOTS:
103
void
updateButton
();
104
105
protected
:
106
// void initEditWindow();//!< Make sure that edit window is constructed
107
void
mousePressEvent
(QMouseEvent *
event
);
108
void
mouseMoveEvent
(QMouseEvent *
event
);
109
void
dropEvent
(QDropEvent *
event
);
110
void
dragEnterEvent
(QDragEnterEvent *
event
);
111
private
:
112
113
class
Imp
;
114
Imp
*
m_d
;
115
116
private
Q_SLOTS:
117
// void updateTrackDrawStyle();
118
// void updateTrackLightModel(bool);
119
// void updateTrackTubeRadius();
120
// void updateHideActualTrackPath(bool);
121
// void possibleChange_cutRequiredNHits();
122
// void possibleChange_cutOnlyVertexAssocTracks();
123
// void possibleChange_showParameters();
124
// void possibleChange_parameterColours();
125
126
void
possibleChange_cutAllowedPt
();
127
void
possibleChange_cutAllowedEta
();
128
void
possibleChange_cutAllowedPhi
();
129
void
possibleChange_scale
();
130
void
possibleChange_randomJetColours
();
131
void
possibleChange_maxR
();
132
void
possibleChange_bTaggingEnabled
(
bool
);
133
void
possibleChange_bTaggingTagger
();
134
void
possibleChange_bTaggingCut
();
135
void
possibleChange_bTaggingRenderingMaterial
(
bool
);
136
// void possibleChange_bTaggingMaterial(); // not needed...
137
void
possibleChange_bTaggingRenderingSkin
(
bool
ok);
138
139
140
void
enableMaxR
(
bool
);
141
void
enableRandomColours
(
bool
);
142
143
void
emitRerandomise
();
144
145
void
checkSelection
();
146
147
148
};
149
150
#endif
151
152
JetCollectionSettingsButton::dropEvent
void dropEvent(QDropEvent *event)
Definition:
JetCollectionSettingsButton.cxx:614
JetCollectionSettingsButton::bTaggingRenderingSkinChanged
void bTaggingRenderingSkinChanged(bool)
JetCollectionSettingsButton::bTaggingTagger
QString bTaggingTagger() const
Definition:
JetCollectionSettingsButton.cxx:215
JetCollectionSettingsButton::cutAllowedEta
VP1Interval cutAllowedEta() const
Definition:
JetCollectionSettingsButton.cxx:799
JetCollectionSettingsButton::possibleChange_cutAllowedPhi
void possibleChange_cutAllowedPhi()
Definition:
JetCollectionSettingsButton.cxx:834
JetCollectionSettingsButton::Imp
Definition:
JetCollectionSettingsButton.cxx:39
yodamerge_tmp.dim
dim
Definition:
yodamerge_tmp.py:239
JetCollectionSettingsButton::bTaggingCut
double bTaggingCut() const
Definition:
JetCollectionSettingsButton.cxx:211
JetCollectionSettingsButton::bTaggingMaterial
SoMaterial * bTaggingMaterial() const
Definition:
JetCollectionSettingsButton.cxx:223
JetCollectionSettingsButton::setMaterial
virtual bool setMaterial(SoMaterial *)
Definition:
JetCollectionSettingsButton.cxx:414
JetCollectionSettingsButton::possibleChange_maxR
void possibleChange_maxR()
Definition:
JetCollectionSettingsButton.cxx:898
VP1MaterialButton
Definition:
VP1MaterialButton.h:46
JetCollectionSettingsButton
Definition:
JetCollectionSettingsButton.h:14
AODSystemController.h
JetCollectionSettingsButton::m_d
Imp * m_d
Definition:
JetCollectionSettingsButton.h:113
JetCollectionSettingsButton::lengthOf100GeV
double lengthOf100GeV()
Definition:
JetCollectionSettingsButton.cxx:192
JetCollectionSettingsButton::possibleChange_bTaggingCut
void possibleChange_bTaggingCut()
Definition:
JetCollectionSettingsButton.cxx:934
JetCollectionSettingsButton::getMaterialButton
VP1MaterialButton * getMaterialButton() const
Definition:
JetCollectionSettingsButton.cxx:422
VP1CollectionSettingsButtonBase.h
JetCollectionSettingsButton::cutAllowedEtaChanged
void cutAllowedEtaChanged(const VP1Interval &)
JetCollectionSettingsButton::cutAllowedPtChanged
void cutAllowedPtChanged(const VP1Interval &)
JetCollectionSettingsButton::bTaggingCutChanged
void bTaggingCutChanged(const double &)
JetCollectionSettingsButton::randomJetColours
bool randomJetColours() const
Definition:
JetCollectionSettingsButton.cxx:871
JetCollectionSettingsButton::bTaggingEnabled
bool bTaggingEnabled() const
Definition:
JetCollectionSettingsButton.cxx:227
JetCollectionSettingsButton::updateButton
void updateButton()
Definition:
JetCollectionSettingsButton.cxx:387
JetCollectionSettingsButton::cutAllowedPt
VP1Interval cutAllowedPt() const
Definition:
JetCollectionSettingsButton.cxx:763
yodamerge_tmp.scale
scale
Definition:
yodamerge_tmp.py:138
JetCollectionSettingsButton::lastAppliedBrightness
virtual double lastAppliedBrightness() const
Definition:
JetCollectionSettingsButton.cxx:442
JetCollectionSettingsButton::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition:
JetCollectionSettingsButton.cxx:807
JetCollectionSettingsButton::JetCollectionSettingsButton
JetCollectionSettingsButton(QWidget *parent=0, int dim=25, const QString &name="")
Definition:
JetCollectionSettingsButton.cxx:256
JetCollectionSettingsButton::possibleChange_bTaggingEnabled
void possibleChange_bTaggingEnabled(bool)
Definition:
JetCollectionSettingsButton.cxx:914
JetCollectionSettingsButton::showEditMaterialDialog
void showEditMaterialDialog()
Definition:
JetCollectionSettingsButton.cxx:403
JetCollectionSettingsButton::possibleChange_cutAllowedEta
void possibleChange_cutAllowedEta()
Definition:
JetCollectionSettingsButton.cxx:826
JetCollectionSettingsButton::setDimension
void setDimension(int dim)
Definition:
JetCollectionSettingsButton.cxx:395
JetCollectionSettingsButton::lastAppliedShininess
virtual double lastAppliedShininess() const
Definition:
JetCollectionSettingsButton.cxx:437
JetCollectionSettingsButton::scaleChanged
void scaleChanged(const double &scale)
JetCollectionSettingsButton::bTaggingTaggerChanged
void bTaggingTaggerChanged(const QString &)
JetCollectionSettingsButton::emitRerandomise
void emitRerandomise()
Definition:
JetCollectionSettingsButton.cxx:878
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
JetCollectionSettingsButton::enableMaxR
void enableMaxR(bool)
Definition:
JetCollectionSettingsButton.cxx:892
JetCollectionSettingsButton::maxR
double maxR()
Returns -1 if disabled in GUI, or value in m if enabled.
Definition:
JetCollectionSettingsButton.cxx:202
JetCollectionSettingsButton::bTaggingSkin
QString bTaggingSkin() const
Definition:
JetCollectionSettingsButton.cxx:219
VP1CollectionSettingsButtonBase
Definition:
VP1CollectionSettingsButtonBase.h:17
JetCollectionSettingsButton::setMaterialText
void setMaterialText(const QString &)
Definition:
JetCollectionSettingsButton.cxx:181
JetCollectionSettingsButton::possibleChange_scale
void possibleChange_scale()
Definition:
JetCollectionSettingsButton.cxx:842
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
JetCollectionSettingsButton::possibleChange_bTaggingTagger
void possibleChange_bTaggingTagger()
Definition:
JetCollectionSettingsButton.cxx:928
JetCollectionSettingsButton::checkSelection
void checkSelection()
Definition:
JetCollectionSettingsButton.cxx:733
JetCollectionSettingsButton::mousePressEvent
void mousePressEvent(QMouseEvent *event)
Definition:
JetCollectionSettingsButton.cxx:547
JetCollectionSettingsButton::maxRChanged
void maxRChanged(const double &maxR)
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition:
LegacyTopoMergerMap.py:13
JetCollectionSettingsButton::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event)
Definition:
JetCollectionSettingsButton.cxx:555
JetCollectionSettingsButton::saveState
QByteArray saveState() const
fill out with the state of the object (used for drag and drop etc)
Definition:
JetCollectionSettingsButton.cxx:622
JetCollectionSettingsButton::rerandomise
void rerandomise()
JetCollectionSettingsButton::cutAllowedPhiChanged
void cutAllowedPhiChanged(const QList< VP1Interval > &)
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
JetCollectionSettingsButton::restoreFromState
void restoreFromState(const QByteArray &)
Definition:
JetCollectionSettingsButton.cxx:672
JetCollectionSettingsButton::bTaggingRenderingMaterial
bool bTaggingRenderingMaterial() const
Definition:
JetCollectionSettingsButton.cxx:235
JetCollectionSettingsButton::is_bTaggingSkinEnabled
bool is_bTaggingSkinEnabled() const
Definition:
JetCollectionSettingsButton.cxx:240
JetCollectionSettingsButton::possibleChange_cutAllowedPt
void possibleChange_cutAllowedPt()
Definition:
JetCollectionSettingsButton.cxx:816
JetCollectionSettingsButton::copyValuesFromMaterial
virtual void copyValuesFromMaterial(SoMaterial *)
Definition:
JetCollectionSettingsButton.cxx:427
VP1Interval
Definition:
VP1Interval.h:23
JetCollectionSettingsButton::possibleChange_bTaggingRenderingMaterial
void possibleChange_bTaggingRenderingMaterial(bool)
Definition:
JetCollectionSettingsButton.cxx:949
JetCollectionSettingsButton::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event)
Definition:
JetCollectionSettingsButton.cxx:562
JetCollectionSettingsButton::randomJetColoursChanged
void randomJetColoursChanged(const bool &ra)
JetCollectionSettingsButton::lastAppliedTransparency
virtual double lastAppliedTransparency() const
Definition:
JetCollectionSettingsButton.cxx:432
JetCollectionSettingsButton::possibleChange_bTaggingRenderingSkin
void possibleChange_bTaggingRenderingSkin(bool ok)
Definition:
JetCollectionSettingsButton.cxx:980
JetCollectionSettingsButton::enableRandomColours
void enableRandomColours(bool)
Definition:
JetCollectionSettingsButton.cxx:865
JetCollectionSettingsButton::bTaggingRenderingSkin
bool bTaggingRenderingSkin() const
Definition:
JetCollectionSettingsButton.cxx:231
JetCollectionSettingsButton::possibleChange_randomJetColours
void possibleChange_randomJetColours()
Definition:
JetCollectionSettingsButton.cxx:853
JetCollectionSettingsButton::bTaggingRenderingMaterialChanged
void bTaggingRenderingMaterialChanged(const bool &)
JetCollectionSettingsButton::is_bTaggingMaterialEnabled
bool is_bTaggingMaterialEnabled() const
Definition:
JetCollectionSettingsButton.cxx:246
JetCollectionSettingsButton::~JetCollectionSettingsButton
virtual ~JetCollectionSettingsButton()
Definition:
JetCollectionSettingsButton.cxx:379
JetCollectionSettingsButton::bTaggingEnabledChanged
void bTaggingEnabledChanged(const bool &)
JetCollectionSettingsButton::bTaggingMaterialChanged
void bTaggingMaterialChanged()
Generated on Fri Jan 10 2025 21:12:12 for ATLAS Offline Software by
1.8.18