BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
testGeom.cxx
Go to the documentation of this file.
1
#include <iostream>
2
3
#include "EmcGeneralClass/EmcStructure.h"
4
using namespace
std
;
5
6
int
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
}
EmcStructure
Definition:
Emc/EmcGeneralClass/EmcGeneralClass-00-00-04/EmcGeneralClass/EmcStructure.h:6
EmcStructure::setEmcStruc
void setEmcStruc()
Definition:
EmcStructure.cxx:23
EmcStructure::getPartId
unsigned int getPartId(long Index) const
Definition:
Emc/EmcGeneralClass/EmcGeneralClass-00-00-04/EmcGeneralClass/EmcStructure.h:35
EmcStructure::getPhi
unsigned int getPhi(long Index) const
Definition:
Emc/EmcGeneralClass/EmcGeneralClass-00-00-04/EmcGeneralClass/EmcStructure.h:37
EmcStructure::getTheta
unsigned int getTheta(long Index) const
Definition:
Emc/EmcGeneralClass/EmcGeneralClass-00-00-04/EmcGeneralClass/EmcStructure.h:36
std
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/RootEventData_rootcint.cxx:16
main
int main()
Definition:
testGeom.cxx:6
source
Emc
EmcGeneralClass
EmcGeneralClass-00-00-04
test
testGeom.cxx
Generated by
1.9.6