BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MucGeoGap.cxx File Reference
#include "TGeoBBox.h"
#include <iostream>
#include <vector>
#include "Identifier/MucID.h"
#include "MucGeomSvc/MucConstant.h"
#include "MucGeomSvc/MucGeoGap.h"
#include "MucGeomSvc/MucGeoStrip.h"
#include "MucGeomSvc/MucGeometron.h"

Go to the source code of this file.

Functions

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

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).