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

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

◆ HepVector3D

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