|
ATLAS Offline Software
|
#include <MuonVolumeHandle.h>
Definition at line 23 of file MuonVolumeHandle.h.
◆ VolumeHandleList
◆ VolumeHandleListConstItr
◆ VolumeHandleListItr
◆ MuonChamberState
Enumerator |
---|
NONMUONCHAMBER | |
MUONCHAMBERCHILD | |
MUONCHAMBER | |
MUONCHAMBER_DIRTY | |
Definition at line 24 of file VolumeHandle.h.
◆ MuonVolumeHandle()
◆ ~MuonVolumeHandle()
virtual MuonVolumeHandle::~MuonVolumeHandle |
( |
| ) |
|
|
inlinevirtual |
◆ applyPersistifiableState()
void VolumeHandle::applyPersistifiableState |
( |
QByteArray |
ba | ) |
|
|
inherited |
◆ attachAllContractedChildren()
void VolumeHandle::attachAllContractedChildren |
( |
| ) |
|
|
privateinherited |
Definition at line 422 of file VolumeHandle.cxx.
432 (*childItr)->m_d->attach(*childItr);
434 (*childItr)->attachAllContractedChildren();
◆ child()
◆ childNumber()
int VolumeHandle::childNumber |
( |
| ) |
const |
|
inlineinherited |
◆ childrenAreInitialised()
bool VolumeHandle::childrenAreInitialised |
( |
| ) |
const |
|
inlineinherited |
◆ childrenBegin()
◆ childrenEnd()
◆ contractDaughtersRecursively()
void VolumeHandle::contractDaughtersRecursively |
( |
| ) |
|
|
inherited |
Definition at line 403 of file VolumeHandle.cxx.
411 (*childItr)->contractDaughtersRecursively();
◆ copyNumber()
int VolumeHandle::copyNumber |
( |
| ) |
const |
|
inherited |
Definition at line 455 of file VolumeHandle.cxx.
457 GeoPVConstLink parent_pV;
462 if (parent_pV==
m_d->
pV) {
468 GeoVolumeCursor av(parent_pV);
470 while (!av.atEnd()) {
472 Query<int> Qint = av.getId();
473 return Qint.isValid() ?
int(Qint) : -1;
◆ detachAllContractedChildren()
void VolumeHandle::detachAllContractedChildren |
( |
| ) |
|
|
privateinherited |
Definition at line 439 of file VolumeHandle.cxx.
448 (*childItr)->m_d->detach();
450 (*childItr)->detachAllContractedChildren();
◆ ensureBuildNodeSep()
void VolumeHandle::ensureBuildNodeSep |
( |
| ) |
|
|
inherited |
Definition at line 238 of file VolumeHandle.cxx.
259 std::cout <<
"Geomsys/VolumeHandle Error: Null shape!!!"<<std::endl;
271 if (
m_d->
pV->getLogVol()->getShape()->typeID()==GeoTube::getClassTypeID() )
274 const GeoTube * geotube =
static_cast<const GeoTube*
>(
m_d->
pV->getLogVol()->getShape());
275 if (geotube->getRMin()==0.0)
278 else if (
m_d->
pV->getLogVol()->getShape()->typeID()==GeoTubs::getClassTypeID() )
281 const GeoTubs * geotubs =
static_cast<const GeoTubs*
>(
m_d->
pV->getLogVol()->getShape());
282 if (geotubs->getRMin()==0.0 && geotubs->getDPhi() >= 2*
M_PI-1.0e-6)
289 if (
m_d->
pV->getLogVol()->getShape()->typeID()==GeoShapeShift::getClassTypeID())
298 SoSwitch * sw =
new SoSwitch;
300 SoSeparator * sep_slicedvols =
new SoSeparator;
301 sw->addChild(sep_slicedvols);
◆ expandMothersRecursivelyToNonEther()
void VolumeHandle::expandMothersRecursivelyToNonEther |
( |
| ) |
|
|
inherited |
Definition at line 518 of file VolumeHandle.cxx.
531 (*childItr)->expandMothersRecursivelyToNonEther();
◆ geoMaterial()
const GeoMaterial * VolumeHandle::geoMaterial |
( |
| ) |
const |
|
inherited |
◆ geoPVConstLink()
GeoPVConstLink VolumeHandle::geoPVConstLink |
( |
| ) |
const |
|
inherited |
◆ getDescriptiveName()
virtual QString MuonVolumeHandle::getDescriptiveName |
( |
| ) |
const |
|
inlinevirtual |
◆ getGlobalTransformToVolume()
const SbMatrix & VolumeHandle::getGlobalTransformToVolume |
( |
| ) |
const |
|
inherited |
◆ getLocalTransformToVolume()
SbMatrix VolumeHandle::getLocalTransformToVolume |
( |
| ) |
const |
|
inherited |
◆ getName()
QString VolumeHandle::getName |
( |
| ) |
const |
|
inherited |
◆ getNameStdString()
std::string VolumeHandle::getNameStdString |
( |
| ) |
const |
|
inherited |
◆ getPersistifiableState()
QByteArray VolumeHandle::getPersistifiableState |
( |
| ) |
const |
|
inherited |
◆ hashID()
quint32 VolumeHandle::hashID |
( |
| ) |
const |
|
inherited |
◆ hasName()
bool VolumeHandle::hasName |
( |
const std::string & |
n | ) |
const |
|
inherited |
◆ haveParentsNotExpanded()
bool VolumeHandle::haveParentsNotExpanded |
( |
| ) |
const |
|
privateinherited |
◆ initialiseChildren()
void VolumeHandle::initialiseChildren |
( |
| ) |
|
|
inherited |
◆ isAttached()
bool VolumeHandle::isAttached |
( |
| ) |
const |
|
inherited |
◆ isEther()
bool VolumeHandle::isEther |
( |
| ) |
const |
|
inherited |
◆ isInitialisedAndHasNonStandardShape()
bool VolumeHandle::isInitialisedAndHasNonStandardShape |
( |
| ) |
const |
|
inherited |
◆ isInMuonChamber()
bool VolumeHandle::isInMuonChamber |
( |
| ) |
const |
|
inlineinherited |
◆ isMuonChamber()
bool VolumeHandle::isMuonChamber |
( |
| ) |
const |
|
inlineinherited |
◆ isPositiveZ()
bool VolumeHandle::isPositiveZ |
( |
| ) |
const |
|
inherited |
◆ material()
SoMaterial * VolumeHandle::material |
( |
| ) |
|
|
inherited |
◆ muonChamberDirty()
bool VolumeHandle::muonChamberDirty |
( |
| ) |
const |
|
inlineinherited |
◆ muonChamberState()
◆ muonChamberT0()
virtual QString MuonVolumeHandle::muonChamberT0 |
( |
unsigned int |
i | ) |
const |
|
inlinevirtual |
Reimplemented from VolumeHandle.
Definition at line 41 of file MuonVolumeHandle.h.
43 return "ERROR bad T0 source";
44 const std::map<GeoPVConstLink, float>* t0map =
m_chamberT0s.at(
i);
45 const QString no_info(
"?");
48 const std::map<GeoPVConstLink, float>::const_iterator
it = t0map->find(
geoPVConstLink());
◆ nChildren()
unsigned VolumeHandle::nChildren |
( |
| ) |
const |
|
inlineinherited |
◆ nodeSoSeparator()
SoSeparator * VolumeHandle::nodeSoSeparator |
( |
| ) |
const |
|
inherited |
◆ parent()
◆ reset()
void VolumeHandle::reset |
( |
| ) |
|
|
inlineinherited |
◆ setMuonChamberDirty()
void VolumeHandle::setMuonChamberDirty |
( |
bool |
b | ) |
|
|
inlineinherited |
◆ setState()
◆ state()
◆ station()
◆ subsystem()
◆ topLevelParent()
◆ updateLabels()
void VolumeHandle::updateLabels |
( |
| ) |
|
|
inherited |
Definition at line 672 of file VolumeHandle.cxx.
683 SoText2 *labelText =
new SoText2;
696 for (
unsigned int i=0;
i<3 ;++
i){
698 unsigned int mask=1<<(
i+1);
707 if (
i==2)
output+=
"<unknown>=";
715 for(
const QString&
str :
text){
717 labelText->string.set1Value(
row++,
array.data());
721 assert(labelTranslate!=0);
723 float labx,laby,labz;
724 labelTranslate->translation.getValue().getValue(labx,laby,labz);
727 labelTranslate->translation.setValue(labx+(offsets[0]*offScale),laby+(offsets[1]*offScale),labz+(offsets[2]*offScale));
◆ m_chamberT0s
const QList<const std::map<GeoPVConstLink, float>*>& MuonVolumeHandle::m_chamberT0s |
|
private |
◆ m_childNumber
const int VolumeHandle::m_childNumber |
|
privateinherited |
◆ m_children
◆ m_d
◆ m_muonChamberState
◆ m_nchildren
const unsigned VolumeHandle::m_nchildren |
|
privateinherited |
◆ m_parent
◆ m_state
◆ m_station
The documentation for this class was generated from the following file:
SoMaterial * fallBackTopLevelMaterial() const
virtual QString muonChamberT0(unsigned int=0) const
bool isInMuonChamber() const
VP1ExtraSepLayerHelper * getSepHelperForNode(VP1GeoFlags::SubSystemFlag flag, int iphi)
static bool hasNonStandardShapeChildren(const SoGroup *g)
void setState(const VP1GeoFlags::VOLSTATE &state)
const GeoMaterial * geoMaterial() const
void attachAllContractedChildren()
VolumeHandle * topLevelParent()
void attach(VolumeHandle *vh)
GeoPVConstLink geoPVConstLink() const
VolVisAttributes * volVisAttributes() const
VolumeHandleList m_children
bool isMuonChamber() const
const std::string & getStationName() const
like BMS5, T1F1, CSL1
bool childrenAreInitialised() const
const MuonGM::MuonStation * m_station
virtual const MuonGM::MuonStation * station() const
int getVolumeType(const SbMatrix &transform, SoNode *shape) const
VP1ExtraSepLayerHelper * registerVolumeAroundZAxis(VP1GeoFlags::SubSystemFlag flag, SoSwitch *sw, const SbMatrix &tranformation)
static void initAllCustomClasses()
PhiSectorManager * phiSectorManager() const
void detachAllContractedChildren()
static VolState getChildStates(const VolumeHandle *theclass)
int getPhiIndex() const
a la AMDB
static void applyChildStates(const VolState &, VolumeHandle *theclass)
void registerNodeSepForVolumeHandle(SoSeparator *, VolumeHandle *)
VolumeHandleSharedData * commondata
VP1GeoFlags::VOLSTATE m_state
MuonChamberState m_muonChamberState
VolumeHandle(VolumeHandleSharedData *, VolumeHandle *parent, const GeoPVConstLink &, int childNumber, const MuonChamberState &mcs=NONMUONCHAMBER, const SbMatrix &accumTrans=SbMatrix())
void initialiseChildren()
GeoPVConstLink geoPVConstLinkOfTreeTopsMother() const
unsigned nChildren() const
bool haveParentsNotExpanded() const
static void transformToMatrix(SoTransform *xf, SbMatrix &result)
VP1ExtraSepLayerHelper * attachsepHelper
const QList< const std::map< GeoPVConstLink, float > * > & m_chamberT0s
VP1GeoFlags::SubSystemFlag subSystemFlag() const
void removeZappedVolumesFromGui(VolumeHandle *)
VP1ExtraSepLayerHelper * getLabelSepHelperForNode(VP1GeoFlags::SubSystemFlag flag, int iphi)
Addition to handle label separators, in exactly the same way as getSepHelperForNode(....
static void messageDebug(const QString &)
int getEtaIndex() const
a la AMDB
void addZappedVolumeToGui(VolumeHandle *)
HepGeom::Transform3D EigenTransformToCLHEP(const Amg::Transform3D &eigenTransf)
Converts an Eigen-based Amg::Transform3D into a CLHEP-based HepGeom::Transform3D.
VolumeHandleList::iterator VolumeHandleListItr
VP1GeoFlags::VOLSTATE state() const
const SbMatrix accumTrans
VP1ExtraSepLayerHelper * attachlabelSepHelper
QList< int > labelsPosOffsets
GeoSysController * controller() const
SoNode * toShapeNode(const GeoPVConstLink &pV)
QList< int > labelPosOffset()
Offset in x,y,z.
SoMaterial * get(const std::string &name) const
SoNode * getSoCylinderOrientedLikeGeoTube(const double &radius, const double &halfLength)
static SoTransform * toSoTransform(const HepGeom::Transform3D &, SoTransform *t=0)
const unsigned m_nchildren
const SbMatrix & getGlobalTransformToVolume() const
virtual QString getDescriptiveName() const
MatVisAttributes * matVisAttributes() const
void contractDaughtersRecursively()