ATLAS Offline Software
VP1RawDataSysController.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 VP1RawDataSysController //
9 // //
10 // Description: Raw data system controller . //
11 // //
12 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13 // Initial version: January 2009 //
14 // //
16 
17 #ifndef VP1RAWDATASYSCONTROLLER_H
18 #define VP1RAWDATASYSCONTROLLER_H
19 
20 #include "VP1Base/VP1Controller.h"
22 class SoGroup;
23 
25 
26  Q_OBJECT
27 
28 public:
29 
31  virtual ~VP1RawDataSysController();
32 
34  int currentSettingsVersion() const;
35  void actualSaveSettings(VP1Serialise&) const;
36 
38 
40  // Access Methods for settings //
42 
43  //To put at start of the system scenegraph:
44  SoGroup * drawOptions() const;
45 
46  //Materials:
47  SoMaterial * trtHTMaterial() const;
48  SoMaterial * bcmHighAttMaterial() const;
49 
50  //Interactions (no change signals needed):
51  bool printInfoOnClick() const;
52  bool printVerboseInfoOnClick() const;
53  bool zoomOnClick() const;
54 
55  //General cuts:
56  VP1Interval cutAllowedEta() const;
57  QList<VP1Interval> cutAllowedPhi() const;//All off: empty list. All on: list with one entry: ]-inf,inf[
58 
59  //Other cuts:
60  VP1RawDataFlags::InDetPartsFlags enabledInDetParts() const;
61  bool trtRequireHT() const;
62  VP1Interval trtAllowedToT() const;
63  unsigned lucidMinQDC() const;
64 
65  //Display options:
66  bool showVolumeOutLines() const;
67  bool useSpecialTRTHTMaterial() const;
68  bool useSpecialBCMHighAttMaterial() const;
69 
71  // Signals for changes in settings //
73 signals:
75  void cutAllowedPhiChanged(const QList<VP1Interval>&);
79  void enabledInDetPartsChanged(VP1RawDataFlags::InDetPartsFlags);
80  void trtRequireHTChanged(bool);
81  void trtAllowedToTChanged(const VP1Interval&);//nano-seconds
82  void lucidMinQDCChanged(unsigned);
83 
84 private:
85 
86  class Imp;
87  Imp * m_d;
88 
89 // //For verbose output:
90 // template <class T> static QString toString( const T& t ) { return VP1Controller::toString(t); }//unhide base methods
91 // static QString toString( const QPair<bool,double>& par );
92 private Q_SLOTS:
102 };
103 
104 #endif
VP1RawDataSysController::possibleChange_cutAllowedEta
void possibleChange_cutAllowedEta()
VP1RawDataSysController::cutAllowedPhi
QList< VP1Interval > cutAllowedPhi() const
Definition: VP1RawDataSysController.cxx:215
VP1RawDataSysController::useSpecialBCMHighAttMaterialChanged
void useSpecialBCMHighAttMaterialChanged(bool)
VP1Serialise
Definition: VP1Serialise.h:45
VP1RawDataSysController::actualRestoreSettings
void actualRestoreSettings(VP1Deserialise &)
Definition: VP1RawDataSysController.cxx:162
VP1RawDataSysController::zoomOnClick
bool zoomOnClick() const
Definition: VP1RawDataSysController.cxx:206
VP1RawDataSysController::~VP1RawDataSysController
virtual ~VP1RawDataSysController()
Definition: VP1RawDataSysController.cxx:124
VP1RawDataSysController::possibleChange_lucidMinQDC
void possibleChange_lucidMinQDC()
VP1RawDataSysController::actualSaveSettings
void actualSaveSettings(VP1Serialise &) const
Definition: VP1RawDataSysController.cxx:137
VP1RawDataSysController::showVolumeOutLinesChanged
void showVolumeOutLinesChanged(bool)
VP1RawDataSysController::trtHTMaterial
SoMaterial * trtHTMaterial() const
Definition: VP1RawDataSysController.cxx:274
VP1RawDataSysController::cutAllowedEta
VP1Interval cutAllowedEta() const
Definition: VP1RawDataSysController.cxx:209
VP1RawDataSysController::possibleChange_trtRequireHT
void possibleChange_trtRequireHT()
VP1RawDataSysController
Definition: VP1RawDataSysController.h:24
VP1RawDataSysController::showVolumeOutLines
bool showVolumeOutLines() const
Definition: VP1RawDataSysController.cxx:221
VP1RawDataSysController::bcmHighAttMaterial
SoMaterial * bcmHighAttMaterial() const
Definition: VP1RawDataSysController.cxx:280
VP1RawDataSysController::cutAllowedEtaChanged
void cutAllowedEtaChanged(const VP1Interval &)
VP1RawDataSysController::currentSettingsVersion
int currentSettingsVersion() const
Definition: VP1RawDataSysController.cxx:131
VP1RawDataSysController::cutAllowedPhiChanged
void cutAllowedPhiChanged(const QList< VP1Interval > &)
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1RawDataSysController::trtRequireHT
bool trtRequireHT() const
Definition: VP1RawDataSysController.cxx:254
VP1RawDataSysController::possibleChange_enabledInDetParts
void possibleChange_enabledInDetParts()
IVP1System
Definition: IVP1System.h:36
VP1RawDataSysController::VP1RawDataSysController
VP1RawDataSysController(IVP1System *sys)
Definition: VP1RawDataSysController.cxx:52
VP1RawDataSysController::trtAllowedToTChanged
void trtAllowedToTChanged(const VP1Interval &)
VP1RawDataSysController::trtAllowedToT
VP1Interval trtAllowedToT() const
Definition: VP1RawDataSysController.cxx:260
VP1RawDataSysController::possibleChange_cutAllowedPhi
void possibleChange_cutAllowedPhi()
VP1RawDataSysController::possibleChange_useSpecialBCMHighAttMaterial
void possibleChange_useSpecialBCMHighAttMaterial()
VP1RawDataSysController::useSpecialTRTHTMaterialChanged
void useSpecialTRTHTMaterialChanged(bool)
VP1Deserialise
Definition: VP1Deserialise.h:44
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
VP1RawDataSysController::printInfoOnClick
bool printInfoOnClick() const
Definition: VP1RawDataSysController.cxx:204
VP1Controller
Definition: VP1Controller.h:45
VP1RawDataSysController::useSpecialTRTHTMaterial
bool useSpecialTRTHTMaterial() const
Definition: VP1RawDataSysController.cxx:227
VP1RawDataFlags.h
VP1RawDataSysController::m_d
Imp * m_d
Definition: VP1RawDataSysController.h:86
VP1RawDataSysController::lucidMinQDCChanged
void lucidMinQDCChanged(unsigned)
VP1RawDataSysController::enabledInDetParts
VP1RawDataFlags::InDetPartsFlags enabledInDetParts() const
Definition: VP1RawDataSysController.cxx:239
VP1RawDataSysController::enabledInDetPartsChanged
void enabledInDetPartsChanged(VP1RawDataFlags::InDetPartsFlags)
VP1Interval
Definition: VP1Interval.h:23
VP1RawDataSysController::printVerboseInfoOnClick
bool printVerboseInfoOnClick() const
Definition: VP1RawDataSysController.cxx:205
VP1CollectionWidget
Definition: VP1CollectionWidget.h:32
VP1RawDataSysController::collWidget
VP1CollectionWidget * collWidget() const
Definition: VP1RawDataSysController.cxx:192
VP1RawDataSysController::possibleChange_showVolumeOutLines
void possibleChange_showVolumeOutLines()
VP1RawDataSysController::possibleChange_useSpecialTRTHTMaterial
void possibleChange_useSpecialTRTHTMaterial()
VP1RawDataSysController::useSpecialBCMHighAttMaterial
bool useSpecialBCMHighAttMaterial() const
Definition: VP1RawDataSysController.cxx:233
VP1Controller.h
VP1RawDataSysController::trtRequireHTChanged
void trtRequireHTChanged(bool)
VP1RawDataSysController::drawOptions
SoGroup * drawOptions() const
Definition: VP1RawDataSysController.cxx:198
VP1RawDataSysController::Imp
Definition: VP1RawDataSysController.cxx:32
VP1RawDataSysController::lucidMinQDC
unsigned lucidMinQDC() const
Definition: VP1RawDataSysController.cxx:268
VP1RawDataSysController::possibleChange_trtAllowedToT
void possibleChange_trtAllowedToT()