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

Public Member Functions

InDetProjFlags::DetTypeFlags pixelPartsEnabledByGUIOrDataUsage () const
 
InDetProjFlags::DetTypeFlags sctPartsEnabledByGUIOrDataUsage () const
 
InDetProjFlags::DetTypeFlags trtPartsEnabledByGUIOrDataUsage () const
 

Static Public Member Functions

static SbColor4f color4f (const QColor &col, int transp_int)
 
static InDetProjFlags::InDetProjPartsFlags projPartsFlag (bool barrelinner, bool barrelouter, bool endcapinner, bool endcapouter, bool endcap_hidenormalcyls_when_zasr=false, bool endcap_zasr=false)
 

Public Attributes

GuideSysControllertheclass = nullptr
 
Ui::VP1GuidesControllerForm ui {}
 
Ui::VP1GuidesSysSettingsCoordinateAxesForm ui_axes {}
 
Ui::VP1GuidesSysSettingsEtaConeForm ui_etacones {}
 
Ui::VP1GuidesSysSettingsFloorAndLettersForm ui_floorandletters {}
 
Ui::VP1GuidesSysSettingsPeopleForm ui_people {}
 
Ui::VP1GuidesSysSettingsGridForm ui_grid {}
 
Ui::VP1GuidesSysSettingsIDProjSurfsForm ui_idprojsurfs {}
 
Ui::VP1TrackingVolumesForm ui_trkvolumes {}
 
Ui::VP1LinesForm ui_lines {}
 
InDetProjFlags::DetTypeFlags inDetDetTypesUsingProjections
 
bool last_showFloor = false
 
SbColor4f last_floorColourAndTransp
 
double last_floorExtent = 0.0
 
double last_floorSpacing = 0.0
 
double last_floorHeight = 0.0
 
bool last_showLetters = false
 
double last_lettersZPos = 0.0
 
double last_lettersVerticalPos = 0.0
 
bool last_showAxes = false
 
double last_axesLength = 0.0
 
SbVec3f last_axesPosition
 
double last_relAxesThickness = 0.0
 
bool last_showCartesianGrid = false
 
bool last_showCylindricalGrid = false
 
SbColor4f last_gridColourAndTransp
 
double last_gridSpacing = 0.0
 
double last_gridExtent = 0.0
 
bool last_showEtaCone1 = false
 
bool last_showEtaCone2 = false
 
bool last_showEtaCone3 = false
 
double last_etaConeValue1 = 0.0
 
double last_etaConeValue2 = 0.0
 
double last_etaConeValue3 = 0.0
 
double last_etaExtent = 0.0
 
bool last_showTrackingVolumes = false
 
bool last_showInnerDetector = false
 
bool last_showCalorimeters = false
 
bool last_showMuonSpectrometer = false
 
bool last_showLines = false
 
SbVec3f last_lineDirection
 
double last_line_eta = 0.0
 
bool last_showPeople = false
 
SbColor4f last_peopleColourAndTransp
 
double last_peopleVerticalPos = 0.0
 
InDetProjFlags::InDetProjPartsFlags last_applicablePixelProjParts
 
InDetProjFlags::InDetProjPartsFlags last_applicableSCTProjParts
 
InDetProjFlags::InDetProjPartsFlags last_applicableTRTProjParts
 
InDetProjFlags::InDetProjPartsFlags last_shownPixelProjSurfaces
 
InDetProjFlags::InDetProjPartsFlags last_shownSCTProjSurfaces
 
InDetProjFlags::InDetProjPartsFlags last_shownTRTProjSurfaces
 

Detailed Description

Definition at line 48 of file GuideSysController.cxx.

Member Function Documentation

◆ color4f()

static SbColor4f GuideSysController::Imp::color4f ( const QColor &  col,
int  transp_int 
)
inlinestatic

Definition at line 61 of file GuideSysController.cxx.

61  {
62  return SbColor4f(std::max<float>(0.0f,std::min<float>(1.0f,col.redF())),
63  std::max<float>(0.0f,std::min<float>(1.0f,col.greenF())),
64  std::max<float>(0.0f,std::min<float>(1.0f,col.blueF())),
65  std::max<float>(0.0f,std::min<float>(1.0f,1.0-transp_int/100.0)));
66  }

