EmcClusterLocalExt.C

Go to the documentation of this file.
00001 #include "EmcClusterLocalExt.h"
00002 
00003 ClassImp(EmcClusterLocalExt)
00004 
00005 short EmcClusterLocalExt::get_type(const unsigned int iclus) const
00006 {
00007   if ( get_arm(iclus) == -9999 ) return -9999;
00008 
00009   if ( get_arm(iclus) == 0 ) return 0;  // PBSC
00010 
00011   if ( get_sector(iclus) <= 1 ) return 1;
00012   else                     return 0;
00013 
00014   return -9999;
00015 }
00016