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.14.4.9 2000/06/12 19:14:51 barbera
19 Remove partical transision to new Config.C calling convension. Bug Found.
21 Revision 1.14.4.8 2000/06/12 18:15:52 barbera
22 fixed posible compilation errors on HP unix. Modifided default constructor
23 for use with new calling requirements.
25 Revision 1.14.4.7 2000/06/11 20:37:59 barbera
26 coding convenstion update.
28 Revision 1.14.4.4 2000/05/19 10:10:21 nilsen
29 fix for bug with HP and Sun unix + fix for event display in ITS-working branch
31 Revision 1.14.4.3 2000/03/04 23:46:38 nilsen
32 Fixed up the comments/documentation.
34 Revision 1.14.4.2 2000/03/02 21:53:02 nilsen
35 To make it compatable with the changes in AliRun/AliModule.
37 Revision 1.14.4.1 2000/01/12 19:03:33 nilsen
38 This is the version of the files after the merging done in December 1999.
39 See the ReadMe110100.txt file for details
41 Revision 1.14 1999/10/22 08:16:49 fca
42 Correct destructors, thanks to I.Hrivnacova
44 Revision 1.13 1999/10/06 10:15:19 fca
45 Correct bug in allocation of layer name and add destructor
47 Revision 1.12 1999/10/05 08:05:09 fca
48 Minor corrections for uninitialised variables.
50 Revision 1.11 1999/09/29 09:24:20 fca
51 Introduction of the Copyright and cvs Log
55 ///////////////////////////////////////////////////////////////////////////////
57 // Inner Traking System version 5
58 // This class contains the base procedures for the Inner Tracking System
60 // Authors: R. Barbera, B. S. Nilsen.
62 // Created September 17 1999.
64 ///////////////////////////////////////////////////////////////////////////////
66 // See AliITSv5::StepManager().
67 #define ALIITSPRINTGEOM 0 // default. don't print out gemetry information
68 //#define ALIITSPRINTGEOM 1 // print out geometry information
73 #include <TGeometry.h>
76 #include <TFile.h> // only required for Tracking function?
78 #include <TObjArray.h>
79 #include <TClonesArray.h>
83 #if ALIITSPRINTGEOM==1
84 #include "../TGeant3/TGeant3.h"
86 #include "AliITShit.h"
89 #include "AliITSgeom.h"
93 //_____________________________________________________________________________
94 AliITSv5::AliITSv5()/*:AliITS("ITS","TDR version")*/{
95 ////////////////////////////////////////////////////////////////////////
96 // Standard default constructor for the ITS version 5.
97 ////////////////////////////////////////////////////////////////////////
99 fId5Name = new char*[fId5N];
100 fId5Name[0] = "ITS1";
101 fId5Name[1] = "ITS2";
102 fId5Name[2] = "ITS3";
103 fId5Name[3] = "ITS4";
104 fId5Name[4] = "ITS5";
105 fId5Name[5] = "ITS6";
107 fEuclidMaterial = "$ALICE_ROOT/Euclid/ITSgeometry_5.tme";
108 fEuclidGeometry = "$ALICE_ROOT/Euclid/ITSgeometry_5.euc";
109 printf("Created ITS TDR Detailed version reading geometry from file\n");
111 //____________________________________________________________________________
112 AliITSv5::AliITSv5(const AliITSv5 &source){
113 ////////////////////////////////////////////////////////////////////////
114 // Copy Constructor for ITS version 5.
115 ////////////////////////////////////////////////////////////////////////
116 if(&source == this) return;
117 this->fId5N = source.fId5N;
118 this->fId5Name = new char*[fId5N];
120 for(i=0;i<6;i++) strcpy(this->fId5Name[i],source.fId5Name[i]);
123 //_____________________________________________________________________________
124 AliITSv5& AliITSv5::operator=(const AliITSv5 &source){
125 ////////////////////////////////////////////////////////////////////////
126 // Assignment operator for the ITS version 1.
127 ////////////////////////////////////////////////////////////////////////
128 if(&source == this) return *this;
129 this->fId5N = source.fId5N;
130 this->fId5Name = new char*[fId5N];
132 for(i=0;i<6;i++) strcpy(this->fId5Name[i],source.fId5Name[i]);
135 //_____________________________________________________________________________
136 AliITSv5::~AliITSv5() {
137 ////////////////////////////////////////////////////////////////////////
138 // Standard destructor for the ITS version 5.
139 ////////////////////////////////////////////////////////////////////////
142 //_____________________________________________________________________________
143 AliITSv5::AliITSv5(const char *name, const char *title) : AliITS(name, title){
144 ////////////////////////////////////////////////////////////////////////
145 // Standard constructor for the ITS version 5.
146 ////////////////////////////////////////////////////////////////////////
148 fId5Name = new char*[fId5N];
149 fId5Name[0] = "ITS1";
150 fId5Name[1] = "ITS2";
151 fId5Name[2] = "ITS3";
152 fId5Name[3] = "ITS4";
153 fId5Name[4] = "ITS5";
154 fId5Name[5] = "ITS6";
156 fEuclidMaterial = "$ALICE_ROOT/Euclid/ITSgeometry_5.tme";
157 fEuclidGeometry = "$ALICE_ROOT/Euclid/ITSgeometry_5.euc";
158 printf("Created ITS TDR Detailed version reading geometry from file\n");
160 //_____________________________________________________________________________
161 void AliITSv5::BuildGeometry(){
162 ////////////////////////////////////////////////////////////////////////
163 // Geometry builder for the ITS version 5.
164 ////////////////////////////////////////////////////////////////////////
166 // Build ITS TNODE geometry for event display using detailed geometry.
167 // This function builds a simple ITS geometry used by the ROOT macro
172 //const Int_t kColorITSSPD=kRed;
173 //const Int_t kColorITSSDD=kGreen;
174 const Int_t kColorITSSSD=kBlue;
176 top=gAlice->GetGeometry()->GetNode("alice");
177 AliITSgeom *gm = this->GetITSgeom();
186 //TCanvas *c1 = new TCanvas("c1","ITS");
188 for(lay=1;lay<=2;lay++)
189 for(lad=1;lad<=gm->GetNladders(lay);lad++)
190 for(det=1;det<=gm->GetNdetectors(lay);det++){
192 box = new TBRIK ("ActiveSPD","Active volume of SPD","SPD SI DET",
195 cout << "EXCEPTION in box = new TBRIK" << endl;
198 gm->GetTrans(lay,lad,det,xg[0],xg[1],xg[2]);
199 gm->GetRotMatrix(lay,lad,det,rt);
200 //sprintf(name,"ROT%1.1d2.2d2.2d",lay,lad,det);
201 for(i=0;i<9;i++) rtd[i] = rt[i];
203 rm = new TRotMatrix(name,name,rtd);
205 cout << "EXCEPTION in new TRotMatrix" << endl;
209 //sprintf(name,"ND%1.1d2.2d2.2d",lay,lad,det);
211 nd = new TNode("SPD"," ",box,xg[0],xg[1],xg[2],rm);
213 cout << "EXCEPTION in new TNode" << endl;
216 nd->SetLineColor(kColorITSSSD);
220 for(lay=3;lay<=3;lay++)
221 for(lad=1;lad<=gm->GetNladders(lay);lad++)
222 for(det=1;det<=gm->GetNdetectors(lay);det++){
224 box = new TBRIK ("ActiveSDD","Active volume of SDD","SDD SI DET",
227 cout << "EXCEPTION in box = new TBRIK" << endl;
230 gm->GetTrans(lay,lad,det,xg[0],xg[1],xg[2]);
231 gm->GetRotMatrix(lay,lad,det,rt);
232 //sprintf(name,"ROT%1.1d2.2d2.2d",lay,lad,det);
233 for(i=0;i<9;i++) rtd[i] = rt[i];
235 rm = new TRotMatrix(name,name,rtd);
237 cout << "EXCEPTION in new TRotMatrix" << endl;
241 //sprintf(name,"ND%1.1d2.2d2.2d",lay,lad,det);
243 nd = new TNode("SDD"," ",box,xg[0],xg[1],xg[2],rm);
245 cout << "EXCEPTION in new TNode" << endl;
248 nd->SetLineColor(kColorITSSSD);
252 for(lay=4;lay<=4;lay++)
253 for(lad=1;lad<=gm->GetNladders(lay);lad++)
254 for(det=1;det<=gm->GetNdetectors(lay);det++){
256 box = new TBRIK ("ActiveSDD","Active volume of SDD","SDD SI DET",
259 cout << "EXCEPTION in box = new TBRIK" << endl;
262 gm->GetTrans(lay,lad,det,xg[0],xg[1],xg[2]);
263 gm->GetRotMatrix(lay,lad,det,rt);
264 //sprintf(name,"ROT%1.1d2.2d2.2d",lay,lad,det);
265 for(i=0;i<9;i++) rtd[i] = rt[i];
267 rm = new TRotMatrix(name,name,rtd);
269 cout << "EXCEPTION in new TRotMatrix" << endl;
273 //sprintf(name,"ND%1.1d2.2d2.2d",lay,lad,det);
275 nd = new TNode("SDD"," ",box,xg[0],xg[1],xg[2],rm);
277 cout << "EXCEPTION in new TNode" << endl;
280 nd->SetLineColor(kColorITSSSD);
283 for(lay=5;lay<=5;lay++)
284 for(lad=1;lad<=gm->GetNladders(lay);lad++)
285 for(det=1;det<=gm->GetNdetectors(lay);det++){
287 box = new TBRIK ("ActiveSSD","Active volume of SSD","SSD SI DET",
290 cout << "EXCEPTION in box = new TBRIK" << endl;
293 gm->GetTrans(lay,lad,det,xg[0],xg[1],xg[2]);
294 gm->GetRotMatrix(lay,lad,det,rt);
295 //sprintf(name,"ROT%1.1d2.2d2.2d",lay,lad,det);
296 for(i=0;i<9;i++) rtd[i] = rt[i];
298 rm = new TRotMatrix(name,name,rtd);
300 cout << "EXCEPTION in new TRotMatrix" << endl;
304 //sprintf(name,"ND%1.1d2.2d2.2d",lay,lad,det);
306 nd = new TNode("SSD"," ",box,xg[0],xg[1],xg[2],rm);
308 cout << "EXCEPTION in new TNode" << endl;
311 nd->SetLineColor(kColorITSSSD);
315 for(lay=6;lay<=6;lay++)
316 for(lad=1;lad<=gm->GetNladders(lay);lad++)
317 for(det=1;det<=gm->GetNdetectors(lay);det++){
319 box = new TBRIK ("ActiveSSD","Active volume of SSD","SSD SI DET",
322 cout << "EXCEPTION in box = new TBRIK" << endl;
326 gm->GetTrans(lay,lad,det,xg[0],xg[1],xg[2]);
327 gm->GetRotMatrix(lay,lad,det,rt);
328 //sprintf(name,"ROT%1.1d2.2d2.2d",lay,lad,det);
329 for(i=0;i<9;i++) rtd[i] = rt[i];
331 rm = new TRotMatrix(name,name,rtd);
333 cout << "EXCEPTION in new TRotMatrix" << endl;
337 //sprintf(name,"ND%1.1d2.2d2.2d",lay,lad,det);
339 nd = new TNode("SSD"," ",box,xg[0],xg[1],xg[2],rm);
341 cout << "EXCEPTION in new TNode" << endl;
344 nd->SetLineColor(kColorITSSSD);
350 //_____________________________________________________________________________
351 void AliITSv5::CreateMaterials(){
352 ////////////////////////////////////////////////////////////////////////
353 // Read a file containing the materials for the ITS version 5.
354 ////////////////////////////////////////////////////////////////////////
357 filtmp = gSystem->ExpandPathName(fEuclidMaterial.Data());
359 FILE *file = fopen(filtmp,"r");
362 ReadEuclidMedia(filtmp);
364 Error("CreateMaterials"," THE MEDIA FILE %s DOES NOT EXIST !",filtmp);
368 //_____________________________________________________________________________
369 void AliITSv5::CreateGeometry(){
370 //////////////////////////////////////////////////////////////////////
371 // This is the geometry used for the ITS Pre-TDR and comes from an
372 // Euclid to Geant conversion. The only difference
373 // is in the details of the ITS supports. The detectors elements,
374 // detector numbering, and local and global reference frames are shown in
375 // the following figures.
378 <img src="picts/ITS/its1+2_convention_front_5.gif">
381 <font size=+2 color=red>
382 <p>This shows the front view of the SPDs.
385 <img src="picts/ITS/its1+2_convention_side_5.gif">
388 <font size=+2 color=red>
389 <p>This shows the perspective view of the SPDs.
391 <img src="picts/ITS/its1+2_tree.gif">
394 <font size=+2 color=red>
395 <p>This shows the geometry Tree for the SPDs.
400 <img src="picts/ITS/its3+4_convention_front_5.gif">
403 <font size=+2 color=red>
404 <p>This shows the front view of the SDDs.
407 <img src="picts/ITS/its3+4_convention_side_5.gif">
410 <font size=+2 color=red>
411 <p>This shows the perspective view of the SDDs.
413 <img src="picts/ITS/its3+4_tree.gif">
416 <font size=+2 color=red>
417 <p>This shows the geometry Tree for the SDDs.
422 <img src="picts/ITS/its5+6_convention_front_5.gif">
425 <font size=+2 color=red>
426 <p>This shows the front view of the SSDs.
429 <img src="picts/ITS/its5+6_convention_side_5.gif">
432 <font size=+2 color=red>
433 <p>This shows the perspective view of the SSDs.
436 <img src="picts/ITS/its5+6_tree.gif">
439 <font size=+2 color=red>
440 <p>This shows the geometry Tree for the SSDs.
445 <img src="picts/ITS/its_layer1-6_2.gif">
448 <font size=+2 color=red>
449 <p>This shows the front view of the whole ITS..
453 <img src="picts/ITS/its_layer1-6_1.gif">
456 <font size=+2 color=red>
457 <p>This shows the perspective view of the whole ITS..
461 <img src="picts/ITS/its1-6_tree.gif">
464 <font size=+2 color=red>
465 <p>This shows the geometry Tree for the whole ITS.
472 // Here are shown the details of the ITS support cones and services.
473 // First is a GEANT tree showing the organization of all of the volumes
474 // that make up the ITS supports and services.
477 <img src="picts/ITS/supports_tree.gif">
480 // What follows are a number of figures showing what these support
481 // structures look like.
485 <img src="picts/ITS/supports_3.gif">
488 <font size=+2 color=red>
489 <p>This shows the geometry of the supports for the Drift and Strip layers only.
493 <img src="picts/ITS/supports_2.gif">
496 <font size=+2 color=red>
497 <p>This shows the geometry of the supports for the Drift and Strip layers in front cut out.
501 <img src="picts/ITS/supports_1.gif">
504 <font size=+2 color=red>
505 <p>This shows the geometry of the supports for the Drift and Strip layers in a back cut out..
509 <img src="picts/ITS/suppssd.gif">
512 <font size=+2 color=red>
513 <p>This shows the geometry for the Strip layers supports.
517 <img src="picts/ITS/suppsdd.gif">
520 <font size=+2 color=red>
521 <p>This shows the geometry for the Drift layers supports.
527 // Read a file containing the geometry for the ITS version 5.
528 ////////////////////////////////////////////////////////////////////////
534 filtmp = gSystem->ExpandPathName(fEuclidGeometry.Data());
535 FILE *file = fopen(filtmp,"r");
539 printf("Ready to read Euclid geometry file\n");
540 ReadEuclid(fEuclidGeometry.Data(),topvol);
541 printf("Read in euclid geometries\n");
543 Error("CreateGeometry"," THE GEOM FILE %s DOES NOT EXIST !",
544 fEuclidGeometry.Data());
548 // Place the ITS ghost volume ITSV in its mother volume (ALIC) and make it
551 gMC->Gspos("ITSV",1,"ALIC",0,0,0,0,"ONLY");
553 // Outputs the geometry tree in the EUCLID/CAD format if requested to do so
556 gMC->WriteEuclid("ITSgeometry", "ITSV", 1, 5);
557 } // end if (fEuclidOut)
559 // read in the file containing the transformations for the active
560 // volumes for the ITS version 5. This is expected to be in a file
561 // ending in .det. This geometry is kept in the AliITSgeom class.
562 filtmp = gSystem->ExpandPathName(fEuclidGeometry.Data());
563 size = strlen(filtmp);
565 filtmp[size-3] = 'd'; // change from .euc to .det
566 filtmp[size-2] = 'e';
567 filtmp[size-1] = 't';
568 file = fopen(filtmp,"r");
569 if(file){ // if file exists use it to fill AliITSgeom structure.
571 printf("ready to read .det file %s\n",filtmp);
572 fITSgeom = new AliITSgeom(filtmp);
575 // fill AliITSgeom structure from geant structure just filled above
579 printf("finished with euclid geometrys\n");
581 //_____________________________________________________________________________
582 void AliITSv5::Init(){
583 ////////////////////////////////////////////////////////////////////////
584 // Initialise the ITS after it has been created.
585 ////////////////////////////////////////////////////////////////////////
589 fIdName = new char*[fId5N];
590 fIdSens = new Int_t[fId5N];
591 for(i=0;i<fId5N;i++) {
592 l = strlen(fId5Name[i]);
593 fIdName[i] = new char[l+1];
594 for(j=0;j<l;j++) fIdName[i][j] = fId5Name[i][j];
595 fIdName[i][l] = '\0'; // Null terminate this string.
602 //_____________________________________________________________________________
603 void AliITSv5::StepManager(){
604 ////////////////////////////////////////////////////////////////////////
605 // Called for every step in the ITS, then calles the AliITShit class
606 // creator with the information to be recoreded about that hit.
607 // The value of the macro ALIITSPRINTGEOM if set to 1 will allow the
608 // printing of information to a file which can be used to create a .det
609 // file read in by the routine CreateGeometry(). If set to 0 or any other
610 // value except 1, the default behavior, then no such file is created nor
611 // it the extra variables and the like used in the printing allocated.
612 ////////////////////////////////////////////////////////////////////////
617 TLorentzVector position, momentum;
618 TClonesArray &lhits = *fHits;
619 #if ALIITSPRINTGEOM==1
622 Float_t xl[3],xt[3],angl[6];
623 // Float_t par[20],att[20];
625 static Bool_t first=kTRUE,printit[6][50][50];
626 if(first){ for(copy1=0;copy1<6;copy1++)for(copy2=0;copy2<50;copy2++)
627 for(id=0;id<50;id++) printit[copy1][copy2][id] = kTRUE;
635 if(gMC->IsTrackInside()) vol[3] += 1;
636 if(gMC->IsTrackEntering()) vol[3] += 2;
637 if(gMC->IsTrackExiting()) vol[3] += 4;
638 if(gMC->IsTrackOut()) vol[3] += 8;
639 if(gMC->IsTrackDisappeared()) vol[3] += 16;
640 if(gMC->IsTrackStop()) vol[3] += 32;
641 if(gMC->IsTrackAlive()) vol[3] += 64;
643 // Fill hit structure.
644 if(!(gMC->TrackCharge())) return;
646 // Only entering charged tracks
647 if((id = gMC->CurrentVolID(copy)) == fIdSens[0]) {
649 id = gMC->CurrentVolOffID(0,copy);
650 //detector copy in the ladder = 1<->4 (ITS1)
652 gMC->CurrentVolOffID(1,copy1);
653 //ladder copy in the module = 1<->2 (I186)
654 gMC->CurrentVolOffID(2,copy2);
655 //module copy in the layer = 1<->10 (I132)
656 vol[2] = copy1+(copy2-1)*2;//# of ladders in one module = 2
657 } else if(id == fIdSens[1]){
659 id = gMC->CurrentVolOffID(0,copy);
660 //detector copy in the ladder = 1<->4 (ITS2)
662 gMC->CurrentVolOffID(1,copy1);
663 //ladder copy in the module = 1<->4 (I131)
664 gMC->CurrentVolOffID(2,copy2);
665 //module copy in the layer = 1<->10 (I132)
666 vol[2] = copy1+(copy2-1)*4;//# of ladders in one module = 4
667 } else if(id == fIdSens[2]){
669 id = gMC->CurrentVolOffID(1,copy);
670 //detector copy in the ladder = 1<->5 (ITS3 is inside I314)
672 id = gMC->CurrentVolOffID(2,copy);
673 //ladder copy in the layer = 1<->12 (I316)
675 } else if(id == fIdSens[3]){
677 id = gMC->CurrentVolOffID(1,copy);
678 //detector copy in the ladder = 1<->8 (ITS4 is inside I414)
680 id = gMC->CurrentVolOffID(2,copy);
681 //ladder copy in the layer = 1<->22 (I417)
683 }else if(id == fIdSens[4]){
685 id = gMC->CurrentVolOffID(1,copy);
686 //detector copy in the ladder = 1<->23 (ITS5 is inside I562)
688 id = gMC->CurrentVolOffID(2,copy);
689 //ladder copy in the layer = 1<->34 (I565)
691 }else if(id == fIdSens[5]){
693 id = gMC->CurrentVolOffID(1,copy);
694 //detector copy in the ladder = 1<->26 (ITS6 is inside I566)
696 id = gMC->CurrentVolOffID(2,copy);
697 //ladder copy in the layer = 1<->38 (I569)
700 return; // not an ITS volume?
701 } // end if/else if (gMC->CurentVolID(copy) == fIdSens[i])
703 gMC->TrackPosition(position);
704 gMC->TrackMomentum(momentum);
712 hits[7]=gMC->TrackTime();
713 // Fill hit structure with this new hit.
714 new(lhits[fNhits++]) AliITShit(fIshunt,gAlice->CurrentTrack(),vol,hits);
715 #if ALIITSPRINTGEOM==1
716 if(printit[vol[0]][vol[2]][vol[1]]){
717 printit[vol[0]][vol[2]][vol[1]] = kFALSE;
718 xl[0] = xl[1] = xl[2] = 0.0;
720 for(i=0;i<9;i++) mat[i] = 0.0;
721 mat[0] = mat[4] = mat[8] = 1.0; // default with identity matrix
724 gMC->Gdtom(xl,&(mat[0]),2);
727 gMC->Gdtom(xl,&(mat[3]),2);
730 gMC->Gdtom(xl,&(mat[6]),2);
732 angl[0] = TMath::ACos(mat[2]);
733 if(mat[2]==1.0) angl[0] = 0.0;
734 angl[1] = TMath::ATan2(mat[1],mat[0]);
735 if(angl[1]<0.0) angl[1] += 2.0*TMath::Pi();
737 angl[2] = TMath::ACos(mat[5]);
738 if(mat[5]==1.0) angl[2] = 0.0;
739 angl[3] = TMath::ATan2(mat[4],mat[3]);
740 if(angl[3]<0.0) angl[3] += 2.0*TMath::Pi();
742 angl[4] = TMath::ACos(mat[8]);
743 if(mat[8]==1.0) angl[4] = 0.0;
744 angl[5] = TMath::ATan2(mat[7],mat[6]);
745 if(angl[5]<0.0) angl[5] += 2.0*TMath::Pi();
747 for(i=0;i<6;i++) angl[i] *= 180.0/TMath::Pi(); // degrees
748 fp = fopen("ITSgeometry_v5.det","a");
749 fprintf(fp,"%2d %2d %2d %9e %9e %9e %9e %9e %9e %9e %9e %9e ",
750 vol[0],vol[2],vol[1], // layer ladder detector
751 xt[0],xt[1],xt[2], // Translation vector
752 angl[0],angl[1],angl[2],angl[3],angl[4],angl[5] // Geant rotaion
755 fprintf(fp,"%9e %9e %9e %9e %9e %9e %9e %9e %9e",
756 mat[0],mat[1],mat[2],mat[3],mat[4],mat[5],mat[6],mat[7],mat[8]
757 ); // Adding the rotation matrix.
760 } // end if printit[layer][ladder][detector]
764 //____________________________________________________________________________
765 void AliITSv5::Streamer(TBuffer &R__b){
766 ////////////////////////////////////////////////////////////////////////
767 // A dummy Streamer function for this class AliITSv5. By default it
768 // only streams the AliITS class as it is required. Since this class
769 // dosen't contain any "real" data to be saved, it doesn't.
770 ////////////////////////////////////////////////////////////////////////
772 // printf("AliITSv5Streamer Starting\n");
773 if (R__b.IsReading()) {
774 Version_t R__v = R__b.ReadVersion();
776 AliITS::Streamer(R__b);
777 // This information does not need to be read. It is "hard wired"
778 // into this class via its creators.
780 //R__b.ReadArray(fId5Name);
784 R__b.WriteVersion(AliITSv5::IsA());
785 AliITS::Streamer(R__b);
786 // This information does not need to be saved. It is "hard wired"
787 // into this class via its creators.
789 //R__b.WriteArray(fId5Name, __COUNTER__);
790 } // end if R__b.IsReading()
791 // printf("AliITSv5Streamer Finishing\n");