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

Public Member Functions

 Imp ()
 
void initEditWindow ()
 

Public Attributes

TrackParticleCollectionSettingsButtontheclass
 
QWidget * editwindow
 
Ui::TrackParticleCollectionSettingsForm 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 TrackParticleCollectionSettingsButton.cxx.

Constructor & Destructor Documentation

◆ Imp()

TrackParticleCollectionSettingsButton::Imp::Imp ( )
inline

Member Function Documentation

◆ initEditWindow()

void TrackParticleCollectionSettingsButton::Imp::initEditWindow ( )

Definition at line 74 of file TrackParticleCollectionSettingsButton.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* TrackParticleCollectionSettingsButton::Imp::defaultParametersMatButton

Definition at line 50 of file TrackParticleCollectionSettingsButton.cxx.

◆ dim

int TrackParticleCollectionSettingsButton::Imp::dim

Definition at line 67 of file TrackParticleCollectionSettingsButton.cxx.

◆ dragStartPosition

QPoint TrackParticleCollectionSettingsButton::Imp::dragStartPosition

Definition at line 68 of file TrackParticleCollectionSettingsButton.cxx.

◆ editwindow

QWidget* TrackParticleCollectionSettingsButton::Imp::editwindow

Definition at line 46 of file TrackParticleCollectionSettingsButton.cxx.

◆ editwindow_ui

Ui::TrackParticleCollectionSettingsForm TrackParticleCollectionSettingsButton::Imp::editwindow_ui {}

Definition at line 47 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_cutAllowedEta

VP1Interval TrackParticleCollectionSettingsButton::Imp::last_cutAllowedEta

Definition at line 61 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_cutAllowedP

VP1Interval TrackParticleCollectionSettingsButton::Imp::last_cutAllowedP

Definition at line 60 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_cutAllowedPhi

QList<VP1Interval> TrackParticleCollectionSettingsButton::Imp::last_cutAllowedPhi

Definition at line 62 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_cutAllowedPt

VP1Interval TrackParticleCollectionSettingsButton::Imp::last_cutAllowedPt

Definition at line 59 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_cutOnlyVertexAssocTracks

bool TrackParticleCollectionSettingsButton::Imp::last_cutOnlyVertexAssocTracks

Definition at line 64 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_cutRequiredNHits

QList<unsigned> TrackParticleCollectionSettingsButton::Imp::last_cutRequiredNHits

Definition at line 63 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_trackTubeRadius

double TrackParticleCollectionSettingsButton::Imp::last_trackTubeRadius

Definition at line 58 of file TrackParticleCollectionSettingsButton.cxx.

◆ last_useDefaultCuts

bool TrackParticleCollectionSettingsButton::Imp::last_useDefaultCuts

Definition at line 65 of file TrackParticleCollectionSettingsButton.cxx.

◆ matButton

VP1MaterialButton* TrackParticleCollectionSettingsButton::Imp::matButton

Definition at line 49 of file TrackParticleCollectionSettingsButton.cxx.

◆ parameterTypeMatButtons

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

Definition at line 52 of file TrackParticleCollectionSettingsButton.cxx.

◆ theclass

TrackParticleCollectionSettingsButton* TrackParticleCollectionSettingsButton::Imp::theclass

Definition at line 45 of file TrackParticleCollectionSettingsButton.cxx.

◆ trackDrawStyle

SoDrawStyle* TrackParticleCollectionSettingsButton::Imp::trackDrawStyle

Definition at line 54 of file TrackParticleCollectionSettingsButton.cxx.

◆ trackLightModel

SoLightModel* TrackParticleCollectionSettingsButton::Imp::trackLightModel

Definition at line 55 of file TrackParticleCollectionSettingsButton.cxx.


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