ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
ElectronCollectionSettingsButton::Imp Class Reference
Collaboration diagram for ElectronCollectionSettingsButton::Imp:

Public Member Functions

 Imp ()
 
void initEditWindow ()
 

Public Attributes

ElectronCollectionSettingsButtontheclass
 
QWidget * editwindow
 
Ui::ElectronCollectionSettingsForm editwindow_ui {}
 
VP1MaterialButtonmatButton
 
VP1MaterialButtondefaultParametersMatButton
 
QList< VP1MaterialButton * > parameterTypeMatButtons
 
SoDrawStyle * trackDrawStyle
 
SoLightModel * trackLightModel
 
double last_trackTubeRadius
 
VP1Interval last_cutAllowedPt
 
VP1Interval last_cutAllowedP
 
VP1Interval last_cutAllowedEta
 
QList< VP1Intervallast_cutAllowedPhi
 
QList< unsigned > last_cutRequiredNHits
 
bool last_cutOnlyVertexAssocTracks
 
bool last_useDefaultCuts
 
int dim
 
QPoint dragStartPosition
 

Detailed Description

Definition at line 38 of file ElectronCollectionSettingsButton.cxx.

Constructor & Destructor Documentation

◆ Imp()

ElectronCollectionSettingsButton::Imp::Imp ( )
inline

Member Function Documentation

◆ initEditWindow()

void ElectronCollectionSettingsButton::Imp::initEditWindow ( )

Definition at line 74 of file ElectronCollectionSettingsButton.cxx.

75 {
76  if (editwindow)
77  return;
78  theclass->messageVerbose("Initialising material editor dialog");
79  editwindow = new QWidget(0,Qt::WindowStaysOnTopHint);
80  editwindow_ui.setupUi(editwindow);
81  matButton = editwindow_ui.pushButton_matButton;
82 
83  defaultParametersMatButton = editwindow_ui.matButton_parametersDefaultColour;
84  SoMaterial* defParamMat = new SoMaterial; // Default (for the moment)
86  editwindow_ui.frame_parameterTypeColours->hide();
87 
88  // Set the default colours for the "colour by parameter type" section
89  parameterTypeMatButtons.append(editwindow_ui.pushButton_matButton_parameters_default_colour_2);
90  parameterTypeMatButtons.append(editwindow_ui.pushButton_matButton_parameters_default_colour_3);
91  parameterTypeMatButtons.append(editwindow_ui.pushButton_matButton_parameters_default_colour_4);
92  parameterTypeMatButtons.append(editwindow_ui.pushButton_matButton_parameters_default_colour_5);
93  parameterTypeMatButtons.append(editwindow_ui.pushButton_matButton_parameters_default_colour_6);
94  parameterTypeMatButtons.append(editwindow_ui.pushButton_matButton_parameters_default_colour_7);
95  QList<QColor> colours;
96  colours.append(QColor(0.0, 170.0, 255.0));
97  colours.append(QColor(170, 85, 255));
98  colours.append(QColor(255, 85, 0));
99  colours.append(QColor(170, 0, 127));
100  colours.append(QColor(170, 255, 0));
101  colours.append(QColor(85, 0, 255));
102 
103  for (unsigned int i=0; i<6;++i){
104  SoMaterial * mat = VP1MaterialButton::createMaterial(colours.at(i));
106  }
107 }

Member Data Documentation

◆ defaultParametersMatButton

VP1MaterialButton* ElectronCollectionSettingsButton::Imp::defaultParametersMatButton

Definition at line 50 of file ElectronCollectionSettingsButton.cxx.

◆ dim

int ElectronCollectionSettingsButton::Imp::dim

Definition at line 67 of file ElectronCollectionSettingsButton.cxx.

◆ dragStartPosition

QPoint ElectronCollectionSettingsButton::Imp::dragStartPosition

Definition at line 68 of file ElectronCollectionSettingsButton.cxx.

◆ editwindow

QWidget* ElectronCollectionSettingsButton::Imp::editwindow

Definition at line 46 of file ElectronCollectionSettingsButton.cxx.

◆ editwindow_ui

Ui::ElectronCollectionSettingsForm ElectronCollectionSettingsButton::Imp::editwindow_ui {}

Definition at line 47 of file ElectronCollectionSettingsButton.cxx.

◆ last_cutAllowedEta

VP1Interval ElectronCollectionSettingsButton::Imp::last_cutAllowedEta

Definition at line 61 of file ElectronCollectionSettingsButton.cxx.

◆ last_cutAllowedP

VP1Interval ElectronCollectionSettingsButton::Imp::last_cutAllowedP

Definition at line 60 of file ElectronCollectionSettingsButton.cxx.

◆ last_cutAllowedPhi

QList<VP1Interval> ElectronCollectionSettingsButton::Imp::last_cutAllowedPhi

