]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDsegmentID.cxx
Protection against division by 0 in Binaries().
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.cxx
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 /*
17 $Log$
18 Revision 1.3.12.2  2002/07/24 10:09:31  alibrary
19 Updating VirtualMC
20
21 Revision 1.4  2002/03/28 14:59:07  cblume
22 Coding conventions
23
24 Revision 1.3  2000/11/01 14:53:21  cblume
25 Merge with TRD-develop
26
27 Revision 1.1.4.1  2000/10/04 16:34:58  cblume
28 Replace include files by forward declarations
29
30 Revision 1.2  2000/06/08 18:32:58  cblume
31 Make code compliant to coding conventions
32
33 Revision 1.1  2000/02/28 19:03:35  cblume
34 Add new TRD classes
35
36 */
37
38 ///////////////////////////////////////////////////////////////////////////////
39 //                                                                           //
40 //     Base class for a detector segment                                     // 
41 //                                                                           //
42 ///////////////////////////////////////////////////////////////////////////////
43
44 #include "AliTRDsegmentID.h"
45
46 ClassImp(AliTRDsegmentID)
47
48 //_____________________________________________________________________________
49 AliTRDsegmentID::AliTRDsegmentID():TObject()
50 {
51   //
52   // AliTRDsegmentID default constructor
53   //
54
55   fSegmentID = 0;
56
57 }
58
59 //_____________________________________________________________________________
60 AliTRDsegmentID::AliTRDsegmentID(Int_t index):TObject()
61 {
62   //
63   // Defines a detector segment
64   //
65
66   fSegmentID = index;
67
68 }
69
70 //_____________________________________________________________________________
71 AliTRDsegmentID::~AliTRDsegmentID()
72 {
73   //
74   // AliTRDsegmentID destructor
75   //
76
77 }