BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MucGeoGap.h File Reference
#include "TGeoMatrix.h"
#include "TGeoNode.h"
#include "TGeoPhysicalNode.h"
#include <CLHEP/Geometry/Plane3D.h>
#include <CLHEP/Geometry/Point3D.h>
#include <CLHEP/Matrix/Matrix.h>
#include <CLHEP/Vector/Rotation.h>
#include <CLHEP/Vector/ThreeVector.h>
#include <iostream>
#include <vector>

Go to the source code of this file.

Classes

class  MucGeoGap

Typedefs

typedef HepGeom::Point3D< double > HepPoint3D
typedef HepGeom::Vector3D< double > HepVector3D

Functions

ostream & operator<< (ostream &s, const MucGeoGap &gap)

Typedef Documentation

◆ HepPoint3D

typedef HepGeom::Point3D<double> HepPoint3D

◆ HepVector3D

typedef HepGeom::Vector3D<double> HepVector3D

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream & s,
const MucGeoGap & gap )

Definition at line 632 of file MucGeoGap.cxx.

632 {
633 // float x0, y0, z0;
634 float dx, dy, dz;
635 HepPoint3D center;
636 center = gap.GetCenter();
637 gap.GetSize( dx, dy, dz );
638
639 s << " Identifier : " << gap.Part() << " " << gap.Seg() << " " << gap.Gap() << endl;
640 s << " Strip number " << gap.GetStripNum() << endl;
641 s << " Center position (" << center.x() << "," << center.y() << "," << center.z() << ")"
642 << endl;
643 s << " Size (" << dx << "," << dy << "," << dz << ")" << endl;
644
645 return s;
646}
HepGeom::Point3D< double > HepPoint3D
XmlRpcServer s
void GetSize(float &xSize, float &ySize, float &zSize) const
Get size of this gap.
HepPoint3D GetCenter() const
Get gap center position in global coordinate.
int Part() const
Get part identifier (0,2 for cap, 1 for barrel).