ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1VertexSystems
VP1VertexSystems
VP1VertexCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
7
// //
8
// Header file for class VP1VertexCollection //
9
// //
10
// Description: Collections of reconstructed vertices //
11
// //
12
// Author: Andreas.Wildauer@cern.ch //
13
// Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
14
// Ben Zastovnik //
15
// Initial version: July 2008 //
16
// //
18
19
#ifndef VP1VERTEXCOLLECTION_H
20
#define VP1VERTEXCOLLECTION_H
21
22
#include "
VP1Base/VP1StdCollection.h
"
23
24
25
class
VertexSysController
;
26
class
SoPath;
27
28
namespace
Trk
{
29
class
Track
;
30
}
31
32
class
VP1VertexCollection
:
public
VP1StdCollection
{
33
34
Q_OBJECT
35
36
public
:
37
38
static
QList<VP1StdCollection*>
createCollections
(
VertexSysController
*controller);
39
40
VP1VertexCollection
(
VertexSysController
*controller,
const
QString& key);
41
virtual
~VP1VertexCollection
();
42
43
void
init
(
VP1MaterialButtonBase
* mat=0);
44
QList<QWidget*>
provideExtraWidgetsForGuiRow
()
const
;
45
46
QStringList
infoOnClicked
(SoPath* pickedPath);
//Provides info + pops path appropriately.
47
48
enum
COLOURBY
{
COLOUR_PERCOLLECTION
,
COLOUR_RANDOM
};
// FIXME - to StdCollection
49
COLOURBY
colourBy
()
const
{
return
m_colourby
; }
50
virtual
COLOURBY
defaultColourBy
()
const
{
return
COLOUR_PERCOLLECTION
; }
51
void
setColourBy
(
COLOURBY
);
52
protected
:
53
qint32
provideCollTypeID
()
const
{
return
0; }
//Vertex col. type: 0 for reconstructed vertices, 1 for truth vertices.
54
QString
provideSection
()
const
{
return
"Reconstructed Vertices"
; };
55
QString
provideSectionToolTip
()
const
{
return
"Collections of reconstructed vertices"
; }
56
//cppcheck-suppress returnByReference
57
QString
provideText
()
const
;
58
void
assignDefaultMaterial
(SoMaterial*)
const
;
59
bool
load
();
60
61
//FIXME: We need something like this for the trackparticles too:
62
signals:
63
void
tracksFromVertexChanged
(QList< std::pair<
const
SoMaterial*, QList< const Trk::Track*> > >&);
64
private
Q_SLOTS:
65
void
colourByComboBoxItemChanged
();
66
void
collVisibilityChanged
(
bool
vis);
67
void
rerandomiseRandomVertexColours
();
68
public
Q_SLOTS:
69
70
void
recheckAllCuts
();
71
void
updateAllShapes
();
72
private
:
73
74
class
Imp
;
75
Imp
*
m_d
;
76
COLOURBY
m_colourby
;
77
};
78
79
#endif
VP1StdCollection.h
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
VP1MaterialButtonBase
Definition
VP1MaterialButton.h:25
VP1StdCollection::VP1StdCollection
VP1StdCollection(IVP1System *, const QString &helperClassName)
Definition
VP1StdCollection.cxx:67
VP1VertexCollection::Imp
Definition
VP1VertexCollection.cxx:64
VP1VertexCollection::m_d
Imp * m_d
Definition
VP1VertexCollection.h:75
VP1VertexCollection::colourByComboBoxItemChanged
void colourByComboBoxItemChanged()
Definition
VP1VertexCollection.cxx:375
VP1VertexCollection::load
bool load()
Definition
VP1VertexCollection.cxx:464
VP1VertexCollection::VP1VertexCollection
VP1VertexCollection(VertexSysController *controller, const QString &key)
Definition
VP1VertexCollection.cxx:273
VP1VertexCollection::init
void init(VP1MaterialButtonBase *mat=0)
Definition
VP1VertexCollection.cxx:298
VP1VertexCollection::m_colourby
COLOURBY m_colourby
Definition
VP1VertexCollection.h:76
VP1VertexCollection::provideSection
QString provideSection() const
Definition
VP1VertexCollection.h:54
VP1VertexCollection::infoOnClicked
QStringList infoOnClicked(SoPath *pickedPath)
Definition
VP1VertexCollection.cxx:489
VP1VertexCollection::COLOURBY
COLOURBY
Definition
VP1VertexCollection.h:48
VP1VertexCollection::COLOUR_PERCOLLECTION
@ COLOUR_PERCOLLECTION
Definition
VP1VertexCollection.h:48
VP1VertexCollection::COLOUR_RANDOM
@ COLOUR_RANDOM
Definition
VP1VertexCollection.h:48
VP1VertexCollection::updateAllShapes
void updateAllShapes()
Definition
VP1VertexCollection.cxx:453
VP1VertexCollection::recheckAllCuts
void recheckAllCuts()
Definition
VP1VertexCollection.cxx:436
VP1VertexCollection::collVisibilityChanged
void collVisibilityChanged(bool vis)
Definition
VP1VertexCollection.cxx:547
VP1VertexCollection::colourBy
COLOURBY colourBy() const
Definition
VP1VertexCollection.h:49
VP1VertexCollection::defaultColourBy
virtual COLOURBY defaultColourBy() const
Definition
VP1VertexCollection.h:50
VP1VertexCollection::provideCollTypeID
qint32 provideCollTypeID() const
Definition
VP1VertexCollection.h:53
VP1VertexCollection::setColourBy
void setColourBy(COLOURBY)
Definition
VP1VertexCollection.cxx:321
VP1VertexCollection::~VP1VertexCollection
virtual ~VP1VertexCollection()
Definition
VP1VertexCollection.cxx:289
VP1VertexCollection::rerandomiseRandomVertexColours
void rerandomiseRandomVertexColours()
Definition
VP1VertexCollection.cxx:560
VP1VertexCollection::provideText
QString provideText() const
Definition
VP1VertexCollection.cxx:385
VP1VertexCollection::provideExtraWidgetsForGuiRow
QList< QWidget * > provideExtraWidgetsForGuiRow() const
Definition
VP1VertexCollection.cxx:368
VP1VertexCollection::assignDefaultMaterial
void assignDefaultMaterial(SoMaterial *) const
Definition
VP1VertexCollection.cxx:430
VP1VertexCollection::provideSectionToolTip
QString provideSectionToolTip() const
Definition
VP1VertexCollection.h:55
VP1VertexCollection::tracksFromVertexChanged
void tracksFromVertexChanged(QList< std::pair< const SoMaterial *, QList< const Trk::Track * > > > &)
VP1VertexCollection::createCollections
static QList< VP1StdCollection * > createCollections(VertexSysController *controller)
Definition
VP1VertexCollection.cxx:52
VertexSysController
Definition
VertexSysController.h:24
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0