1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.2 1999/09/29 09:24:20 fca
19 Introduction of the Copyright and cvs Log
23 #include "AliITSmodule.h"
26 ClassImp(AliITSmodule)
28 //_______________________________________________________________________
30 // Impementation of class AliITSmodule
32 // created by: A. Bouchm, W. Peryt, S. Radomski, P. Skowronski
33 // R. Barbers, B. Batyunia, B. S. Nilsen
34 // ver 1.0 CERN 16.09.1999
35 //_______________________________________________________________________
38 //________________________________________________________________________
40 // Constructors and deconstructor
41 //________________________________________________________________________
45 AliITSmodule::AliITSmodule() {
48 fHitsM = new TObjArray();
50 fITS = (AliITS*)(gAlice->GetDetector("ITS"));
54 //_________________________________________________________________________
56 AliITSmodule::AliITSmodule(Int_t index) {
59 fHitsM = new TObjArray();
61 fITS = (AliITS*)(gAlice->GetDetector("ITS"));
65 //__________________________________________________________________________
67 AliITSmodule::~AliITSmodule() {
68 if(fHitsM) delete fHitsM;
72 //_________________________________________________________________________
75 //__________________________________________________________________________
78 Int_t AliITSmodule::AddHit(AliITShit* hit ) {
80 fNhitsM = fHitsM->GetEntriesFast();
84 //___________________________________________________________________________
85 void AliITSmodule::Streamer(TBuffer & /*R__b*/){
86 // Stream an object of class AliITSmodule.
89 // This class is not to be written out to any file.
90 // if (R__b.IsReading()) {
91 // Version_t R__v = R__b.ReadVersion(); if (R__v) { }
92 // TObject::Streamer(R__b);
102 // R__b.WriteVersion(AliITSmodule::IsA());
103 // TObject::Streamer(R__b);
114 //______________________________________________________________________