BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcFraction.cxx File Reference
#include <iostream>
#include "EmcRecEventModel/RecEmcFraction.h"
#include "Identifier/EmcID.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const RecEmcFraction &aFraction)

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream & os,
const RecEmcFraction & aFraction )

Definition at line 96 of file RecEmcFraction.cxx.

96 {
97 os << "Fraction: ";
98
99 os << aFraction.getCellId() << ", ";
100
101 os.width( 12 );
102 os.setf( ios::right );
103 os << aFraction.getEnergy() << ", ";
104
105 os.width( 12 );
106 os.setf( ios::right );
107 os << aFraction.getTime() << ", ";
108
109 os.width( 12 );
110 os.setf( ios::right );
111 os << aFraction.getFraction() << ", ";
112
113 os.width( 12 );
114 os.setf( ios::right );
115 os << aFraction.getEnergy() * aFraction.getFraction();
116
117 os << endl;
118
119 return os;
120}
RecEmcFrac getFraction() const