1#include "Identifier/Identifier.h"
2#include "Identifier/EmcID.h"
3#include "EmcRecGeoSvc/EmcRecGeoSvc.h"
4#include "EmcRecGeoSvc/EmcRecROOTGeo.h"
48 out.open(
"barrel.txt");
49 for(
int part=1;part<2;part++) {
50 for(
int phi=0;phi<120;phi++) {
51 for(
int theta=0;theta<44;theta++) {
54 if((phi==31||phi==30)&&(theta==21||theta==22)) {
55 std::cout<<
id<<
"\t"<<phi<<
"\t"<<theta<<endl;
57 <<
"\n-------------\n"<<aROOTGeo.
GetCrystal(
id)<<
"\n"<<std::endl;
59 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