CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
testGeom.cxx
Go to the documentation of this file.
1#include <iostream>
2
4using namespace std;
5
6int main(){
7
8 int numberOfXtalsRing;
9
10 EmcStructure* theEmcStruc=new EmcStructure() ;
11 theEmcStruc->setEmcStruc();
12
13 //number Of Theta Rings
14 cout<<"ind"<<" "<<"theEmcStruc->getTheta(ind)"<<" "
15 <<"theEmcStruc->getPhi(ind)"<<endl;
16
17 for(int ind=0; ind<6240;ind++){
18
19 cout<<ind<<" "<<theEmcStruc->getTheta(ind)<<" "
20 <<theEmcStruc->getPhi(ind)<<" "
21 <<theEmcStruc->getPartId(ind)<<endl;
22
23
24}
25 delete theEmcStruc;
26 return 0;
27}
unsigned int getPartId(long Index) const
unsigned int getPhi(long Index) const
unsigned int getTheta(long Index) const
int main()
Definition testGeom.cxx:6