#ifndef ALIMUONSEGMENTATIONTRIGGER_H #define ALIMUONSEGMENTATIONTRIGGER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ // Revision of includes 07/05/2004 //---------------------------------------------- // // Chamber segmentation virtual base class // #include "AliMUONSegmentationV0.h" class AliMUONChamber; class AliMUONSegmentationTrigger : public AliMUONSegmentationV0 { public: AliMUONSegmentationTrigger(); virtual ~AliMUONSegmentationTrigger(){} virtual void Init(Int_t chamber); // Initialization Int_t ModuleNumber(Int_t imodule); // returns module number of ModuleId // Set pad position -> in SegRes X & Y // virtual void SetPad(Int_t, Int_t); // Set hit position virtual void SetHit(Float_t xhit, Float_t yhit); virtual void SetHit(Float_t xhit, Float_t yhit, Float_t zhit); // Draw the segmentation zones virtual void Draw(const char *opt=""); protected: Int_t fId; // Identifier protected: Float_t StripSizeX(Int_t imodule); Float_t StripSizeY(Int_t imodule, Int_t istrip); protected: Float_t fYcmin[126]; // y min position of modules Float_t fYcmax[126]; // y max position of modules Float_t fZscale; // scaling factor (Zx/Z1, x=1,2,3,4) // Current pad during integration (cursor for disintegration) Int_t fSector;// Segmentation Sector ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger }; #endif