BOSS 7.0.8
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}
void setEmcStruc()
unsigned int getPartId(long Index) const
Definition: EmcStructure.h:35
unsigned int getPhi(long Index) const
Definition: EmcStructure.h:37
unsigned int getTheta(long Index) const
Definition: EmcStructure.h:36
int main()
Definition: testGeom.cxx:6