1#include "EmcRecGeoSvc/EmcRecGeoSvc.h"
2#include "EmcRecGeoSvc/EmcRecROOTGeo.h"
3#include "Identifier/EmcID.h"
4#include "Identifier/Identifier.h"
47 out.open(
"barrel.txt" );
48 for (
int part = 1; part < 2; part++ )
50 for (
int phi = 0; phi < 120; phi++ )
52 for (
int theta = 0; theta < 44; theta++ )
56 if ( ( phi == 31 || phi == 30 ) && ( theta == 21 || theta == 22 ) )
58 std::cout <<
id <<
"\t" << phi <<
"\t" << theta << endl;
59 cout << geo.
GetCrystal(
id ) <<
"\n-------------\n"
63 out << part <<
"\t" << phi <<
"\t" << theta <<
"\t"
static Identifier crystal_id(const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module)
For a single crystal.
EmcRecCrystal GetCrystal(const Identifier &id) const
HepPoint3D GetCFrontCenter(const Identifier &id) const
HepPoint3D GetCCenter(const Identifier &id) const
EmcRecCrystal GetCrystal(const Identifier &id) const
HepPoint3D GetCFrontCenter(const Identifier &id) const
HepPoint3D GetCCenter(const Identifier &id) const