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

Public Member Functions

 Imp (SoGroup *ag, VP1ExtraSepLayerHelper *shs, VP1ExtraSepLayerHelper *shd, int i, const double &c)
 
void updateCrossOverField () const
 

Public Attributes

SoGroup * attachGroup_LOD
 
VP1ExtraSepLayerHelperattachHelper_simple
 
VP1ExtraSepLayerHelperattachHelper_detailed
 
int regIdx
 
double crossVal
 
SoLevelOfDetail * lod
 
SoSeparator * sep_detailed
 
SoSeparator * sep_simple
 

Detailed Description

Definition at line 215 of file TrackLODManager.cxx.

Constructor & Destructor Documentation

◆ Imp()

TrackLODHandle::Imp::Imp ( SoGroup *  ag,
VP1ExtraSepLayerHelper shs,
VP1ExtraSepLayerHelper shd,
int  i,
const double &  c 
)
inline

Definition at line 217 of file TrackLODManager.cxx.

221  : attachGroup_LOD(ag),
222  attachHelper_simple(shs),
224  regIdx(i),
225  crossVal(c),
226  lod(nullptr),
227  sep_detailed(nullptr),
228  sep_simple(nullptr) {}

Member Function Documentation

◆ updateCrossOverField()

void TrackLODHandle::Imp::updateCrossOverField ( ) const
inline

Definition at line 237 of file TrackLODManager.cxx.

238  {
239  //Fixme: We should scale this with complexity! I.e. multiply the value with 1.0/(complexity+0.5)
240  // lod->screenArea.setValue(crossVal/sqrt(sep_detailed->getNumChildren()+1.0));
241  lod->screenArea.setValue(crossVal*sqrt(sep_detailed->getNumChildren())+0.1);
242  }

Member Data Documentation

◆ attachGroup_LOD

SoGroup* TrackLODHandle::Imp::attachGroup_LOD

Definition at line 229 of file TrackLODManager.cxx.

◆ attachHelper_detailed

VP1ExtraSepLayerHelper* TrackLODHandle::Imp::attachHelper_detailed

Definition at line 231 of file TrackLODManager.cxx.

◆ attachHelper_simple

VP1ExtraSepLayerHelper* TrackLODHandle::Imp::attachHelper_simple

Definition at line 230 of file TrackLODManager.cxx.

◆ crossVal

double TrackLODHandle::Imp::crossVal

Definition at line 233 of file TrackLODManager.cxx.

◆ lod

SoLevelOfDetail* TrackLODHandle::Imp::lod

Definition at line 234 of file TrackLODManager.cxx.

◆ regIdx

int TrackLODHandle::Imp::regIdx

Definition at line 232 of file TrackLODManager.cxx.

◆ sep_detailed

SoSeparator* TrackLODHandle::Imp::sep_detailed

Definition at line 235 of file TrackLODManager.cxx.

◆ sep_simple

SoSeparator* TrackLODHandle::Imp::sep_simple

Definition at line 236 of file TrackLODManager.cxx.


The documentation for this class was generated from the following file:
TrackLODHandle::Imp::sep_detailed
SoSeparator * sep_detailed
Definition: TrackLODManager.cxx:235
TrackLODHandle::Imp::lod
SoLevelOfDetail * lod
Definition: TrackLODManager.cxx:234
TrackLODHandle::Imp::crossVal
double crossVal
Definition: TrackLODManager.cxx:233
TrackLODHandle::Imp::attachHelper_detailed
VP1ExtraSepLayerHelper * attachHelper_detailed
Definition: TrackLODManager.cxx:231
TrackLODHandle::Imp::regIdx
int regIdx
Definition: TrackLODManager.cxx:232
lumiFormat.i
int i
Definition: lumiFormat.py:85
TrackLODHandle::Imp::attachGroup_LOD
SoGroup * attachGroup_LOD
Definition: TrackLODManager.cxx:229
python.compressB64.c
def c
Definition: compressB64.py:93
TrackLODHandle::Imp::sep_simple
SoSeparator * sep_simple
Definition: TrackLODManager.cxx:236
TrackLODHandle::Imp::attachHelper_simple
VP1ExtraSepLayerHelper * attachHelper_simple
Definition: TrackLODManager.cxx:230