ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterSysController.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 CaloClusterSysController //
9// //
10// Description: Calo cluster system controller. //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: July 2008 //
14// //
16
17#ifndef CALOCLUSTERSYSCONTROLLER_H
18#define CALOCLUSTERSYSCONTROLLER_H
19
21class SoGroup;
22
24
25 Q_OBJECT
26
27public:
28
31
33 int currentSettingsVersion() const;
35
37
39 // Access Methods for settings //
41
42 //To put at start of the system scenegraph:
43 SoGroup * drawOptions() const;
44
45 //Interactions (no change signals needed):
46 bool printInfoOnClick() const;
47 bool printVerboseInfoOnClick() const;
48 bool zoomOnClick() const;
49
50 //Scale:
51 //The bool indicates if it is logscale(true) or linear scale(false).
52 //The double is a parameter, p, used to get the length as a function
53 //of energy: Either p*|energy| or p*log(1+|energy|)
54 QPair<bool,double> scale() const;
55
56 //General cuts:
59 QList<VP1Interval> cutAllowedPhi() const;//All off: empty list. All on: list with one entry: ]-inf,inf[
60
61 //Display options:
62 bool showVolumeOutLines() const;
63
64 //consider Et rather than E? (both for display and cuts):
65 bool useTransverseEnergies() const;
66
68 // Signals for changes in settings //
70signals:
71 void scaleChanged(const QPair<bool,double>&);
74 void cutAllowedPhiChanged(const QList<VP1Interval>&);
77
78private:
79
80 class Imp;
82
83 //For verbose output:
84 template <class T> static QString toString( const T& t ) { return VP1Controller::toString(t); }//unhide base methods
85 static QString toString( const QPair<bool,double>& par );
86public Q_SLOTS:
88private Q_SLOTS:
95};
96
97#endif
VP1CollectionWidget * collWidget() const
void cutAllowedEtaChanged(const VP1Interval &)
void useTransverseEnergiesChanged(bool)
void possibleChange_showVolumeOutLines()
void cutAllowedEnergiesChanged(const VP1Interval &)
void possibleChange_useTransverseEnergies()
void cutAllowedPhiChanged(const QList< VP1Interval > &)
QList< VP1Interval > cutAllowedPhi() const
void scaleChanged(const QPair< bool, double > &)
static QString toString(const T &t)
void possibleChange_cutAllowedEnergies()
void actualSaveSettings(VP1Serialise &) const
void showVolumeOutLinesChanged(bool)
QPair< bool, double > scale() const
void actualRestoreSettings(VP1Deserialise &)
static QString toString(const T &par)
VP1Controller(IVP1System *sys, const QString &classname)