class TMuiGeometry : public PHGeometryObject

Class containing all of the objects necessary to describe the muon identifier geometry

Inheritance:


Public Fields

static const float dx_twopack
Nominal separation of a pair of two-packs perpendicular

Public Methods

static TMuiGeometry* Geom()
Points to the *single* instance of TMuiGeometry.
static void Init()
Initializes the instance of TMuiGeometry (from file or database).
static void Destroy()
Destroys the *single* instance of TMuiGeometry.
TMuiPanelGeo* getPanel(const TMuiChannelId& ident) const
Get a pointer to the panel identified by a TMuiChannelId object.
TMuiPanelGeo* getPanel(const short& arm, const short& plane, const short& panel) const
Get a pointer to the panel identified by (arm,plane,panel).
TMuiTwoPackGeo* getTwoPack(const TMuiChannelId& ident) const
Get a pointer to the two-pack identified by a TMuiChannelId object.
TMuiTwoPackGeo* getTwoPack(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& twopack) const
Get a pointer to the two-pack identified by (arm,plane,panel,orient,twopack).
vector <TMuiChannelId> findPanels(const short& Arm, const short& Plane, const Hep3Vector &GVect, const Hep3Vector &DirVect)
Find panels in the specified plane that lie along a trajectory.
vector <TMuiChannelId> findTwoPacks(const short& Arm, const short& Plane, const Hep3Vector& GVect, const Hep3Vector &DirVect)
Find two-packs in the specified plane that lie along a trajectory.
float GapZPosition(const short& arm, const short& gap) const
Get the (approximate) "z" position of the gap.
HepPoint3D FindIntersection(const short& Arm, const short& Plane, const Hep3Vector &GVect, const Hep3Vector &DirVect)
Find the intersection position of a trajectory with the given plane.
void FindIntersection(const short& arm, const short& gap, const float& vx, const float& vy, const float& vz, const float& x0, const float& y0, const float& z0, const float& sigma_vx, const float& sigma_vy, const float& sigma_vz, const float& sigma_x0, const float& sigma_y0, const float& sigma_z0, float& x, float& y, float& z, float& sigma_x, float& sigma_y, float& sigma_z)
Find the intersection position of a trajectory with the given plane.
void FindIntersection(const float& z_plane, const float& vx, const float& vy, const float& vz, const float& x0, const float& y0, const float& z0, const float& sigma_vx, const float& sigma_vy, const float& sigma_vz, const float& sigma_x0, const float& sigma_y0, const float& sigma_z0, float& x, float& y, float& z, float& sigma_x, float& sigma_y, float& sigma_z)
Find the intersection position of a trajectory with plane (z=z_plane).
virtual PHBoolean fetch(PHTimeStamp &Tsearch, const char *calibname, PdbBankID)
Fetch geometry data from the database.
virtual PHBoolean update(PHTimeStamp &Tstart, PHTimeStamp &Tstop, const char *calibname, PdbBankID, char *descrip)
Update database with current geometry data.
virtual PHBoolean InitDatabase(PHTimeStamp &Tstart, PHTimeStamp &Tstop, const char *calibname, PdbBankID bankID, char *descrip)
Fill database with current geometry data.
virtual PHBoolean translateAndRotate(PHTimeStamp &Tsearch, const char *calibname, PdbBankID)
Not sure what this method is for (from base class) !TO BE REMOVED!
virtual PHBoolean rotateAndTranslate(PHTimeStamp &Tsearch, const char *calibname, PdbBankID)
Not sure what this method is for (from base class)
virtual PHBoolean rotateAndTranslate(PHFrame initialE, PHFrame finalE, PHFrame initialW, PHFrame finalW)
Not sure what this method is for (from base class)

Documentation

Class containing all of the objects necessary to describe the muon identifier geometry.

To invoke any of the TMuiGeometry methods, use the Geom() method to obtain a pointer to the single instance of TMuiGeometry. For example:

 TMuiTwoPackGeo* t = TMuiGeometry::Geom()->GetTwoPack(kSOUTH,4,0,kVERT,12);
 

static TMuiGeometry* Geom()
Points to the *single* instance of TMuiGeometry.

static void Init()
Initializes the instance of TMuiGeometry (from file or database).

static void Destroy()
Destroys the *single* instance of TMuiGeometry.

static const float dx_twopack
Nominal separation of a pair of two-packs perpendicular

TMuiPanelGeo* getPanel(const TMuiChannelId& ident) const
Get a pointer to the panel identified by a TMuiChannelId object.

TMuiPanelGeo* getPanel(const short& arm, const short& plane, const short& panel) const
Get a pointer to the panel identified by (arm,plane,panel).

TMuiTwoPackGeo* getTwoPack(const TMuiChannelId& ident) const
Get a pointer to the two-pack identified by a TMuiChannelId object.

TMuiTwoPackGeo* getTwoPack(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& twopack) const
Get a pointer to the two-pack identified by (arm,plane,panel,orient,twopack).

vector <TMuiChannelId> findPanels(const short& Arm, const short& Plane, const Hep3Vector &GVect, const Hep3Vector &DirVect)
Find panels in the specified plane that lie along a trajectory.

vector <TMuiChannelId> findTwoPacks(const short& Arm, const short& Plane, const Hep3Vector& GVect, const Hep3Vector &DirVect)
Find two-packs in the specified plane that lie along a trajectory.

float GapZPosition(const short& arm, const short& gap) const
Get the (approximate) "z" position of the gap.

HepPoint3D FindIntersection(const short& Arm, const short& Plane, const Hep3Vector &GVect, const Hep3Vector &DirVect)
Find the intersection position of a trajectory with the given plane.

void FindIntersection(const short& arm, const short& gap, const float& vx, const float& vy, const float& vz, const float& x0, const float& y0, const float& z0, const float& sigma_vx, const float& sigma_vy, const float& sigma_vz, const float& sigma_x0, const float& sigma_y0, const float& sigma_z0, float& x, float& y, float& z, float& sigma_x, float& sigma_y, float& sigma_z)
Find the intersection position of a trajectory with the given plane.

void FindIntersection(const float& z_plane, const float& vx, const float& vy, const float& vz, const float& x0, const float& y0, const float& z0, const float& sigma_vx, const float& sigma_vy, const float& sigma_vz, const float& sigma_x0, const float& sigma_y0, const float& sigma_z0, float& x, float& y, float& z, float& sigma_x, float& sigma_y, float& sigma_z)
Find the intersection position of a trajectory with plane (z=z_plane).

virtual PHBoolean fetch(PHTimeStamp &Tsearch, const char *calibname, PdbBankID)
Fetch geometry data from the database.

virtual PHBoolean update(PHTimeStamp &Tstart, PHTimeStamp &Tstop, const char *calibname, PdbBankID, char *descrip)
Update database with current geometry data.

virtual PHBoolean InitDatabase(PHTimeStamp &Tstart, PHTimeStamp &Tstop, const char *calibname, PdbBankID bankID, char *descrip)
Fill database with current geometry data.

virtual PHBoolean translateAndRotate(PHTimeStamp &Tsearch, const char *calibname, PdbBankID)
Not sure what this method is for (from base class) !TO BE REMOVED!

virtual PHBoolean rotateAndTranslate(PHTimeStamp &Tsearch, const char *calibname, PdbBankID)
Not sure what this method is for (from base class)

virtual PHBoolean rotateAndTranslate(PHFrame initialE, PHFrame finalE, PHFrame initialW, PHFrame finalW)
Not sure what this method is for (from base class)


This class has no child classes.
Author:
Kyle Pope mailto:pope@phy.ornl.gov

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de