BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecCrystal.cxx
Go to the documentation of this file.
1#include "EmcRecGeoSvc/EmcRecCrystal.h"
2
3ostream& operator<<( ostream& os, const EmcRecCrystal& aCrystal ) {
4 int i;
5 if ( aCrystal.Type() == EmcRecCrystal::SixPlane() )
6 {
7 for ( i = 0; i < 8; i++ )
8 {
9 if ( i < 7 ) { os << aCrystal.Get( i ) << endl; }
10 else { os << aCrystal.Get( i ); }
11 }
12 }
13 if ( aCrystal.Type() == EmcRecCrystal::SevenPlane() )
14 {
15 for ( i = 0; i < 10; i++ )
16 {
17 if ( i < 9 ) { os << aCrystal.Get( i ) << endl; }
18 else { os << aCrystal.Get( i ); }
19 }
20 }
21 return os;
22}
ostream & operator<<(ostream &os, const EmcRecCrystal &aCrystal)