ATLAS Offline Software
Loading...
Searching...
No Matches
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
22class SoGroup;
23
25
26 Q_OBJECT
27
28public:
29
32
34 int currentSettingsVersion() 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:
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;
63 unsigned lucidMinQDC() const;
64
65 //Display options:
66 bool showVolumeOutLines() const;
67 bool useSpecialTRTHTMaterial() const;
69
71 // Signals for changes in settings //
73signals:
75 void cutAllowedPhiChanged(const QList<VP1Interval>&);
79 void enabledInDetPartsChanged(VP1RawDataFlags::InDetPartsFlags);
81 void trtAllowedToTChanged(const VP1Interval&);//nano-seconds
82 void lucidMinQDCChanged(unsigned);
83
84private:
85
86 class Imp;
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 );
92private Q_SLOTS:
102};
103
104#endif
VP1Controller(IVP1System *sys, const QString &classname)
void showVolumeOutLinesChanged(bool)
void cutAllowedEtaChanged(const VP1Interval &)
QList< VP1Interval > cutAllowedPhi() const
void useSpecialBCMHighAttMaterialChanged(bool)
void cutAllowedPhiChanged(const QList< VP1Interval > &)
void useSpecialTRTHTMaterialChanged(bool)
void enabledInDetPartsChanged(VP1RawDataFlags::InDetPartsFlags)
void actualRestoreSettings(VP1Deserialise &)
SoMaterial * bcmHighAttMaterial() const
void possibleChange_useSpecialTRTHTMaterial()
void possibleChange_useSpecialBCMHighAttMaterial()
void actualSaveSettings(VP1Serialise &) const
void possibleChange_enabledInDetParts()
void trtAllowedToTChanged(const VP1Interval &)
VP1CollectionWidget * collWidget() const
VP1RawDataFlags::InDetPartsFlags enabledInDetParts() const
void possibleChange_showVolumeOutLines()
void lucidMinQDCChanged(unsigned)
void trtRequireHTChanged(bool)