BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
MucGeoGap.cxx File Reference
#include <iostream>
#include <vector>
#include "TGeoBBox.h"
#include "MucGeomSvc/MucGeoGap.h"
#include "MucGeomSvc/MucGeoStrip.h"
#include "MucGeomSvc/MucGeometron.h"
#include "MucGeomSvc/MucConstant.h"
#include "Identifier/MucID.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 684 of file MucGeoGap.cxx.

686{
687 //float x0, y0, z0;
688 float dx, dy, dz;
689 HepPoint3D center;
690 center = gap.GetCenter();
691 gap.GetSize(dx,dy,dz);
692
693 s << " Identifier : " << gap.Part() << " " << gap.Seg() << " " << gap.Gap() << endl;
694 s << " Strip number " << gap.GetStripNum() << endl;
695 s << " Center position (" << center.x() << "," << center.y() << "," << center.z() << ")" << endl;
696 s << " Size (" << dx << "," << dy << "," << dz << ")" << endl;
697
698 return s;
699}
XmlRpcServer s
Definition: HelloServer.cpp:11
void GetSize(float &xSize, float &ySize, float &zSize) const
Get size of this gap.
Definition: MucGeoGap.cxx:310
HepPoint3D GetCenter() const
Get gap center position in global coordinate.
int Seg() const
Get seg identifier (0-7).
int Gap() const
Get gap identifier (0-8).
int Part() const
Get part identifier (0,2 for cap, 1 for barrel).