]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSegmentManuIndex.h
Removing obsolete methods ( Christian )
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentManuIndex.h
CommitLineData
74f8c8e3 1#ifndef ALIMUONSEGMENTMANUINDEX_H
2#define ALIMUONSEGMENTMANUINDEX_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
692de412 8/// \ingroup base
9/// \class AliMUONSegmentManuIndex
10/// \brief Segment element indexing in a detection element for electronics
11
74f8c8e3 12//===================================================================
13// Segment element indexing in a detection element for electronics
14// Gines MARTINEZ, SUBATECH July 04
15// This class is the basic component of
16// AliMUONSegmentationDetectionElement and contains al the
17// info about a segment (pad or strip):
18// Id-indetectionelement, #manu, #manuchannel
19// Detailed information in Alice Technical Note xxxxxxxx (2004)
20//====================================================================
21
22#include <TNamed.h>
23
212bb69d 24class TString;
74f8c8e3 25
26class AliMUONSegmentManuIndex : public TNamed {
27 public:
28 AliMUONSegmentManuIndex();
5d0435dd 29 AliMUONSegmentManuIndex(Int_t channelId, Int_t manuId, Int_t busPatchId, Int_t manuChannelId);
74f8c8e3 30
31 virtual ~AliMUONSegmentManuIndex();
32
33 Int_t Compare(const TObject *obj) const;
34
35 Int_t GetChannelId() const{return fChannelId;}
36 Int_t GetManuId() const{return fManuId;}
37 Int_t GetBusPatchId() const{return fBusPatchId;}
38 Int_t GetManuChannelId() const{return fManuChannelId;}
212bb69d 39
40 static TString Name(Int_t manuId, Int_t manuchannel);
74f8c8e3 41
f1501d74 42 void SetBusPatchId(Int_t b) {fBusPatchId = b;}
337c9041 43 void Print(const char* opt="") const;
74f8c8e3 44
45 private:
46 Int_t fChannelId; // Id of the channel within the detection element
47 Int_t fManuId; // Manu id in the detection element
48 Int_t fBusPatchId; // BusPatchId in the detection element up to 4 for slats
49 Int_t fManuChannelId; // ChannelId in the manu card 1-64
50
51 ClassDef(AliMUONSegmentManuIndex,1) // Segmenation for MUON detection elements
52
53};
54
55#endif
56
57
58
59
60
61