10 BesEMCRecGeo& geo = BesEMCRecGeo::GetInstance();
11 BesEMCRecCrystal acry;
15 id = EMCalID::crystal_id( 2, 22, 30 );
16 acry = geo.GetCrystal(
id );
17 aPoint = geo.GetCCenter(
id );
19 cout << aPoint << endl;
23 id = EMCalID::crystal_id( 2, 22, 31 );
24 acry = geo.GetCrystal(
id );
25 aPoint = geo.GetCCenter(
id );
27 cout << aPoint << endl;
31 id = EMCalID::crystal_id( 2, 22, 1 );
32 acry = geo.GetCrystal(
id );
33 aPoint = geo.GetCCenter(
id );
35 cout << aPoint << endl;
39 id = EMCalID::crystal_id( 2, 22, 60 );
40 acry = geo.GetCrystal(
id );
41 aPoint = geo.GetCCenter(
id );
43 cout << aPoint << endl;