|  | ATLAS Offline Software
    | 
 
 
 
#include <MuonCollectionSettingsButton.h>
|  | 
|  | MuonCollectionSettingsButton (QWidget *parent=0, int dim=25) | 
|  | 
| virtual | ~MuonCollectionSettingsButton () | 
|  | 
| void | setDimension (int dim) | 
|  | 
| virtual bool | setMaterial (SoMaterial *) | 
|  | 
| virtual void | copyValuesFromMaterial (SoMaterial *) | 
|  | 
| virtual double | lastAppliedTransparency () const | 
|  | 
| virtual double | lastAppliedShininess () const | 
|  | 
| virtual double | lastAppliedBrightness () const | 
|  | 
| double | trackTubeRadius () const | 
|  | 
| bool | hideActualTrackPath () const | 
|  | 
| VP1Interval | cutAllowedPt () const | 
|  | 
| VP1Interval | cutAllowedEta () const | 
|  | 
| QList< VP1Interval > | cutAllowedPhi () const | 
|  | 
| SoDrawStyle * | trackDrawStyle () const | 
|  | 
| SoLightModel * | trackLightModel () const | 
|  | 
| SoMaterial * | defaultParameterMaterial () const | 
|  | 
| SoMaterial * | parameterMaterial (xAOD::ParameterPosition) const | 
|  | 
| unsigned int | minimumQuality () const | 
|  | 
| ShownAssociatedObjects | shownAssociatedObjects () const | 
|  | 
| QByteArray | saveState () const | 
|  | fill out with the state of the object (used for drag and drop etc)  More... 
 | 
