virtual Bool_t GetPHOShole() const = 0;
virtual Bool_t GetRICHhole() const = 0;
-
+ virtual Bool_t IsHole(Int_t /*iplan*/, Int_t /*icham*/, Int_t /*isect*/) const {return kFALSE;}
virtual Int_t GetDetectorSec(const Int_t p, const Int_t c) const;
virtual Int_t GetDetector(const Int_t p, const Int_t c, const Int_t s) const;
virtual Int_t GetPlane(const Int_t d) const;
/*
$Log$
+Revision 1.11 2003/09/18 09:06:07 cblume
+Geometry update, Removal of compiler warnings
+
Revision 1.9 2002/11/21 22:38:47 alibrary
Removing AliMC and AliMCProcess
}
+Bool_t AliTRDgeometryHole::IsHole(Int_t iplan, Int_t icham, Int_t isec) const
+{
+ // Position of Holes for PHOS (P) and RICH (R) starting at 6h
+ // P P P - - R R R - - - - - - - - P P
+ //Int_t cham[18] = {1, 1, 1, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1};
+ Int_t cham[18] = {2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0 }; // did we want this?
+
+ if ((cham[17-isec]==1) && (fClengthPH[iplan][icham]<0.00001)) return kTRUE;
+ if ((cham[17-isec]==2) &&(fClengthRH[iplan][icham]<0.000001)) return kTRUE;
+ return kFALSE;
+
+}
+
//_____________________________________________________________________________
void AliTRDgeometryHole::Init()
{