◆ pixelPartsEnabledByGUIOrDataUsage()

InDetProjFlags::DetTypeFlags GuideSysController::Imp::pixelPartsEnabledByGUIOrDataUsage ( ) const

Definition at line 729 of file GuideSysController.cxx.

730 {
731  InDetProjFlags::DetTypeFlags f(InDetProjFlags::NoDet);
732  if (ui_idprojsurfs.groupBox_pixelproj->isChecked()) {
733  if (ui_idprojsurfs.checkBox_pixelprojsurf_parts_asneeded->isChecked()) {
735  } else {
736  if (ui_idprojsurfs.checkBox_pixelprojsurf_parts_barrelA->isChecked()) f |= InDetProjFlags::Pixel_brlpos;
737  if (ui_idprojsurfs.checkBox_pixelprojsurf_parts_barrelC->isChecked()) f |= InDetProjFlags::Pixel_brlneg;
738  if (ui_idprojsurfs.checkBox_pixelprojsurf_parts_endcapA->isChecked()) f |= InDetProjFlags::Pixel_ecpos;
739  if (ui_idprojsurfs.checkBox_pixelprojsurf_parts_endcapC->isChecked()) f |= InDetProjFlags::Pixel_ecneg;
740  }
741  }
742  return f;
743 }

◆ projPartsFlag()

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::projPartsFlag ( bool  barrelinner,
bool  barrelouter,
bool  endcapinner,
bool  endcapouter,
bool  endcap_hidenormalcyls_when_zasr = false,
bool  endcap_zasr = false 
)
static

Definition at line 628 of file GuideSysController.cxx.

632 {
633  InDetProjFlags::InDetProjPartsFlags parts(InDetProjFlags::NoProjections);
634  //Given the general parts needed, what specific surfaces do we need:
635  if ( barrelinner )
637  if ( barrelouter ) {
640  }
641 
642  if ( !( endcap_zasr && endcap_hidenormalcyls_when_zasr ) ) {
643  if ( endcapinner ) {
644  //Inner:
647  }
648  if ( endcapouter ) {
649  //Outer:
652  }
653  }
654  //Special ZasR surfaces for the endcaps, placed in the barrel positions:
655  if (endcap_zasr) {
656  if ( barrelinner )
658  if ( barrelouter ) {
661  }
662  }
663  return parts;
664 }

◆ sctPartsEnabledByGUIOrDataUsage()

InDetProjFlags::DetTypeFlags GuideSysController::Imp::sctPartsEnabledByGUIOrDataUsage ( ) const

Definition at line 712 of file GuideSysController.cxx.

713 {
714  InDetProjFlags::DetTypeFlags f(InDetProjFlags::NoDet);
715  if (ui_idprojsurfs.groupBox_sctproj->isChecked()) {
716  if (ui_idprojsurfs.checkBox_sctprojsurf_parts_asneeded->isChecked()) {
718  } else {
719  if (ui_idprojsurfs.checkBox_sctprojsurf_parts_barrelA->isChecked()) f |= InDetProjFlags::SCT_brlpos;
720  if (ui_idprojsurfs.checkBox_sctprojsurf_parts_barrelC->isChecked()) f |= InDetProjFlags::SCT_brlneg;
721  if (ui_idprojsurfs.checkBox_sctprojsurf_parts_endcapA->isChecked()) f |= InDetProjFlags::SCT_ecpos;
722  if (ui_idprojsurfs.checkBox_sctprojsurf_parts_endcapC->isChecked()) f |= InDetProjFlags::SCT_ecneg;
723  }
724  }
725  return f;
726 }

◆ trtPartsEnabledByGUIOrDataUsage()

InDetProjFlags::DetTypeFlags GuideSysController::Imp::trtPartsEnabledByGUIOrDataUsage ( ) const

Definition at line 695 of file GuideSysController.cxx.

