AliRoot Core  3dc7879 (3dc7879)
AliMpVRowSegment.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 // $Id$
17 // $MpId: AliMpVRowSegment.cxx,v 1.6 2006/05/24 13:58:46 ivana Exp $
18 // Category: sector
19 
20 //-----------------------------------------------------------------------------
21 // Class AliMpVRowSegment
22 // ----------------------
23 // Class describing an interface for a row segment.
24 // Included in AliRoot: 2003/05/02
25 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
26 //-----------------------------------------------------------------------------
27 
28 #include "AliMpVRowSegment.h"
29 
30 #include <iostream>
31 #include "TString.h"
32 
34 ClassImp(AliMpVRowSegment)
36 
37 //_____________________________________________________________________________
39  : AliMpVIndexed()
40 {
42 }
43 
44 //_____________________________________________________________________________
46 {
48 }
49 
50 //_____________________________________________________________________________
52 {
54 
55  Fatal("CreateIterator", "Iterator is not yet implemented.");
56 
57  return 0;
58 }
59 
60 //_____________________________________________________________________________
61 void AliMpVRowSegment::Print(Option_t* opt) const
62 {
63  std::cout << opt << Form("%30s has %2d motifs",ClassName(),
64  GetNofMotifs());
65  std::cout << Form(" left,right=%7.2f,%7.2f bottom,top=%7.2f,%7.2f",
70  std::cout << Form(" ix=%3d,%3d iy=%3d,%3d",
71  GetLowLimitIx(),
73  GetLowLimitIy(),
75  << std::endl;
76 }
77 
Int_t GetLowLimitIx() const
virtual Double_t GetDimensionX() const =0
Return the x dimension of the row segment centre.
virtual ~AliMpVRowSegment()
Int_t GetLowLimitIy() const
Int_t GetHighLimitIy() const
void Print(Option_t *opt) const
Base class that defines the limits of global pad indices.
Definition: AliMpVIndexed.h:22
An interface for a row segment.
virtual Double_t GetPositionX() const =0
Return the x position of the row segment centre.
virtual Double_t GetPositionY() const =0
Return the y position of the row segment centre.
An interface for an iterator over pads.
virtual Double_t GetDimensionY() const =0
Return the y dimension of the row segment centre.
virtual AliMpVPadIterator * CreateIterator() const
Create iterator over this element.
Int_t GetHighLimitIx() const
virtual Int_t GetNofMotifs() const =0
Return the number of motifs in this this row segment.