BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcTofHit.h File Reference
#include "Identifier/Identifier.h"
#include <map>
#include <CLHEP/Geometry/Point3D.h>

Go to the source code of this file.

Classes

class  RecEmcTofHit
 

Typedefs

typedef HepGeom::Point3D< double > HepPoint3D
 
typedef map< int, RecEmcTofHit, less< int > > RecEmcTofHitMap
 

Functions

ostream & operator<< (ostream &os, const RecEmcTofHit &tofHit)
 

Typedef Documentation

◆ HepPoint3D

typedef HepGeom::Point3D<double> HepPoint3D

Definition at line 13 of file RecEmcTofHit.h.

◆ RecEmcTofHitMap

typedef map<int, RecEmcTofHit, less<int> > RecEmcTofHitMap

Definition at line 67 of file RecEmcTofHit.h.

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  os,
const RecEmcTofHit tofHit 
)

Definition at line 101 of file RecEmcTofHit.cxx.

102{
103 os<<"TofHit: ";
104
105 os<<tofHit.IntCellId()<<", ";
106
107 os.width(12);
108 os.setf(ios::right);
109 os<<tofHit.CellId()<<", ";
110
111 os.width(12);
112 os.setf(ios::right);
113 os<<tofHit.Energy()<<", ";
114
115 os.width(12);
116 os.setf(ios::right);
117 os<<tofHit.ZPosition()<<endl;
118
119 return os;
120}
double Energy() const
Definition: RecEmcTofHit.h:44
Identifier CellId() const
Definition: RecEmcTofHit.h:43
int IntCellId() const
double ZPosition() const
Definition: RecEmcTofHit.h:46