X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSv1.cxx;h=8f4fe2370cd7eb5aa6b06a317f21ba09610baa6e;hb=1c1b73f894d69e9dc267f910efebecff32190f49;hp=a518109da8fa00afff487d9aa8fd7c06d0c8719b;hpb=4c03906077acc435bf9790b980186e0015ea0b89;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSv1.cxx b/ITS/AliITSv1.cxx index a518109da8f..8f4fe2370cd 100644 --- a/ITS/AliITSv1.cxx +++ b/ITS/AliITSv1.cxx @@ -15,6 +15,12 @@ /* $Log$ +Revision 1.9 1999/10/05 08:05:09 fca +Minor corrections for uninitialised variables. + +Revision 1.8 1999/09/29 09:24:20 fca +Introduction of the Copyright and cvs Log + */ /////////////////////////////////////////////////////////////////////////////// @@ -45,22 +51,45 @@ $Log$ ClassImp(AliITSv1) //_____________________________________________________________________________ -AliITSv1::AliITSv1() : AliITS() -{ - // - // Default constructor for the ITS - // +AliITSv1::AliITSv1() { + // + // Default constructor for the ITS + // + fId1N = 6; + fId1Name = new char*[fId1N]; + fId1Name[0] = "ITS1"; + fId1Name[1] = "ITS2"; + fId1Name[2] = "ITS3"; + fId1Name[3] = "ITS4"; + fId1Name[4] = "ITS5"; + fId1Name[5] = "ITS6"; } //_____________________________________________________________________________ -AliITSv1::AliITSv1(const char *name, const char *title) - : AliITS(name, title) -{ - // - // Standard constructor for the ITS - // +AliITSv1::AliITSv1(const char *name, const char *title) : AliITS(name, title){ + // + // Standard constructor for the ITS + // + fId1N = 6; + fId1Name = new char*[fId1N]; + fId1Name[0] = "ITS1"; + fId1Name[1] = "ITS2"; + fId1Name[2] = "ITS3"; + fId1Name[3] = "ITS4"; + fId1Name[4] = "ITS5"; + fId1Name[5] = "ITS6"; } +//_____________________________________________________________________________ +AliITSv1::~AliITSv1() { + // + // Standard destructor for the ITS + // + for (Int_t i=0;iCurrentTrack(),vol,hits); } } + +//____________________________________________________________________________ +void AliITSv1::Streamer(TBuffer &R__b) +{ + // Stream an object of class AliITSv1. + + if (R__b.IsReading()) { + Version_t R__v = R__b.ReadVersion(); if (R__v) { } + AliITS::Streamer(R__b); + // This information does not need to be read. It is "hard wired" + // into this class via its creators. + //R__b >> fId1N; + //R__b.ReadArray(fId1Name); + } else { + R__b.WriteVersion(AliITSv1::IsA()); + AliITS::Streamer(R__b); + // This information does not need to be saved. It is "hard wired" + // into this class via its creators. + //R__b << fId1N; + //R__b.WriteArray(fId1Name, __COUNTER__); + } +}