CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
testGeom.cxx File Reference
#include <iostream>
#include "EmcGeneralClass/EmcStructure.h"

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 6 of file testGeom.cxx.

6 {
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