BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
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

typedef HepGeom::Point3D<double> HepPoint3D

Definition at line 27 of file MucGeoGap.h.

◆ HepVector3D

typedef HepGeom::Vector3D<double> HepVector3D

Definition at line 30 of file MucGeoGap.h.

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
int GetStripNum() const
Get SoftID.
Definition: MucGeoGap.h:114
HepPoint3D GetCenter() const
Get gap center position in global coordinate.
Definition: MucGeoGap.h:137
int Seg() const
Get seg identifier (0-7).
Definition: MucGeoGap.h:101
int Gap() const
Get gap identifier (0-8).
Definition: MucGeoGap.h:104
int Part() const
Get part identifier (0,2 for cap, 1 for barrel).
Definition: MucGeoGap.h:98