696 {
697  InDetProjFlags::DetTypeFlags f(InDetProjFlags::NoDet);
698  if (ui_idprojsurfs.groupBox_trtproj->isChecked()) {
699  if (ui_idprojsurfs.checkBox_trtprojsurf_parts_asneeded->isChecked()) {
701  } else {
702  if (ui_idprojsurfs.checkBox_trtprojsurf_parts_barrelA->isChecked()) f |= InDetProjFlags::TRT_brlpos;
703  if (ui_idprojsurfs.checkBox_trtprojsurf_parts_barrelC->isChecked()) f |= InDetProjFlags::TRT_brlneg;
704  if (ui_idprojsurfs.checkBox_trtprojsurf_parts_endcapA->isChecked()) f |= InDetProjFlags::TRT_ecpos;
705  if (ui_idprojsurfs.checkBox_trtprojsurf_parts_endcapC->isChecked()) f |= InDetProjFlags::TRT_ecneg;
706  }
707  }
708  return f;
709 }

Member Data Documentation

◆ inDetDetTypesUsingProjections

InDetProjFlags::DetTypeFlags GuideSysController::Imp::inDetDetTypesUsingProjections

Definition at line 68 of file GuideSysController.cxx.

◆ last_applicablePixelProjParts

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::last_applicablePixelProjParts

Definition at line 105 of file GuideSysController.cxx.

◆ last_applicableSCTProjParts

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::last_applicableSCTProjParts

Definition at line 106 of file GuideSysController.cxx.

◆ last_applicableTRTProjParts

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::last_applicableTRTProjParts

Definition at line 107 of file GuideSysController.cxx.

◆ last_axesLength

double GuideSysController::Imp::last_axesLength = 0.0

Definition at line 79 of file GuideSysController.cxx.

◆ last_axesPosition

SbVec3f GuideSysController::Imp::last_axesPosition

Definition at line 80 of file GuideSysController.cxx.

◆ last_etaConeValue1

double GuideSysController::Imp::last_etaConeValue1 = 0.0

Definition at line 90 of file GuideSysController.cxx.

◆ last_etaConeValue2

double GuideSysController::Imp::last_etaConeValue2 = 0.0

Definition at line 91 of file GuideSysController.cxx.

◆ last_etaConeValue3

double GuideSysController::Imp::last_etaConeValue3 = 0.0

Definition at line 92 of file GuideSysController.cxx.

◆ last_etaExtent

double GuideSysController::Imp::last_etaExtent = 0.0

Definition at line 93 of file GuideSysController.cxx.

◆ last_floorColourAndTransp

SbColor4f GuideSysController::Imp::last_floorColourAndTransp

Definition at line 71 of file GuideSysController.cxx.

◆ last_floorExtent

double GuideSysController::Imp::last_floorExtent = 0.0

Definition at line 72 of file GuideSysController.cxx.

◆ last_floorHeight

double GuideSysController::Imp::last_floorHeight = 0.0

Definition at line 74 of file GuideSysController.cxx.

◆ last_floorSpacing

double GuideSysController::Imp::last_floorSpacing = 0.0

Definition at line 73 of file GuideSysController.cxx.

◆ last_gridColourAndTransp

SbColor4f GuideSysController::Imp::last_gridColourAndTransp

Definition at line 84 of file GuideSysController.cxx.

◆ last_gridExtent

double GuideSysController::Imp::last_gridExtent = 0.0

Definition at line 86 of file GuideSysController.cxx.

◆ last_gridSpacing

double GuideSysController::Imp::last_gridSpacing = 0.0

Definition at line 85 of file GuideSysController.cxx.

◆ last_lettersVerticalPos

double GuideSysController::Imp::last_lettersVerticalPos = 0.0

Definition at line 77 of file GuideSysController.cxx.

◆ last_lettersZPos

double GuideSysController::Imp::last_lettersZPos = 0.0

Definition at line 76 of file GuideSysController.cxx.

◆ last_line_eta

double GuideSysController::Imp::last_line_eta = 0.0

Definition at line 100 of file GuideSysController.cxx.

◆ last_lineDirection

SbVec3f GuideSysController::Imp::last_lineDirection

Definition at line 99 of file GuideSysController.cxx.

◆ last_peopleColourAndTransp

SbColor4f GuideSysController::Imp::last_peopleColourAndTransp

Definition at line 102 of file GuideSysController.cxx.

◆ last_peopleVerticalPos

double GuideSysController::Imp::last_peopleVerticalPos = 0.0

