#include <iostream>
#include "CLHEP/Units/PhysicalConstants.h"
#include "CLHEP/Geometry/Point3D.h"
Go to the source code of this file.
Classes | |
class | EmcRecCrystal |
Typedefs | |
typedef HepGeom::Point3D< double > | HepPoint3D |
Functions | |
ostream & | operator<< (ostream &os, const EmcRecCrystal &aCrystal) |
typedef HepGeom::Point3D<double> HepPoint3D |
Definition at line 21 of file EmcRecCrystal.h.
ostream& operator<< | ( | ostream & | os, | |
const EmcRecCrystal & | aCrystal | |||
) |
Definition at line 3 of file EmcRecCrystal.cxx.
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 }