ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1VertexSystems
VP1VertexSystems
VP1TruthVertexCollection.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 VP1TruthVertexCollection //
9
// //
10
// Description: Collections of truth 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 VP1TRUTHVERTEXCOLLECTION_H
20
#define VP1TRUTHVERTEXCOLLECTION_H
21
22
#include "
VP1Base/VP1StdCollection.h
"
23
24
namespace
Trk
{
25
class
Track
;
26
}
27
28
class
SoPath;
29
class
VertexSysController
;
30
31
class
VP1TruthVertexCollection
:
public
VP1StdCollection
{
32
33
Q_OBJECT
34
35
public
:
36
37
static
QList<VP1StdCollection*>
createCollections
(
VertexSysController
*);
38
39
VP1TruthVertexCollection
(
VertexSysController
*,
const
QString& key);
40
virtual
~VP1TruthVertexCollection
();
41
42
QStringList
infoOnClicked
(SoPath* pickedPath);
//Provides info + pops path appropriately.
43
44
protected
:
45
qint32
provideCollTypeID
()
const
{
return
1; }
//Vertex col. type: 0 for reconstructed vertices, 1 for truth vertices.
46
QString
provideSection
()
const
{
return
"Truth Vertices"
; };
47
QString
provideSectionToolTip
()
const
{
return
"Collections of truth vertices"
; }
48
/* While _in this class_ provideText could return by const reference, changing it here
49
* would imply changing it in the interface (VP1StdCollection). Some of the derived
50
* classes of VP1StdCollection build the string on the fly, so would end up returning
51
* a reference to a temporary.
52
*/
53
//cppcheck-suppress returnByReference
54
QString
provideText
()
const
;
55
void
assignDefaultMaterial
(SoMaterial*)
const
;
56
bool
load
();
57
signals:
58
void
tracksFromVertexChanged
(QList< std::pair<
const
SoMaterial*, QList< const Trk::Track*> > >&);
59
60
private
Q_SLOTS:
61
void
recheckAllCuts
();
62
void
updateAllShapes
();
63
64
private
:
65
66
class
Imp
;
67
Imp
*
m_d
;
68
69
};
70
71
#endif
VP1StdCollection.h
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
VP1StdCollection::VP1StdCollection
VP1StdCollection(IVP1System *, const QString &helperClassName)
Definition
VP1StdCollection.cxx:67
VP1TruthVertexCollection::Imp
Definition
VP1TruthVertexCollection.cxx:56
VP1TruthVertexCollection::assignDefaultMaterial
void assignDefaultMaterial(SoMaterial *) const
Definition
VP1TruthVertexCollection.cxx:209
VP1TruthVertexCollection::~VP1TruthVertexCollection
virtual ~VP1TruthVertexCollection()
Definition
VP1TruthVertexCollection.cxx:195
VP1TruthVertexCollection::VP1TruthVertexCollection
VP1TruthVertexCollection(VertexSysController *, const QString &key)
Definition
VP1TruthVertexCollection.cxx:181
VP1TruthVertexCollection::load
bool load()
Definition
VP1TruthVertexCollection.cxx:233
VP1TruthVertexCollection::m_d
Imp * m_d
Definition
VP1TruthVertexCollection.h:67
VP1TruthVertexCollection::infoOnClicked
QStringList infoOnClicked(SoPath *pickedPath)
Definition
VP1TruthVertexCollection.cxx:262
VP1TruthVertexCollection::updateAllShapes
void updateAllShapes()
Definition
VP1TruthVertexCollection.cxx:330
VP1TruthVertexCollection::provideText
QString provideText() const
Definition
VP1TruthVertexCollection.cxx:203
VP1TruthVertexCollection::provideSection
QString provideSection() const
Definition
VP1TruthVertexCollection.h:46
VP1TruthVertexCollection::provideSectionToolTip
QString provideSectionToolTip() const
Definition
VP1TruthVertexCollection.h:47
VP1TruthVertexCollection::tracksFromVertexChanged
void tracksFromVertexChanged(QList< std::pair< const SoMaterial *, QList< const Trk::Track * > > > &)
VP1TruthVertexCollection::createCollections
static QList< VP1StdCollection * > createCollections(VertexSysController *)
Definition
VP1TruthVertexCollection.cxx:43
VP1TruthVertexCollection::recheckAllCuts
void recheckAllCuts()
Definition
VP1TruthVertexCollection.cxx:320
VP1TruthVertexCollection::provideCollTypeID
qint32 provideCollTypeID() const
Definition
VP1TruthVertexCollection.h:45
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