]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpTriggerSegmentation.h
Update manu serial number files (Christian)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpTriggerSegmentation.h
CommitLineData
ff7d3d1a 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3
4// $Id$
13985652 5// $MpId: AliMpTriggerSegmentation.h,v 1.8 2006/05/24 13:58:27 ivana Exp $
ff7d3d1a 6
9b97f64e 7/// \ingroup trigger
ff7d3d1a 8/// \class AliMpTriggerSegmentation
9/// \brief Implementation of AliMpVSegmentation for trigger slats.
13985652 10///
11// Author: Laurent Aphecetche
ff7d3d1a 12
13#ifndef ALI_MP_TRIGGER_SEGMENTATION_H
14#define ALI_MP_TRIGGER_SEGMENTATION_H
15
16#ifndef ROOT_TString
17#include "TString.h"
18#endif
19
20#ifndef ALI_MP_V_SEGMENTATION_H
21#include "AliMpVSegmentation.h"
22#endif
23
24#ifndef ALI_MP_PAD_H
25#include "AliMpPad.h"
26#endif
27
28class AliMpMotifPosition;
29class AliMpPCB;
30class AliMpTrigger;
31
32class AliMpTriggerSegmentation : public AliMpVSegmentation
33{
34public:
35 AliMpTriggerSegmentation();
c5b874d0 36 AliMpTriggerSegmentation(const AliMpTrigger* slat, Bool_t own = false);
ff7d3d1a 37 virtual ~AliMpTriggerSegmentation();
38
39 virtual AliMpVPadIterator* CreateIterator(const AliMpArea& area) const;
264a9c47 40 virtual AliMpVPadIterator* CreateIterator() const;
41 virtual Int_t GetNeighbours(const AliMpPad& pad, TObjArray& neighbours,
42 Bool_t includeSelf=kFALSE,
43 Bool_t includeVoid=kFALSE) const;
ff7d3d1a 44 const char* GetName() const;
45
46 Bool_t HasPad(const AliMpIntPair& indices) const;
47
026b7442 48 Int_t MaxPadIndexX() const;
49 Int_t MaxPadIndexY() const;
efb408b3 50 Int_t NofPads() const { return fNofStrips; }
ff7d3d1a 51
52 virtual AliMpPad PadByLocation(const AliMpIntPair& location,
53 Bool_t warning) const;
54
55 virtual AliMpPad PadByIndices(const AliMpIntPair& indices,
56 Bool_t warning) const;
57
58 virtual AliMpPad PadByPosition(const TVector2& position,
59 Bool_t warning) const;
60
61 const AliMpTrigger* Slat() const;
62
63bcb3c3 63 virtual void GetAllElectronicCardIDs(TArrayI& ecn) const;
64
cddd101e 65 AliMp::PlaneType PlaneType() const;
63bcb3c3 66
67 TVector2 Dimensions() const;
68
13e7956b 69private:
884a73f1 70 AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right);
71 AliMpTriggerSegmentation& operator = (const AliMpTriggerSegmentation& right);
13e7956b 72
c5b874d0 73 const AliMpTrigger* fkSlat; ///< Slat
74 Bool_t fIsOwner;///< Trigger slat ownership
829425a5 75 Int_t fNofStrips; ///< Number of strips in this slat
76
c5b874d0 77 ClassDef(AliMpTriggerSegmentation,3) // Segmentation for slat trigger stations
ff7d3d1a 78};
79
80#endif