|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include <Inventor/nodes/SoSeparator.h>
81 SoSeparator * errDetailed =
new SoSeparator;
82 errDetailed->addChild(
common()->nodeManager()->getShapeNode_Strip(striplength,
std::min(10.0,stripWidth),0.01));
84 shape_detailed = errDetailed;
94 if (!station) {
VP1Msg::message(
"Warning - MM station gives null parent. Something is wrong with the geometry!");
return 0;}
103 return QStringList(
"Null PRD");
106 return QStringList(
"Null PRD");
108 std::ostringstream
os;
111 os <<
"MMPrepData with Identifier ["<<
id.get_compact() ;
120 QStringList
l(QString(
os.str().c_str()));
virtual bool stripPosition(const Identifier &id, Amg::Vector2D &pos) const override final
strip position – local or global If the strip number is outside the range of valid strips,...
Class to represent MM measurements.
static const MmIdHelper * mmIDHelper()
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global position.
const Muon::MMPrepData * m_prd
Eigen::Matrix< double, 2, 1 > Vector2D
const MuonChannelDesign * getDesign(const Identifier &id) const
returns the MuonChannelDesign class for the given identifier
QStringList clicked() const
PRDSysCommonData * common() const
HitsSoNodeManager * nodeManager() const
const Muon::MMPrepData * mm() const
int getPhiIndex() const
a la AMDB
virtual const MuonGM::MMReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)
const MuonStation * parentMuonStation() const
SoNode * getShapeNode_Strip(double length, double width=0, double depth=0)
Identifier identify() const
return the identifier
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
const Amg::Vector2D & localPosition() const
return the local position reference
double channelLength(int channel) const
STRIPS ONLY: calculate channel length for a given strip number.
static const MdtIdHelper * mdtIDHelper()
static void messageDebug(const QString &)
int channel(const Identifier &id) const override
static void message(const QString &, IVP1System *sys=0)
int getEtaIndex() const
a la AMDB
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
PRDHandle_MM(PRDCollHandle_MM *, const Muon::MMPrepData *)