/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ /* $Log$ Revision 1.3 2000/06/26 10:01:26 pcrochet global variables removed Revision 1.2 2000/06/15 07:58:48 morsch Code from MUON-dev joined Revision 1.1.2.1 2000/06/09 21:51:58 morsch Code from AliMUONSegResTriggerY.cxx */ /* Old Log: Revision 1.1.2.4 2000/05/05 10:17:04 morsch Y strip numerotation changed (CP) Revision 1.1.2.3 2000/04/26 12:33:40 morsch Minor changes in some methods (CP) Revision 1.1.2.2 2000/02/20 07:49:50 morsch Bugs in Dpx, Dpy and ISector methods corrected (P.C.) Revision 1.1.2.1 2000/02/17 14:34:57 morsch Draft version from P. Crochet */ #include "AliMUONSegmentationTriggerY.h" #include "AliMUONTriggerConstants.h" #include "TMath.h" #include "TRandom.h" #include "TArc.h" #include "AliMUONChamber.h" #include ClassImp(AliMUONSegmentationTriggerY) //------------------------------------------------------------------ void AliMUONSegmentationTriggerY::Init(Int_t chamber) { // intialize Y segmentation cout << "Initialize Trigger Chamber Geometry Y " << "\n"; AliMUONSegmentationTrigger::Init(chamber); // calculate x & y position of Y strips Int_t nModule=AliMUONTriggerConstants::Nmodule(); for (Int_t imodule=0; imodulefXofysmin[imodule][istrip]&&xfYofysmin[imodule][istrip]&&y