BOSS 7.1.0
BESIII Offline Software System
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DstEmcShower.cxx File Reference

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const DstEmcShower &aShower)
 

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  os,
const DstEmcShower aShower 
)

Definition at line 27 of file DstEmcShower.cxx.

28{
29 os<<"------------------DstEmcShower:"<<endl;
30 os<<"Track id: "<<aShower.trackId()<<", number of hits: "<<aShower.numHits()
31 <<", status: "<<aShower.status()<<", cell id: "<<aShower.cellId()
32 <<", module: "<<aShower.module()<<", time: "<<aShower.time()<<endl;
33 os<<"Energy: "<<aShower.energy()<<", de: "<<aShower.dE()
34 <<", eseed: "<<aShower.eSeed()
35 <<", e3x3: "<<aShower.e3x3()<<", e5x5: "<<aShower.e5x5()<<endl;
36 os<<"Position: "<<aShower.position()
37 <<", theta: "<<aShower.theta()<<", phi: "<<aShower.phi()
38 <<"\ndx: "<<aShower.dx()<<", dy: "<<aShower.dy()<<", dz: "<<aShower.dz()
39 <<", dtheta: "<<aShower.dtheta()<<", dphi: "<<aShower.dphi()<<endl;
40 os<<"Second moment: "<<aShower.secondMoment()
41 <<", lat moment: "<<aShower.latMoment()
42 <<", a20 moment: "<<aShower.a20Moment()
43 <<", a42 moment: "<<aShower.a42Moment()<<endl;
44 os<<"Error matrix: \n"<<aShower.errorMatrix()<<endl;
45
46 return os;
47}
double dy() const
int cellId() const
Definition: DstEmcShower.h:32
HepPoint3D position() const
Definition: DstEmcShower.h:34
int status() const
Definition: DstEmcShower.h:31
double latMoment() const
Definition: DstEmcShower.h:52
double a42Moment() const
Definition: DstEmcShower.h:54
double eSeed() const
Definition: DstEmcShower.h:47
double dphi() const
Definition: DstEmcShower.h:44
double theta() const
Definition: DstEmcShower.h:38
int module() const
Definition: DstEmcShower.h:33
double e3x3() const
Definition: DstEmcShower.h:48
double dz() const
double phi() const
Definition: DstEmcShower.h:39
double dx() const
Definition: DstEmcShower.cxx:3
double secondMoment() const
Definition: DstEmcShower.h:51
int trackId() const
Definition: DstEmcShower.h:29
HepSymMatrix errorMatrix() const
Definition: DstEmcShower.h:55
double e5x5() const
Definition: DstEmcShower.h:49
double time() const
Definition: DstEmcShower.h:50
int numHits() const
Definition: DstEmcShower.h:30
double a20Moment() const
Definition: DstEmcShower.h:53
double energy() const
Definition: DstEmcShower.h:45
double dE() const
Definition: DstEmcShower.h:46
double dtheta() const
Definition: DstEmcShower.h:43