BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EmcRecEventModel/EmcRecEventModel/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 111 of file RecEmcFraction.cxx.

112{
113 os<<"Fraction: ";
114
115 os<<aFraction.getCellId()<<", ";
116
117 os.width(12);
118 os.setf(ios::right);
119 os<<aFraction.getEnergy()<<", ";
120
121 os.width(12);
122 os.setf(ios::right);
123 os<<aFraction.getTime()<<", ";
124
125 os.width(12);
126 os.setf(ios::right);
127 os<<aFraction.getFraction()<<", ";
128
129 os.width(12);
130 os.setf(ios::right);
131 os<<aFraction.getEnergy()*aFraction.getFraction();
132
133 os<<endl;
134
135 return os;
136}
RecEmcFrac getFraction() const