]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONVGeometryDESegmentation.h
Go on with new segmentation (Ch. Finck)
[u/mrichter/AliRoot.git] / MUON / AliMUONVGeometryDESegmentation.h
CommitLineData
34c6c288 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/* $Id$ */
5
6//
7// Class AliVMUONGeometryDESegmentation
8// ----------------------------------
9// Extension for AliSegmentation interface,
10// added functions:
11// Bool_t HasPad(Float_t x, Float_t y, Float_t z);
12// Bool_t HasPad(Int_t ix, Int_t iy);
13//
14// Author:Ivana Hrivnacova, IPN Orsay
15
16#ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
17#define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
18
19#include "AliSegmentation.h"
6b1e4b22 20#include "AliMUONGeometryDirection.h"
34c6c288 21
22class AliMUONVGeometryDESegmentation : public AliSegmentation
23{
24 public:
25 AliMUONVGeometryDESegmentation();
26 virtual ~AliMUONVGeometryDESegmentation();
27
28 // methods
29 virtual Bool_t HasPad(Float_t x, Float_t y, Float_t z) = 0;
30 // Returns true if a pad exists in the given position
31 virtual Bool_t HasPad(Int_t ix, Int_t iy) = 0;
32 // Returns true if a pad with given indices exists
33
6b1e4b22 34 virtual AliMUONGeometryDirection GetDirection() = 0;
e9981d13 35 // Returns the direction with a constant pad size
36 // (Direction or coordinate where the spatial resolution
37 // is the best)
38 // Normally kDirY will correspond with cathode segmentation
39 // for the bending plane and kDirX with cathode segmentation
40 // for the non bending plane
6b1e4b22 41
34c6c288 42 protected:
43 AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
44
45 // operators
46 AliMUONVGeometryDESegmentation& operator=(
47 const AliMUONVGeometryDESegmentation & rhs);
48
49 ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
50};
51
52#endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
53
54
55
56
57
58
59
60