#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$ */ #include "AliMUONSegmentationV0.h" class AliMUONChamber; //---------------------------------------------- // // Chamber segmentation virtual base class // class AliMUONSegmentationTrigger : public AliMUONSegmentationV0 { public: AliMUONSegmentationTrigger(){fChamber=0;} 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) {SetHit(xhit, yhit);} // Draw the segmentation zones virtual void Draw(const char *opt="") const {} protected: AliMUONChamber* fChamber; // Parent Chamber Int_t fId; // Identifier protected: Float_t StripSizeX(Int_t imodule); Float_t StripSizeY(Int_t imodule); 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