|  | 
| void | restoreFromState (const QByteArray &) | 
|  | 
| void | setSystemBasePointer (IVP1System *sys) | 
|  | 
| void | message (const QString &) const | 
|  | 
| void | message (const QStringList &, const QString &addtoend="") const | 
|  | 
| void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageDebug (const QString &) const | 
|  | 
| void | messageDebug (const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageVerbose (const QString &) const | 
|  | 
| void | messageVerbose (const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const | 
|  | 
| IVP1System * | systemBase () const | 
|  | 
| const QString & | helperClassName () const | 
|  | 
◆ ShownAssociatedObject
| Enumerator | 
|---|
| Nothing |  | 
| TrackParticlesPrimary |  | 
| TrackParticlesCB |  | 
| TrackParticlesID |  | 
| TrackParticlesMS |  | 
| TrackParticlesME |  | 
| CaloClusters |  | 
| Segments |  | 
Definition at line 55 of file MuonCollectionSettingsButton.h.
 
 
◆ MuonCollectionSettingsButton()
      
        
          | MuonCollectionSettingsButton::MuonCollectionSettingsButton | ( | QWidget * | parent = 0, | 
        
          |  |  | int | dim = 25 | 
        
          |  | ) |  |  | 
      
 
 
◆ ~MuonCollectionSettingsButton()
  
  | 
        
          | MuonCollectionSettingsButton::~MuonCollectionSettingsButton | ( |  | ) |  |  | virtual | 
 
 
◆ copyValuesFromMaterial()
  
  | 
        
          | void MuonCollectionSettingsButton::copyValuesFromMaterial | ( | SoMaterial * | mat | ) |  |  | virtual | 
 
 
◆ cutAllowedEta()
      
        
          | VP1Interval MuonCollectionSettingsButton::cutAllowedEta | ( |  | ) | const | 
      
 
 
◆ cutAllowedEtaChanged
◆ cutAllowedPhi()
      
        
          | QList< VP1Interval > MuonCollectionSettingsButton::cutAllowedPhi | ( |  | ) | const | 
      
 
 
◆ cutAllowedPhiChanged
  
  | 
        
          | void MuonCollectionSettingsButton::cutAllowedPhiChanged | ( | const QList< VP1Interval > & |  | ) |  |  | signal | 
 
 
◆ cutAllowedPt()
      
        
          | VP1Interval MuonCollectionSettingsButton::cutAllowedPt | ( |  | ) | const | 
      
 
Definition at line 451 of file MuonCollectionSettingsButton.cxx.
  465   const double minFromInterface=
m_d->
editwindow_ui.doubleSpinBox_cut_minpt_gev->value()*1000;
 
  466   const double maxFromInterface=
m_d->
editwindow_ui.doubleSpinBox_cut_maxpt_gev->value()*1000;
 
  471     min = (
m_d->
editwindow_ui.checkBox_cut_minpt->isChecked() ? minFromInterface : -std::numeric_limits<double>::infinity());
 
  472     max = (
m_d->
editwindow_ui.checkBox_cut_maxpt->isChecked() ? maxFromInterface : std::numeric_limits<double>::infinity());
 
  474     min = (
m_d->
editwindow_ui.checkBox_cut_maxpt->isChecked() ? -maxFromInterface : -std::numeric_limits<double>::infinity());
 
  475     max = (
m_d->
editwindow_ui.checkBox_cut_minpt->isChecked() ? -minFromInterface : std::numeric_limits<double>::infinity());
 
 
 
 
◆ cutAllowedPtChanged
◆ defaultParameterMaterial()
      
        
          | SoMaterial * MuonCollectionSettingsButton::defaultParameterMaterial | ( |  | ) | const | 
      
 
 
◆ dragEnterEvent()
  
  | 
        
          | void MuonCollectionSettingsButton::dragEnterEvent | ( | QDragEnterEvent * | event | ) |  |  | protected | 
 
 
◆ dropEvent()
  
  | 
        
          | void MuonCollectionSettingsButton::dropEvent | ( | QDropEvent * | event | ) |  |  | protected | 
 
 
◆ helperClassName()
  
  | 
        
          | const QString& VP1HelperClassBase::helperClassName | ( |  | ) | const |  | inlineinherited | 
 
 
◆ hideActualTrackPath()
      
        
          | bool MuonCollectionSettingsButton::hideActualTrackPath | ( |  | ) | const | 
      
 
 
◆ hideActualTrackPathChanged
  
  | 
        
          | void MuonCollectionSettingsButton::hideActualTrackPathChanged | ( | bool |  | ) |  |  | signal | 
 
 
◆ lastAppliedBrightness()
  
  | 
        
          | double MuonCollectionSettingsButton::lastAppliedBrightness | ( |  | ) | const |  | virtual | 
 
 
◆ lastAppliedChanged
  
  | 
        
          | void MuonCollectionSettingsButton::lastAppliedChanged | ( |  | ) |  |  | signal | 
 
 
◆ lastAppliedShininess()
  
  | 
        
          | double MuonCollectionSettingsButton::lastAppliedShininess | ( |  | ) | const |  | virtual | 
 
 
◆ lastAppliedTransparency()
  
  | 
        
          | double MuonCollectionSettingsButton::lastAppliedTransparency | ( |  | ) | const |  | virtual | 
 
 
◆ message() [1/3]
  
  | 
        
          | void VP1HelperClassBase::message | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ message() [2/3]
  
  | 
        
          | void VP1HelperClassBase::message | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 131 of file VP1HelperClassBase.cxx.
  133   if (addtostart.isEmpty()) {
 
  137   if (addtoend.isEmpty()) {
 
  138     for (
const QString& 
s :  
l)
 
  141     for (
const QString& 
s :  
l)
 
 
 
 
◆ message() [3/3]
  
  | 
        
          | void VP1HelperClassBase::message | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 91 of file VP1HelperClassBase.cxx.
   93   if (addtoend.isEmpty()) {
 
   94     for (
const QString& 
s :  
l)
 
   97     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageDebug() [1/3]
  
  | 
        
          | void VP1HelperClassBase::messageDebug | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ messageDebug() [2/3]
  
  | 
        
          | void VP1HelperClassBase::messageDebug | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 147 of file VP1HelperClassBase.cxx.
  151   if (addtostart.isEmpty()) {
 
  155   if (addtoend.isEmpty()) {
 
  156     for (
const QString& 
s :  
l)
 
  159     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageDebug() [3/3]
  
  | 
        
          | void VP1HelperClassBase::messageDebug | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 103 of file VP1HelperClassBase.cxx.
  107   if (addtoend.isEmpty()) {
 
  108     for (
const QString& 
s :  
l)
 
  111     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageVerbose() [1/3]
  
  | 
        
          | void VP1HelperClassBase::messageVerbose | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ messageVerbose() [2/3]
  
  | 
        
          | void VP1HelperClassBase::messageVerbose | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 165 of file VP1HelperClassBase.cxx.
  169   if (addtostart.isEmpty()) {
 
  173   if (addtoend.isEmpty()) {
 
  174     for (
const QString& 
s :  
l)
 
  177     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageVerbose() [3/3]
  
  | 
        
          | void VP1HelperClassBase::messageVerbose | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 117 of file VP1HelperClassBase.cxx.
  121   if (addtoend.isEmpty()) {
 
  122     for (
const QString& 
s :  
l)
 
  125     for (
const QString& 
s :  
l)
 
 
 
 
◆ minimumQuality()
      
        
          | unsigned int MuonCollectionSettingsButton::minimumQuality | ( |  | ) | const | 
      
 
 
◆ minimumQualityChanged
  
  | 
        
          | void MuonCollectionSettingsButton::minimumQualityChanged | ( | unsigned int |  | ) |  |  | signal | 
 
 
◆ mouseMoveEvent()
  
  | 
        
          | void MuonCollectionSettingsButton::mouseMoveEvent | ( | QMouseEvent * | event | ) |  |  | protected | 
 
Definition at line 351 of file MuonCollectionSettingsButton.cxx.
  353   if (!(
event->buttons() & Qt::LeftButton))
 
  356       < QApplication::startDragDistance())
 
  359   QDrag *drag = 
new QDrag(
this);
 
  360   QMimeData *mimeData = 
new QMimeData;
 
  369   mimeData->setData(
"vp1/material", byteArray);
 
  398   drag->setMimeData(mimeData);
 
  399   drag->exec(Qt::CopyAction | Qt::MoveAction);
 
 
 
 
◆ mousePressEvent()
  
  | 
        
          | void MuonCollectionSettingsButton::mousePressEvent | ( | QMouseEvent * | event | ) |  |  | protected | 
 
 
◆ parameterMaterial()
◆ possibleChange_cutAllowedEta
  
  | 
        
          | void MuonCollectionSettingsButton::possibleChange_cutAllowedEta | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_cutAllowedPhi
  
  | 
        
          | void MuonCollectionSettingsButton::possibleChange_cutAllowedPhi | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_cutAllowedPt
  
  | 
        
          | void MuonCollectionSettingsButton::possibleChange_cutAllowedPt | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_minimumQuality
  
  | 
        
          | void MuonCollectionSettingsButton::possibleChange_minimumQuality | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_shownAssociatedObjects
  
  | 
        
          | void MuonCollectionSettingsButton::possibleChange_shownAssociatedObjects | ( |  | ) |  |  | privateslot | 
 
 
◆ restoreFromState()
  
  | 
        
          | void MuonCollectionSettingsButton::restoreFromState | ( | const QByteArray & | ba | ) |  |  | virtual | 
 
 
◆ saveState()
  
  | 
        
          | QByteArray MuonCollectionSettingsButton::saveState | ( |  | ) | const |  | virtual | 
 
 
◆ setDimension()
      
        
          | void MuonCollectionSettingsButton::setDimension | ( | int | dim | ) |  | 
      
 
 
◆ setHelperClassName()
  
  | 
        
          | void VP1HelperClassBase::setHelperClassName | ( | const QString & | n | ) |  |  | inlineprotectedinherited | 
 
 
◆ setMaterial()
  
  | 
        
          | bool MuonCollectionSettingsButton::setMaterial | ( | SoMaterial * | mat | ) |  |  | virtual | 
 
 
◆ setMaterialText
  
  | 
        
          | void MuonCollectionSettingsButton::setMaterialText | ( | const QString & | t | ) |  |  | slot | 
 
 
◆ setSystemBasePointer()
  
  | 
        
          | void VP1HelperClassBase::setSystemBasePointer | ( | IVP1System * | sys | ) |  |  | inherited | 
 
 
◆ showEditMaterialDialog
  
  | 
        
          | void MuonCollectionSettingsButton::showEditMaterialDialog | ( |  | ) |  |  | slot | 
 
 
◆ shownAssociatedObjects()
      
        
          | MuonCollectionSettingsButton::ShownAssociatedObjects MuonCollectionSettingsButton::shownAssociatedObjects | ( |  | ) | const | 
      
 
Definition at line 310 of file MuonCollectionSettingsButton.cxx.
  314   ShownAssociatedObjects 
parts = ShownAssociatedObject::Nothing;
 
  317     if (
m_d->
editwindow_ui.comboBox_shownTrackParticles->currentIndex()==0) 
parts |= ShownAssociatedObject::TrackParticlesPrimary;
 
  318     if (
m_d->
editwindow_ui.comboBox_shownTrackParticles->currentIndex()==1) 
parts |= ShownAssociatedObject::TrackParticlesCB;
 
  319     if (
m_d->
editwindow_ui.comboBox_shownTrackParticles->currentIndex()==2) 
parts |= ShownAssociatedObject::TrackParticlesID;
 
  320     if (
m_d->
editwindow_ui.comboBox_shownTrackParticles->currentIndex()==3) 
parts |= ShownAssociatedObject::TrackParticlesMS;
 
  321     if (
m_d->
editwindow_ui.comboBox_shownTrackParticles->currentIndex()==4) 
parts |= ShownAssociatedObject::TrackParticlesME;
 
  323   if (
m_d->
editwindow_ui.checkBox_showCaloClusters->isChecked()) 
parts |= ShownAssociatedObject::CaloClusters;
 
 
 
 
◆ shownAssociatedObjectsChanged
  
  | 
        
          | void MuonCollectionSettingsButton::shownAssociatedObjectsChanged | ( | MuonCollectionSettingsButton::ShownAssociatedObjects |  | ) |  |  | signal | 
 
 
◆ str() [1/30]
◆ str() [2/30]
  
  | 
        
          | static QString VP1String::str | ( | const bool | b | ) |  |  | inlinestaticinherited | 
 
Definition at line 53 of file VP1String.h.
   53 { 
return b?
"True":
"False"; }
 
 
 
◆ str() [3/30]
  
  | 
        
          | static QString VP1String::str | ( | const char * | c | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [4/30]
  
  | 
        
          | static QString VP1String::str | ( | const double & | d | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [5/30]
  
  | 
        
          | static QString VP1String::str | ( | const float & | f | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [6/30]
◆ str() [7/30]
  
  | 
        
          | QString VP1String::str | ( | const QColor & | c | ) |  |  | staticinherited | 
 
Definition at line 30 of file VP1String.cxx.
   32   return c.isValid() ? 
c.name() : 
"Invalid";
 
 
 
 
◆ str() [8/30]
template<class T > 
  
  | 
        
          | static QString VP1String::str | ( | const QFlags< T > & | f | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [9/30]
template<class T > 
  
  | 
        
          | static QString VP1String::str | ( | const QList< T > & | t | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [10/30]
  
  | 
        
          | static QString VP1String::str | ( | const QString & | s | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [11/30]
  
  | 
        
          | QString VP1String::str | ( | const SbColor & | c | ) |  |  | staticinherited | 
 
 
◆ str() [12/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec2d & | v | ) |  |  | staticinherited | 
 
 
◆ str() [13/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec2f & | v | ) |  |  | staticinherited | 
 
 
◆ str() [14/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec2s & | v | ) |  |  | staticinherited | 
 
 
◆ str() [15/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec3d & | v | ) |  |  | staticinherited | 
 
 
◆ str() [16/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec3f & | v | ) |  |  | staticinherited | 
 
 
◆ str() [17/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec3s & | v | ) |  |  | staticinherited | 
 
 
◆ str() [18/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec4d & | v | ) |  |  | staticinherited | 
 
 
◆ str() [19/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec4f & | v | ) |  |  | staticinherited | 
 
 
◆ str() [20/30]
template<class T > 
  
  | 
        
          | static QString VP1String::str | ( | const T * | t | ) |  |  | inlinestaticinherited | 
 
Definition at line 87 of file VP1String.h.
   87 { 
return str(
static_cast<const void* 
>(
t)); }
 
 
 
◆ str() [21/30]
  
  | 
        
          | QString VP1String::str | ( | const void * | p | ) |  |  | staticinherited | 
 
Definition at line 48 of file VP1String.cxx.
   54     return QString (
s.str().c_str());
 
 
 
 
◆ str() [22/30]
◆ str() [23/30]
  
  | 
        
          | static QString VP1String::str | ( | int | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [24/30]
  
  | 
        
          | static QString VP1String::str | ( | long | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [25/30]
  
  | 
        
          | static QString VP1String::str | ( | qlonglong | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [26/30]
  
  | 
        
          | static QString VP1String::str | ( | qulonglong | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [27/30]
  
  | 
        
          | static QString VP1String::str | ( | short int | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [28/30]
  
  | 
        
          | static QString VP1String::str | ( | uint | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [29/30]
  
  | 
        
          | static QString VP1String::str | ( | ulong | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [30/30]
  
  | 
        
          | static QString VP1String::str | ( | unsigned short int | n | ) |  |  | inlinestaticinherited | 
 
 
◆ systemBase()
  
  | 
        
          | IVP1System* VP1HelperClassBase::systemBase | ( |  | ) | const |  | inlineinherited | 
 
 
◆ trackDrawStyle()
      
        
          | SoDrawStyle * MuonCollectionSettingsButton::trackDrawStyle | ( |  | ) | const | 
      
 
 
◆ trackLightModel()
      
        
          | SoLightModel * MuonCollectionSettingsButton::trackLightModel | ( |  | ) | const | 
      
 
 
◆ trackTubeRadius()
      
        
          | double MuonCollectionSettingsButton::trackTubeRadius | ( |  | ) | const | 
      
 
 
◆ trackTubeRadiusChanged
  
  | 
        
          | void MuonCollectionSettingsButton::trackTubeRadiusChanged | ( | const double & |  | ) |  |  | signal | 
 
 
◆ updateButton
  
  | 
        
          | void MuonCollectionSettingsButton::updateButton | ( |  | ) |  |  | protectedslot | 
 
 
◆ updateHideActualTrackPath
  
  | 
        
          | void MuonCollectionSettingsButton::updateHideActualTrackPath | ( | bool | hide | ) |  |  | privateslot | 
 
 
◆ updateTrackDrawStyle
  
  | 
        
          | void MuonCollectionSettingsButton::updateTrackDrawStyle | ( |  | ) |  |  | privateslot | 
 
 
◆ updateTrackLightModel
  
  | 
        
          | void MuonCollectionSettingsButton::updateTrackLightModel | ( | bool | base | ) |  |  | privateslot | 
 
 
◆ updateTrackTubeRadius
  
  | 
        
          | void MuonCollectionSettingsButton::updateTrackTubeRadius | ( |  | ) |  |  | privateslot | 
 
 
◆ verbose()
  
  | 
        
          | static bool VP1HelperClassBase::verbose | ( |  | ) |  |  | inlinestaticinherited | 
 
 
◆ warnUndeletedInstances()
  
  | 
        
          | void VP1HelperClassBase::warnUndeletedInstances | ( |  | ) |  |  | staticinherited | 
 
Definition at line 183 of file VP1HelperClassBase.cxx.
  185   if (vp1helperclassbase_instanceMap.empty())
 
  187   std::cout << 
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
 
  190   for (
it = vp1helperclassbase_instanceMap.begin();
it!=
itE;++
it) {
 
  191     std::cout << 
"  ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
 
  192           << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->
second+
")").toStdString()<<std::endl;
 
 
 
 
◆ m_d
  
  | 
        
          | Imp* MuonCollectionSettingsButton::m_d |  | private | 
 
 
◆ m_helpername
  
  | 
        
          | QString VP1HelperClassBase::m_helpername |  | privateinherited | 
 
 
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files:
 
JetConstituentVector::iterator iterator
char data[hepevt_bytes_allocation_ATLAS]
static double getValueLineWidthSlider(const QSlider *)
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
void messageVerbose(const QString &) const
static const bool s_vp1verbose
static QString str(const QString &s)
void messageDebug(const QString &) const
static const char * prefix_msg()
POOL::TEvent event(POOL::TEvent::kClassAccess)
const QString & name() const
static void setValueLineWidthSlider(QSlider *, const double &value)
static QColor sbcol2qcol(const SbColor &)
IVP1System * systemBase() const
static const char * prefix_debug()
static const char * prefix_verbose()
static void setLimitsLineWidthSlider(QSlider *)
void message(const QString &) const
void message(const QString &) const