X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONSegmentationTrigger.h;h=83cb2baa3a50a88e98bb210b9996601900945216;hb=d712b5b85d6141932a9f3e6d8c93a8c95a8b1693;hp=023c8e540d9fe120884eb0267c8e6f8757757497;hpb=ef42d733b7e1291173d30fad82c7b0d50feeee85;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONSegmentationTrigger.h b/MUON/AliMUONSegmentationTrigger.h index 023c8e540d9..83cb2baa3a5 100644 --- a/MUON/AliMUONSegmentationTrigger.h +++ b/MUON/AliMUONSegmentationTrigger.h @@ -15,38 +15,35 @@ 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) - {SetHit(xhit, yhit);} - - virtual void Draw(const char *opt="") {} - - ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger - 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) + 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 -// Current pad during integration (cursor for disintegration) - Int_t fix; // pad coord. x - Int_t fiy; // pad coord. y - Float_t fx; // real coord. x - Float_t fy; // real ccord. y + 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) - Float_t fxhit; // x-position of hit - Float_t fyhit; // y-position of hit +// Current pad during integration (cursor for disintegration) Int_t fSector;// Segmentation Sector + ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger }; #endif