const Float_t AliTRDgeometry::fgkSlenTR3 = 159.5;
// The super module side plates
- const Float_t AliTRDgeometry::fgkSMpltT = 0.2;
- const Float_t AliTRDgeometry::fgkSMgapT = 0.5;
+ const Float_t AliTRDgeometry::fgkSMpltT = 0.2;
+ const Float_t AliTRDgeometry::fgkSMgapT = 0.5;
// Height of different chamber parts
// Radiator
// Changed with the introduction of
// the new layer 0. The old layer 6
// is removed.
- fCwidth[0] = 92.6;
+ fCwidth[0] = 90.4;
fCwidth[1] = 94.8;
fCwidth[2] = 99.3;
fCwidth[3] = 103.7;
}
-//_____________________________________________________________________________
-void AliTRDgeometry::SetOldGeometry()
-{
- //
- // Use the old chamber lengths
- //
-
- Int_t icham;
- Int_t iplan;
-
- Float_t length[kNplan][kNcham] = { { 123.5, 123.5, 110.0, 123.5, 123.5 }
- , { 131.0, 131.0, 110.0, 131.0, 131.0 }
- , { 134.5, 138.5, 110.0, 138.5, 134.5 }
- , { 142.0, 146.0, 110.0, 146.0, 142.0 }
- , { 142.0, 153.0, 110.0, 153.0, 142.0 }
- , { 134.0, 160.5, 110.0, 160.5, 134.0 } };
-
- for (icham = 0; icham < kNcham; icham++) {
- for (iplan = 0; iplan < kNplan; iplan++) {
- fClength[iplan][icham] = length[iplan][icham];
- }
- }
-
-}
-
//_____________________________________________________________________________
AliTRDgeometry* AliTRDgeometry::GetGeometry(AliRunLoader* runLoader)
{
static Float_t CdrHght() { return fgkCdrH; };
static Float_t CamHght() { return fgkCamH; };
static Float_t CroHght() { return fgkCroH; };
+ static Float_t CroWid() { return fgkCroW; };
static Float_t MyThick() { return fgkMyThick; };
static Float_t DrThick() { return fgkDrThick; };
static Float_t AmThick() { return fgkAmThick; };
virtual void SetPHOShole() = 0;
virtual void SetRICHhole() = 0;
- virtual void SetOldGeometry();
-
virtual Bool_t GetPHOShole() const = 0;
virtual Bool_t GetRICHhole() const = 0;
virtual Bool_t IsHole(Int_t /*iplan*/, Int_t /*icham*/, Int_t /*isect*/) const {return kFALSE;}
/*
$Log$
+Revision 1.14 2004/05/07 06:52:50 cblume
+Bug fix to allow for fPHOShole and not fRICHhole
+
Revision 1.13 2004/02/27 15:40:18 cblume
Fix definition of rotation matrices
// The outer lengths of the chambers for the sectors with holes for the PHOS
Float_t lengthPH[kNplan][kNcham] = { { 124.0, 117.0, 0.0, 117.0, 124.0 }
+ , { 124.0, 117.0, 0.0, 117.0, 124.0 }
, { 131.0, 124.0, 0.0, 124.0, 131.0 }
, { 138.0, 131.0, 0.0, 131.0, 138.0 }
, { 145.0, 138.0, 0.0, 138.0, 145.0 }
- , { 147.0, 140.0, 0.0, 140.0, 147.0 }
, { 147.0, 140.0, 0.0, 140.0, 147.0 } };
+ // Old layer 6
+ // , { 147.0, 140.0, 0.0, 140.0, 147.0 } };
// The outer lengths of the chambers for the sectors with holes for the RICH
Float_t lengthRH[kNplan][kNcham] = { { 87.5, 0.0, 0.0, 0.0, 87.5 }
+ , { 87.5, 0.0, 0.0, 0.0, 87.5 }
, { 101.5, 0.0, 0.0, 0.0, 101.5 }
, { 115.5, 0.0, 0.0, 0.0, 115.5 }
, { 129.5, 0.0, 0.0, 0.0, 129.5 }
- , { 133.5, 0.0, 0.0, 0.0, 133.5 }
, { 133.5, 0.0, 0.0, 0.0, 133.5 } };
+ // Old layer 6
+ // , { 133.5, 0.0, 0.0, 0.0, 133.5 } };
for (icham = 0; icham < kNcham; icham++) {
for (iplan = 0; iplan < kNplan; iplan++) {
delete parameter;
}
-
-//_____________________________________________________________________________
-void AliTRDgeometryFull::SetOldGeometry()
-{
- //
- // Use the old chamber lengths
- //
-
- Int_t icham;
- Int_t iplan;
-
- AliTRDgeometry::SetOldGeometry();
-
- Float_t lengthPH[kNplan][kNcham] = { { 123.5, 116.5, 0.0, 116.5, 123.5 }
- , { 131.0, 124.0, 0.0, 124.0, 131.0 }
- , { 134.5, 131.5, 0.0, 131.5, 134.5 }
- , { 142.0, 139.0, 0.0, 139.0, 142.0 }
- , { 142.0, 146.0, 0.0, 146.0, 142.0 }
- , { 134.5, 153.5, 0.0, 153.5, 134.5 } };
-
- Float_t lengthRH[kNplan][kNcham] = { { 86.5, 0.0, 0.0, 0.0, 86.5 }
- , { 101.5, 0.0, 0.0, 0.0, 101.5 }
- , { 112.5, 0.0, 0.0, 0.0, 112.5 }
- , { 127.5, 0.0, 0.0, 0.0, 127.5 }
- , { 134.5, 0.0, 0.0, 0.0, 134.5 }
- , { 134.5, 0.0, 0.0, 0.0, 134.5 } };
-
- for (icham = 0; icham < kNcham; icham++) {
- for (iplan = 0; iplan < kNplan; iplan++) {
- fClengthPH[iplan][icham] = lengthPH[iplan][icham];
- fClengthRH[iplan][icham] = lengthRH[iplan][icham];
- }
- }
-
-}
/*
$Log$
+Revision 1.12 2004/02/02 13:37:52 hristov
+Implementing of new function to check for holes (M.Ivanov)
+
Revision 1.11 2003/09/18 09:06:07 cblume
Geometry update, Removal of compiler warnings
}
-//_____________________________________________________________________________
-void AliTRDgeometryHole::SetOldGeometry()
-{
- //
- // Use the old chamber lengths
- //
-
- Int_t icham;
- Int_t iplan;
-
- AliTRDgeometry::SetOldGeometry();
-
- // The outer lengths of the chambers for the sectors with holes for the PHOS
- Float_t lengthPH[kNplan][kNcham] = { { 0.0, 0.0, 0.0, 116.5, 123.5 }
- , { 0.0, 0.0, 0.0, 124.0, 131.0 }
- , { 0.0, 0.0, 0.0, 131.5, 134.5 }
- , { 0.0, 0.0, 0.0, 139.0, 142.0 }
- , { 0.0, 0.0, 0.0, 146.0, 142.0 }
- , { 0.0, 0.0, 0.0, 153.5, 134.5 } };
-
- // The outer lengths of the chambers for the sectors with holes for the RICH
- Float_t lengthRH[kNplan][kNcham] = { { 0.0, 0.0, 0.0, 0.0, 86.5 }
- , { 0.0, 0.0, 0.0, 0.0, 101.5 }
- , { 0.0, 0.0, 0.0, 0.0, 112.5 }
- , { 0.0, 0.0, 0.0, 0.0, 127.5 }
- , { 0.0, 0.0, 0.0, 0.0, 134.5 }
- , { 0.0, 0.0, 0.0, 0.0, 134.5 } };
-
- for (icham = 0; icham < kNcham; icham++) {
- for (iplan = 0; iplan < kNplan; iplan++) {
- fClengthPH[iplan][icham] = lengthPH[iplan][icham];
- fClengthRH[iplan][icham] = lengthRH[iplan][icham];
- }
- }
-
-}
-
-
fPla = p;
fCha = c;
- //fRowSpacing = 0.025;
- //fColSpacing = 0.025;
-
fRowSpacing = 0.0;
fColSpacing = 0.0;
// L0C0 type
fNrows = 12;
fLength = 108.0;
- fWidth = 94.4;
+ fWidth = 92.2;
fLengthOPad = 8.0;
fWidthOPad = 0.515;
fLengthIPad = 9.0;
// L0C1 type
fNrows = 16;
fLength = 122.0;
- fWidth = 94.4;
+ fWidth = 92.2;
fLengthOPad = 7.5;
fWidthOPad = 0.515;
fLengthIPad = 7.5;
if (fPadCol) delete [] fPadCol;
fPadCol = new Double_t[fNcols];
Double_t col = fGeo->GetChamberWidth(p) / 2.
+ + fGeo->CroWid()
- fWidthRim;
for (Int_t ic = 0; ic < fNcols; ic++) {
fPadCol[ic] = col;