]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added IsInEMC
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Sep 2001 17:08:44 +0000 (17:08 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Sep 2001 17:08:44 +0000 (17:08 +0000)
PHOS/AliPHOSGeometry.h

index 7b511f6891992ae17899ab822b895f3d3ff4ec75..ec37c133b61d02dfb682502b84d2d78eed8ed8e3 100644 (file)
@@ -79,6 +79,7 @@ public:
                         Double_t & z, Double_t & x) const ; 
                                          // calculates the impact coordinates of a neutral particle  
                                          // emitted in direction theta and phi in ALICE
+  Bool_t IsInEMC(const Int_t id) const { if (id > GetNModules() *  GetNCristalsInModule() ) return kFALSE; return kTRUE; } 
   void RelPosInModule(const Int_t * RelId, Float_t & y, Float_t & z) const ; 
                                          // gets the position of element (pad or Xtal) relative to 
                                          // center of PHOS module