]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONVGeometryDESegmentation.h
Move to new mapping
[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
692de412 6/// \ingroup geometry
7/// \class AliMUONVGeometryDESegmentation
8/// \brief Extension for AliSegmentation interface for detection elements
9///
10/// Extension for AliSegmentation interface,
11/// added functions: \n
12/// Bool_t HasPad(Float_t x, Float_t y, Float_t z); \n
13/// Bool_t HasPad(Int_t ix, Int_t iy); \n
14///
15/// Author:Ivana Hrivnacova, IPN Orsay
34c6c288 16
17#ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
18#define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
19
20#include "AliSegmentation.h"
6b1e4b22 21#include "AliMUONGeometryDirection.h"
34c6c288 22
5db8c9c1 23class AliMpVSegmentation;
f1501d74 24
34c6c288 25class AliMUONVGeometryDESegmentation : public AliSegmentation
26{
27 public:
28 AliMUONVGeometryDESegmentation();
29 virtual ~AliMUONVGeometryDESegmentation();
30
31 // methods
32 virtual Bool_t HasPad(Float_t x, Float_t y, Float_t z) = 0;
33 // Returns true if a pad exists in the given position
34 virtual Bool_t HasPad(Int_t ix, Int_t iy) = 0;
35 // Returns true if a pad with given indices exists
36
6b1e4b22 37 virtual AliMUONGeometryDirection GetDirection() = 0;
e9981d13 38 // Returns the direction with a constant pad size
39 // (Direction or coordinate where the spatial resolution
40 // is the best)
41 // Normally kDirY will correspond with cathode segmentation
42 // for the bending plane and kDirX with cathode segmentation
43 // for the non bending plane
5db8c9c1 44
45 virtual const AliMpVSegmentation* GetMpSegmentation() const = 0;
46 // Access to mapping
6b1e4b22 47
34c6c288 48 protected:
49 AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
50
51 // operators
52 AliMUONVGeometryDESegmentation& operator=(
53 const AliMUONVGeometryDESegmentation & rhs);
54
55 ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
56};
57
58#endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
59
60
61
62
63
64
65
66