ATLAS Offline Software
VP1TruthVertexCollection.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 
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 
24 namespace Trk {
25  class Track;
26 }
27 
28 class SoPath;
30 
32 
33  Q_OBJECT
34 
35 public:
36 
37  static QList<VP1StdCollection*> createCollections(VertexSysController*);
38 
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  QString provideText() const;
49  void assignDefaultMaterial(SoMaterial*) const;
50  bool load();
51 signals:
52  void tracksFromVertexChanged(QList< std::pair<const SoMaterial*, QList< const Trk::Track*> > >&);
53 
54 private Q_SLOTS:
55  void recheckAllCuts();
56  void updateAllShapes();
57 
58 private:
59 
60  class Imp;
61  Imp * m_d;
62 
63 };
64 
65 #endif
VP1TruthVertexCollection::provideSection
QString provideSection() const
Definition: VP1TruthVertexCollection.h:46
VP1TruthVertexCollection::recheckAllCuts
void recheckAllCuts()
Definition: VP1TruthVertexCollection.cxx:347
VP1TruthVertexCollection::VP1TruthVertexCollection
VP1TruthVertexCollection(VertexSysController *, const QString &key)
Definition: VP1TruthVertexCollection.cxx:190
VP1TruthVertexCollection::provideText
QString provideText() const
Definition: VP1TruthVertexCollection.cxx:212
VP1TruthVertexCollection::load
bool load()
Definition: VP1TruthVertexCollection.cxx:242
VP1TruthVertexCollection::provideSectionToolTip
QString provideSectionToolTip() const
Definition: VP1TruthVertexCollection.h:47
VP1TruthVertexCollection::infoOnClicked
QStringList infoOnClicked(SoPath *pickedPath)
Definition: VP1TruthVertexCollection.cxx:277
VP1TruthVertexCollection::provideCollTypeID
qint32 provideCollTypeID() const
Definition: VP1TruthVertexCollection.h:45
VP1TruthVertexCollection::Imp
Definition: VP1TruthVertexCollection.cxx:56
VP1TruthVertexCollection::tracksFromVertexChanged
void tracksFromVertexChanged(QList< std::pair< const SoMaterial *, QList< const Trk::Track * > > > &)
VP1TruthVertexCollection::updateAllShapes
void updateAllShapes()
Definition: VP1TruthVertexCollection.cxx:357
VP1TruthVertexCollection
Definition: VP1TruthVertexCollection.h:31
VP1TruthVertexCollection::createCollections
static QList< VP1StdCollection * > createCollections(VertexSysController *)
Definition: VP1TruthVertexCollection.cxx:43
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
VP1TruthVertexCollection::~VP1TruthVertexCollection
virtual ~VP1TruthVertexCollection()
Definition: VP1TruthVertexCollection.cxx:204
VP1TruthVertexCollection::assignDefaultMaterial
void assignDefaultMaterial(SoMaterial *) const
Definition: VP1TruthVertexCollection.cxx:218
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
VP1StdCollection
Definition: VP1StdCollection.h:31
VP1TruthVertexCollection::m_d
Imp * m_d
Definition: VP1TruthVertexCollection.h:60
VP1StdCollection.h
VertexSysController
Definition: VertexSysController.h:24
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37