/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Emc/EmcGeneralClass/EmcGeneralClass-00-00-04/test/testGeom.cxx File Reference

#include <iostream>
#include "EmcGeneralClass/EmcStructure.h"

Go to the source code of this file.

Functions

int main ()


Function Documentation

int main (  ) 

Definition at line 6 of file testGeom.cxx.

References EmcStructure::getPartId(), EmcStructure::getPhi(), EmcStructure::getTheta(), and EmcStructure::setEmcStruc().

00006           {
00007 
00008   int numberOfXtalsRing;
00009   
00010   EmcStructure* theEmcStruc=new EmcStructure() ;
00011   theEmcStruc->setEmcStruc();
00012 
00013   //number Of Theta Rings
00014    cout<<"ind"<<"  "<<"theEmcStruc->getTheta(ind)"<<"  "
00015        <<"theEmcStruc->getPhi(ind)"<<endl;
00016 
00017  for(int ind=0; ind<6240;ind++){
00018 
00019    cout<<ind<<"  "<<theEmcStruc->getTheta(ind)<<"  "
00020        <<theEmcStruc->getPhi(ind)<<"  "
00021        <<theEmcStruc->getPartId(ind)<<endl;
00022 
00023  
00024 }
00025   delete theEmcStruc;
00026   return 0;
00027 }


Generated on Tue Nov 29 23:15:00 2016 for BOSS_7.0.2 by  doxygen 1.4.7