CGEM BOSS
6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecCrystal.cxx
Go to the documentation of this file.
1
#include "
EmcRecGeoSvc/EmcRecCrystal.h
"
2
3
ostream&
operator<<
(ostream & os,
const
EmcRecCrystal
& aCrystal)
4
{
5
int
i;
6
if
(aCrystal.
Type
()==
EmcRecCrystal::SixPlane
()) {
7
for
(i=0;i<8;i++){
8
if
(i<7) {
9
os<<aCrystal.
Get
(i)<<endl;
10
}
else
{
11
os<<aCrystal.
Get
(i);
12
}
13
}
14
}
15
if
(aCrystal.
Type
()==
EmcRecCrystal::SevenPlane
()) {
16
for
(i=0;i<10;i++){
17
if
(i<9) {
18
os<<aCrystal.
Get
(i)<<endl;
19
}
else
{
20
os<<aCrystal.
Get
(i);
21
}
22
}
23
}
24
return
os;
25
}
operator<<
ostream & operator<<(ostream &os, const EmcRecCrystal &aCrystal)
Definition:
EmcRecCrystal.cxx:3
EmcRecCrystal.h
EmcRecCrystal
Definition:
EmcRecCrystal.h:28
EmcRecCrystal::Get
HepPoint3D Get(int index) const
Definition:
EmcRecCrystal.h:83
EmcRecCrystal::SixPlane
static int SixPlane()
Definition:
EmcRecCrystal.h:65
EmcRecCrystal::Type
int Type() const
Definition:
EmcRecCrystal.h:72
EmcRecCrystal::SevenPlane
static int SevenPlane()
Definition:
EmcRecCrystal.h:68
source
Emc
EmcRecGeoSvc
EmcRecGeoSvc-01-01-07
src
EmcRecCrystal.cxx
Generated by
1.9.6