/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Emc/EmcRecGeoSvc/EmcRecGeoSvc-01-01-07/src/EmcRecCrystal.cxx

Go to the documentation of this file.
00001 #include "EmcRecGeoSvc/EmcRecCrystal.h"
00002 
00003 ostream& operator<<(ostream & os,const EmcRecCrystal& aCrystal)
00004 {
00005    int i;
00006    if(aCrystal.Type()==EmcRecCrystal::SixPlane()) {
00007       for(i=0;i<8;i++){
00008          if(i<7) {
00009             os<<aCrystal.Get(i)<<endl;
00010          } else {
00011             os<<aCrystal.Get(i);
00012          }
00013       }
00014    }
00015    if(aCrystal.Type()==EmcRecCrystal::SevenPlane()) {
00016       for(i=0;i<10;i++){
00017          if(i<9) {
00018             os<<aCrystal.Get(i)<<endl;
00019          } else {
00020             os<<aCrystal.Get(i);
00021          }
00022       }
00023    }
00024    return os;
00025 }

Generated on Tue Nov 29 22:58:18 2016 for BOSS_7.0.2 by  doxygen 1.4.7