BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcFraction.h File Reference
#include <map>
#include "EmcRecEventModel/RecEmcDataType.h"
#include "EmcRecEventModel/RecEmcHit.h"

Go to the source code of this file.

Classes

class  RecEmcFraction

Typedefs

typedef map< RecEmcID, RecEmcFraction, less< RecEmcID > > RecEmcFractionMap

Functions

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

Typedef Documentation

◆ RecEmcFractionMap

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