Definition at line 103 of file GuideSysController.cxx.

◆ last_relAxesThickness

double GuideSysController::Imp::last_relAxesThickness = 0.0

Definition at line 81 of file GuideSysController.cxx.

◆ last_showAxes

bool GuideSysController::Imp::last_showAxes = false

Definition at line 78 of file GuideSysController.cxx.

◆ last_showCalorimeters

bool GuideSysController::Imp::last_showCalorimeters = false

Definition at line 96 of file GuideSysController.cxx.

◆ last_showCartesianGrid

bool GuideSysController::Imp::last_showCartesianGrid = false

Definition at line 82 of file GuideSysController.cxx.

◆ last_showCylindricalGrid

bool GuideSysController::Imp::last_showCylindricalGrid = false

Definition at line 83 of file GuideSysController.cxx.

◆ last_showEtaCone1

bool GuideSysController::Imp::last_showEtaCone1 = false

Definition at line 87 of file GuideSysController.cxx.

◆ last_showEtaCone2

bool GuideSysController::Imp::last_showEtaCone2 = false

Definition at line 88 of file GuideSysController.cxx.

◆ last_showEtaCone3

bool GuideSysController::Imp::last_showEtaCone3 = false

Definition at line 89 of file GuideSysController.cxx.

◆ last_showFloor

bool GuideSysController::Imp::last_showFloor = false

Definition at line 70 of file GuideSysController.cxx.

◆ last_showInnerDetector

bool GuideSysController::Imp::last_showInnerDetector = false

Definition at line 95 of file GuideSysController.cxx.

◆ last_showLetters

bool GuideSysController::Imp::last_showLetters = false

Definition at line 75 of file GuideSysController.cxx.

◆ last_showLines

bool GuideSysController::Imp::last_showLines = false

Definition at line 98 of file GuideSysController.cxx.

◆ last_showMuonSpectrometer

bool GuideSysController::Imp::last_showMuonSpectrometer = false

Definition at line 97 of file GuideSysController.cxx.

◆ last_shownPixelProjSurfaces

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::last_shownPixelProjSurfaces

Definition at line 108 of file GuideSysController.cxx.

◆ last_shownSCTProjSurfaces

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::last_shownSCTProjSurfaces

Definition at line 109 of file GuideSysController.cxx.

◆ last_shownTRTProjSurfaces

InDetProjFlags::InDetProjPartsFlags GuideSysController::Imp::last_shownTRTProjSurfaces

Definition at line 110 of file GuideSysController.cxx.

◆ last_showPeople

bool GuideSysController::Imp::last_showPeople = false

Definition at line 101 of file GuideSysController.cxx.

◆ last_showTrackingVolumes

bool GuideSysController::Imp::last_showTrackingVolumes = false

Definition at line 94 of file GuideSysController.cxx.

◆ theclass

GuideSysController* GuideSysController::Imp::theclass = nullptr

Definition at line 50 of file GuideSysController.cxx.

◆ ui

Ui::VP1GuidesControllerForm GuideSysController::Imp::ui {}

Definition at line 51 of file GuideSysController.cxx.

◆ ui_axes

Ui::VP1GuidesSysSettingsCoordinateAxesForm GuideSysController::Imp::ui_axes {}

Definition at line 52 of file GuideSysController.cxx.

◆ ui_etacones

Ui::VP1GuidesSysSettingsEtaConeForm GuideSysController::Imp::ui_etacones {}

Definition at line 53 of file GuideSysController.cxx.

◆ ui_floorandletters

Ui::VP1GuidesSysSettingsFloorAndLettersForm GuideSysController::Imp::ui_floorandletters {}

Definition at line 54 of file GuideSysController.cxx.

◆ ui_grid

Ui::VP1GuidesSysSettingsGridForm GuideSysController::Imp::ui_grid {}

Definition at line 56 of file GuideSysController.cxx.

◆ ui_idprojsurfs

Ui::VP1GuidesSysSettingsIDProjSurfsForm GuideSysController::Imp::ui_idprojsurfs {}

Definition at line 57 of file GuideSysController.cxx.

◆ ui_lines

Ui::VP1LinesForm GuideSysController::Imp::ui_lines {}

Definition at line 59 of file GuideSysController.cxx.

