ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24namespace Trk {
25 class Track;
26}
27
28class SoPath;
30
32
33 Q_OBJECT
34
35public:
36
37 static QList<VP1StdCollection*> createCollections(VertexSysController*);
38
41
42 QStringList infoOnClicked(SoPath* pickedPath);//Provides info + pops path appropriately.
43
44protected:
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();
57signals:
58 void tracksFromVertexChanged(QList< std::pair<const SoMaterial*, QList< const Trk::Track*> > >&);
59
60private Q_SLOTS:
61 void recheckAllCuts();
62 void updateAllShapes();
63
64private:
65
66 class Imp;
68
69};
70
71#endif
VP1StdCollection(IVP1System *, const QString &helperClassName)
void assignDefaultMaterial(SoMaterial *) const
VP1TruthVertexCollection(VertexSysController *, const QString &key)
QStringList infoOnClicked(SoPath *pickedPath)
void tracksFromVertexChanged(QList< std::pair< const SoMaterial *, QList< const Trk::Track * > > > &)
static QList< VP1StdCollection * > createCollections(VertexSysController *)
Ensure that the ATLAS eigen extensions are properly loaded.