ATLAS Offline Software
VP1MbtsHelper.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 VP1MBTSHELPER_H
6 #define VP1MBTSHELPER_H
7 
8 #include "VP1Base/VP1Interval.h"
9 #include <vector>
10 #include <string>
11 #include <QObject>
12 
13 class StoreGateSvc;
14 class SoSeparator;
15 class SoNode;
17 
18 class VP1MbtsHelper : public QObject
19 {
20  Q_OBJECT
21 
22  public:
23  VP1MbtsHelper(bool outline);
25 
26  void systemcreate(StoreGateSvc* detstore);
27  void buildEventSceneGraph(StoreGateSvc* sg, SoSeparator* root);
28  void systemerase();
29 
30  void refreshGraph(const VP1Interval& interval);
31 
33 
34  // Selection feedback
35  std::vector<std::string> userPickedNode(SoNode* pickedNode);
36 
37  public Q_SLOTS:
39  void outlineUpdate(const bool& outline);
40  void clipVolumeRadiusChanged(double radius);
41 
42  private:
43  class Clockwork;
45 
46  bool m_outline;
47  double m_clipRadius;
48  bool m_run2Geo; // RUN2 geometry: the readout granularity of MBTS2 changes from 8 to 4
49 };
50 
51 #endif
VP1MbtsHelper::refreshGraph
void refreshGraph(const VP1Interval &interval)
Definition: VP1MbtsHelper.cxx:311
VP1MbtsHelper::selectionUpdated
void selectionUpdated(const VP1Interval &interval)
Definition: VP1MbtsHelper.cxx:347
VP1CaloCellController
Definition: VP1CaloCellController.h:33
sendEI_SPB.root
root
Definition: sendEI_SPB.py:34
VP1MbtsHelper::m_clipRadius
double m_clipRadius
Definition: VP1MbtsHelper.h:47
VP1MbtsHelper::systemerase
void systemerase()
Definition: VP1MbtsHelper.cxx:295
VP1MbtsHelper::clipVolumeRadiusChanged
void clipVolumeRadiusChanged(double radius)
Definition: VP1MbtsHelper.cxx:328
VP1MbtsHelper::~VP1MbtsHelper
~VP1MbtsHelper()
Definition: VP1MbtsHelper.cxx:61
VP1MbtsHelper::outlineUpdate
void outlineUpdate(const bool &outline)
Definition: VP1MbtsHelper.cxx:352
VP1MbtsHelper::Clockwork
Definition: VP1MbtsHelper.cxx:27
VP1MbtsHelper::m_outline
bool m_outline
Definition: VP1MbtsHelper.h:46
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
VP1MbtsHelper::buildEventSceneGraph
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
Definition: VP1MbtsHelper.cxx:274
getLatestRuns.interval
interval
Definition: getLatestRuns.py:24
VP1MbtsHelper::systemcreate
void systemcreate(StoreGateSvc *detstore)
Definition: VP1MbtsHelper.cxx:67
VP1Interval.h
VP1MbtsHelper::setController
void setController(VP1CaloCellController *)
Definition: VP1MbtsHelper.cxx:324
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
VP1MbtsHelper::userPickedNode
std::vector< std::string > userPickedNode(SoNode *pickedNode)
Definition: VP1MbtsHelper.cxx:335
VP1Interval
Definition: VP1Interval.h:23
VP1MbtsHelper
Definition: VP1MbtsHelper.h:19
VP1MbtsHelper::m_clockwork
Clockwork * m_clockwork
Definition: VP1MbtsHelper.h:43
VP1MbtsHelper::VP1MbtsHelper
VP1MbtsHelper(bool outline)
Definition: VP1MbtsHelper.cxx:49
VP1MbtsHelper::m_run2Geo
bool m_run2Geo
Definition: VP1MbtsHelper.h:48