X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFv6T0.cxx;h=9a8f6910b8e27f692dc8287ebc30b689e3f87a46;hb=de8b244081d1ac55431107d2f232cdba97ea7335;hp=8f5361bbb22cba0a16e9e8d42f47fd8c7e582aa6;hpb=cdc3415951d3e72d3a6478bedabeb242fc465b77;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFv6T0.cxx b/TOF/AliTOFv6T0.cxx index 8f5361bbb22..9a8f6910b8e 100644 --- a/TOF/AliTOFv6T0.cxx +++ b/TOF/AliTOFv6T0.cxx @@ -109,8 +109,6 @@ Revision 0.1 2007 March G. Cara Romeo and A. De Caro #include "AliTOFGeometry.h" #include "AliTOFv6T0.h" -extern TDirectory *gDirectory; -extern TVirtualMC *gMC; extern TGeoManager *gGeoManager; extern AliRun *gAlice; @@ -421,7 +419,7 @@ void AliTOFv6T0::CreateModules(Float_t xtof, Float_t ytof, Float_t zlenA, Int_t *idtmed = fIdtmed->GetArray()-499; - Int_t idrotm[8]; + Int_t idrotm[8]; for (Int_t ii=0; ii<8; ii++) idrotm[ii]=0; // Definition of the of fibre glass modules (FTOA, FTOB and FTOC) Float_t par[3]; @@ -896,7 +894,7 @@ void AliTOFv6T0::MakeModulesInBTOFvolumes(Float_t ytof, Float_t zlenA) const const Int_t kSize=16; - Int_t idrotm[1]; + Int_t idrotm[1]={0}; //AliMatrix(idrotm[0], 90., 0., 0., 0., 90.,-90.); AliMatrix(idrotm[0], 90., 0., 0., 0., 90.,270.); @@ -940,7 +938,7 @@ void AliTOFv6T0::MakeCoversInBTOFvolumes() const const Int_t kSize=16; - Int_t idrotm[1]; + Int_t idrotm[1]={0}; //AliMatrix(idrotm[0], 90., 0., 0., 0., 90.,-90.); AliMatrix(idrotm[0], 90., 0., 0., 0., 90.,270.); @@ -976,7 +974,7 @@ void AliTOFv6T0::MakeBackInBTOFvolumes(Float_t ytof) const const Int_t kSize=16; - Int_t idrotm[1]; + Int_t idrotm[1]={0}; //AliMatrix(idrotm[0], 90., 0., 0., 0., 90.,-90.); AliMatrix(idrotm[0], 90., 0., 0., 0., 90.,270.); @@ -1146,7 +1144,7 @@ void AliTOFv6T0::MakeStripsInModules(Float_t ytof, Float_t zlenA) const fTOFGeometry->NStripB(), fTOFGeometry->NStripC()}; - Int_t idrotm[91]; + Int_t idrotm[91]; for (Int_t ii=0; ii<91; ii++) idrotm[ii]=0; Int_t totalStrip = 0; Float_t xpos, zpos, ypos, ang; @@ -1191,7 +1189,7 @@ void AliTOFv6T0::CreateBackZone(Float_t xtof, Float_t ytof, Float_t zlenA) const Int_t *idtmed = fIdtmed->GetArray()-499; - Int_t idrotm[1]; + Int_t idrotm[1]={0}; // Definition of the air card containers (FAIA, FAIC and FAIB) @@ -1530,7 +1528,7 @@ void AliTOFv6T0::MakeSuperModuleCooling(Float_t xtof, Float_t ytof, Float_t zlen Int_t *idtmed = fIdtmed->GetArray()-499; - Int_t idrotm[1]; + Int_t idrotm[1]={0}; // cooling tube volume definition Float_t tubepar[3] = {0., 0.4, xtof*0.5 - fgkCBLw - fgkSawThickness}; @@ -1725,7 +1723,7 @@ void AliTOFv6T0::MakeSuperModuleServices(Float_t xtof, Float_t ytof, Float_t zle Int_t *idtmed = fIdtmed->GetArray()-499; - Int_t idrotm[3]; + Int_t idrotm[3]={0,0,0}; Float_t tubepar[3] = {0., 0.4, xtof*0.5 - fgkCBLw - fgkSawThickness}; Float_t al1[3] = {fgkAl1parameters[0], fgkAl1parameters[1], fgkAl1parameters[2]}; @@ -1902,7 +1900,7 @@ void AliTOFv6T0::MakeReadoutCrates(Float_t ytof) const Int_t *idtmed = fIdtmed->GetArray()-499; - Int_t idrotm[18]; + Int_t idrotm[18]; for (Int_t ii=0; ii<18; ii++) idrotm[ii]=0; // volume definition Float_t serpar[3] = {29.*0.5, 121.*0.5, 90.*0.5};