◆ ui_people

Ui::VP1GuidesSysSettingsPeopleForm GuideSysController::Imp::ui_people {}

Definition at line 55 of file GuideSysController.cxx.

◆ ui_trkvolumes

Ui::VP1TrackingVolumesForm GuideSysController::Imp::ui_trkvolumes {}

Definition at line 58 of file GuideSysController.cxx.


The documentation for this class was generated from the following file:
InDetProjFlags::EndCapOuterNegative
@ EndCapOuterNegative
Definition: InDetProjFlags.h:54
InDetProjFlags::SCT_all
@ SCT_all
Definition: InDetProjFlags.h:33
InDetProjFlags::Pixel_ecpos
@ Pixel_ecpos
Definition: InDetProjFlags.h:36
InDetProjFlags::BarrelPositive
@ BarrelPositive
Definition: InDetProjFlags.h:50
InDetProjFlags::TRT_ecpos
@ TRT_ecpos
Definition: InDetProjFlags.h:41
InDetProjFlags::Pixel_brlpos
@ Pixel_brlpos
Definition: InDetProjFlags.h:34
InDetProjFlags::TRT_EndCapZToRCentral
@ TRT_EndCapZToRCentral
Definition: InDetProjFlags.h:60
InDetProjFlags::SCT_brlpos
@ SCT_brlpos
Definition: InDetProjFlags.h:29
InDetProjFlags::SCT_ecpos
@ SCT_ecpos
Definition: InDetProjFlags.h:31
GuideSysController::Imp::inDetDetTypesUsingProjections
InDetProjFlags::DetTypeFlags inDetDetTypesUsingProjections
Definition: GuideSysController.cxx:68
InDetProjFlags::EndCapInnerPositive
@ EndCapInnerPositive
Definition: InDetProjFlags.h:55
InDetProjFlags::SCT_ecneg
@ SCT_ecneg
Definition: InDetProjFlags.h:32
hist_file_dump.f
f
Definition: hist_file_dump.py:135
GuideSysController::Imp::ui_idprojsurfs
Ui::VP1GuidesSysSettingsIDProjSurfsForm ui_idprojsurfs
Definition: GuideSysController.cxx:57
InDetProjFlags::EndCapInnerNegative
@ EndCapInnerNegative
Definition: InDetProjFlags.h:56
InDetProjFlags::BarrelCentral
@ BarrelCentral
Definition: InDetProjFlags.h:52
InDetProjFlags::Pixel_ecneg
@ Pixel_ecneg
Definition: InDetProjFlags.h:37
InDetProjFlags::TRT_all
@ TRT_all
Definition: InDetProjFlags.h:43
query_example.col
col
Definition: query_example.py:7
InDetProjFlags::Pixel_all
@ Pixel_all
Definition: InDetProjFlags.h:38
InDetProjFlags::TRT_brlpos
@ TRT_brlpos
Definition: InDetProjFlags.h:39
InDetProjFlags::NoDet
@ NoDet
Definition: InDetProjFlags.h:28
InDetProjFlags::Pixel_brlneg
@ Pixel_brlneg
Definition: InDetProjFlags.h:35
InDetProjFlags::TRT_brlneg
@ TRT_brlneg
Definition: InDetProjFlags.h:40
doL1CaloHVCorrections.parts
parts
Definition: doL1CaloHVCorrections.py:334
InDetProjFlags::TRT_ecneg
@ TRT_ecneg
Definition: InDetProjFlags.h:42
InDetProjFlags::NoProjections
@ NoProjections
Definition: InDetProjFlags.h:49
InDetProjFlags::TRT_EndCapZToRPositive
@ TRT_EndCapZToRPositive
Definition: InDetProjFlags.h:58
InDetProjFlags::BarrelNegative
@ BarrelNegative
Definition: InDetProjFlags.h:51
InDetProjFlags::EndCapOuterPositive
@ EndCapOuterPositive
Definition: InDetProjFlags.h:53
InDetProjFlags::SCT_brlneg
@ SCT_brlneg
Definition: InDetProjFlags.h:30
InDetProjFlags::TRT_EndCapZToRNegative
@ TRT_EndCapZToRNegative
Definition: InDetProjFlags.h:59