Definition at line 62 of file ElectronCollectionSettingsButton.cxx.

◆ last_cutAllowedPt

VP1Interval ElectronCollectionSettingsButton::Imp::last_cutAllowedPt

Definition at line 59 of file ElectronCollectionSettingsButton.cxx.

◆ last_cutOnlyVertexAssocTracks

bool ElectronCollectionSettingsButton::Imp::last_cutOnlyVertexAssocTracks

Definition at line 64 of file ElectronCollectionSettingsButton.cxx.

◆ last_cutRequiredNHits

QList<unsigned> ElectronCollectionSettingsButton::Imp::last_cutRequiredNHits

Definition at line 63 of file ElectronCollectionSettingsButton.cxx.

◆ last_trackTubeRadius

double ElectronCollectionSettingsButton::Imp::last_trackTubeRadius

Definition at line 58 of file ElectronCollectionSettingsButton.cxx.

◆ last_useDefaultCuts

bool ElectronCollectionSettingsButton::Imp::last_useDefaultCuts

Definition at line 65 of file ElectronCollectionSettingsButton.cxx.

◆ matButton

VP1MaterialButton* ElectronCollectionSettingsButton::Imp::matButton

Definition at line 49 of file ElectronCollectionSettingsButton.cxx.

◆ parameterTypeMatButtons

QList<VP1MaterialButton*> ElectronCollectionSettingsButton::Imp::parameterTypeMatButtons

Definition at line 52 of file ElectronCollectionSettingsButton.cxx.

◆ theclass

ElectronCollectionSettingsButton* ElectronCollectionSettingsButton::Imp::theclass

Definition at line 45 of file ElectronCollectionSettingsButton.cxx.

◆ trackDrawStyle

SoDrawStyle* ElectronCollectionSettingsButton::Imp::trackDrawStyle

Definition at line 54 of file ElectronCollectionSettingsButton.cxx.

◆ trackLightModel

SoLightModel* ElectronCollectionSettingsButton::Imp::trackLightModel

Definition at line 55 of file ElectronCollectionSettingsButton.cxx.


The documentation for this class was generated from the following file:
ElectronCollectionSettingsButton::Imp::trackDrawStyle
SoDrawStyle * trackDrawStyle
Definition: ElectronCollectionSettingsButton.cxx:54
ElectronCollectionSettingsButton::Imp::last_trackTubeRadius
double last_trackTubeRadius
Definition: ElectronCollectionSettingsButton.cxx:58
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
ElectronCollectionSettingsButton::Imp::last_cutOnlyVertexAssocTracks
bool last_cutOnlyVertexAssocTracks
Definition: ElectronCollectionSettingsButton.cxx:64
ElectronCollectionSettingsButton::Imp::editwindow
QWidget * editwindow
Definition: ElectronCollectionSettingsButton.cxx:46
lumiFormat.i
int i
Definition: lumiFormat.py:85
ElectronCollectionSettingsButton::Imp::editwindow_ui
Ui::ElectronCollectionSettingsForm editwindow_ui
Definition: ElectronCollectionSettingsButton.cxx:47
ElectronCollectionSettingsButton::Imp::trackLightModel
SoLightModel * trackLightModel
Definition: ElectronCollectionSettingsButton.cxx:55
ElectronCollectionSettingsButton::Imp::matButton
VP1MaterialButton * matButton
Definition: ElectronCollectionSettingsButton.cxx:49
ElectronCollectionSettingsButton::Imp::dim
int dim
Definition: ElectronCollectionSettingsButton.cxx:67
ElectronCollectionSettingsButton::Imp::last_useDefaultCuts
bool last_useDefaultCuts
Definition: ElectronCollectionSettingsButton.cxx:65
VP1MaterialButton::setMaterial
bool setMaterial(SoMaterial *)
Definition: VP1MaterialButton.cxx:447
ElectronCollectionSettingsButton::Imp::theclass
ElectronCollectionSettingsButton * theclass
Definition: ElectronCollectionSettingsButton.cxx:45
VP1MaterialButton::createMaterial
static SoMaterial * createMaterial(const QColor &, const double &brightness=0.0, const double &transp=0.0)
Definition: VP1MaterialButton.cxx:786
ElectronCollectionSettingsButton::Imp::defaultParametersMatButton
VP1MaterialButton * defaultParametersMatButton
Definition: ElectronCollectionSettingsButton.cxx:50
ElectronCollectionSettingsButton::Imp::parameterTypeMatButtons
QList< VP1MaterialButton * > parameterTypeMatButtons
Definition: ElectronCollectionSettingsButton.cxx:52
ElectronCollectionSettingsButton::setMaterial
virtual bool setMaterial(SoMaterial *)
Definition: ElectronCollectionSettingsButton.cxx:245
colours
int colours[6]
Definition: computils.cxx:44