ATLAS Offline Software
TrackSystemDisplay.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 #ifndef TRACKSYSTEMDISPLAY_H
6 #define TRACKSYSTEMDISPLAY_H
7 
8 /***********************************************************************************
9  * @Package : VP1TriggerSystems
10  * @class : TrackSystemDisplay
11  *
12  * @brief : Temp. Version of Track Display (Header; for testing purposes only)
13  *
14  * @author : Manuel Proissl <mproissl@cern.ch> - University of Edinburgh
15  * @author : Thomas Kittelmann <thomas.kittelmann@cern.ch>
16  ***********************************************************************************/
17 
18 //Includes
20 #include <iostream>
21 #include <string>
22 #include <vector>
23 #include <QList>
24 #include <stdio.h>
25 #include <map>
26 
27 //Classes
28 class SoSwitch;
29 namespace Trk { class Track; }
30 class QTextBrowser;
31 
33 {
34  Q_OBJECT
35 
36 public:
38  virtual ~TrackSystemDisplay(){};
39  void buildEventSceneGraph(StoreGateSvc* sg, SoSeparator *root);
40  void userPickedNode(SoNode* pickedNode, SoPath * pickedPath);
41  void userChangedSelection(SoCooperativeSelection*, QSet<SoNode*>, QSet<SoPath*>);
42  QWidget * buildController();
43  void printTrackInfo(QString title, QList<QString> paraname, QList<QString> paravalue);
44 
45 private slots:
46  void ptCutChanged(double);
47  void updateSelectionMode(bool single);
48 /*
49 protected:
50  class Imp;
51  Imp * d;
52 */
53 private:
54  std::map<SoNode*,const Trk::Track *> m_nodeToTrack;
55  std::map<SoSwitch*,double> m_switchToPt;
56 
57  double m_ptcut;
59 
60  QTextBrowser * m_trackInfoDisplay;
61 };
62 #endif
IVP13DSystemSimple
Definition: IVP13DSystemSimple.h:24
TrackSystemDisplay::printTrackInfo
void printTrackInfo(QString title, QList< QString > paraname, QList< QString > paravalue)
Definition: TrackSystemDisplay.cxx:218
TrackSystemDisplay::m_ptcut
double m_ptcut
Definition: TrackSystemDisplay.h:57
TrackSystemDisplay::m_multiselection
SoCooperativeSelection * m_multiselection
Definition: TrackSystemDisplay.h:58
TrackSystemDisplay::buildEventSceneGraph
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
Definition: TrackSystemDisplay.cxx:53
TrackSystemDisplay
Definition: TrackSystemDisplay.h:33
sendEI_SPB.root
root
Definition: sendEI_SPB.py:34
IVP13DSystemSimple.h
TrackSystemDisplay::buildController
QWidget * buildController()
Definition: TrackSystemDisplay.cxx:190
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
covarianceTool.title
title
Definition: covarianceTool.py:542
TrackSystemDisplay::updateSelectionMode
void updateSelectionMode(bool single)
Definition: TrackSystemDisplay.cxx:261
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TrackSystemDisplay::userPickedNode
void userPickedNode(SoNode *pickedNode, SoPath *pickedPath)
Definition: TrackSystemDisplay.cxx:117
TrackSystemDisplay::m_nodeToTrack
std::map< SoNode *, const Trk::Track * > m_nodeToTrack
Definition: TrackSystemDisplay.h:54
TrackSystemDisplay::ptCutChanged
void ptCutChanged(double)
Definition: TrackSystemDisplay.cxx:248
TrackSystemDisplay::m_trackInfoDisplay
QTextBrowser * m_trackInfoDisplay
Definition: TrackSystemDisplay.h:60
TrackSystemDisplay::userChangedSelection
void userChangedSelection(SoCooperativeSelection *, QSet< SoNode * >, QSet< SoPath * >)
Definition: TrackSystemDisplay.cxx:150
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
TrackSystemDisplay::~TrackSystemDisplay
virtual ~TrackSystemDisplay()
Definition: TrackSystemDisplay.h:38
TrackSystemDisplay::TrackSystemDisplay
TrackSystemDisplay()
Definition: TrackSystemDisplay.cxx:41
SoCooperativeSelection
Definition: SoCooperativeSelection.h:29
TrackSystemDisplay::m_switchToPt
std::map< SoSwitch *, double > m_switchToPt
Definition: TrackSystemDisplay.h:55