inline void GetGeometryVersion(Int_t &a,Int_t &b)
{a = fMajorVersion;b=fMinorVersion;return;}
- inline virtual Int_t IsVersion() {return 1;}
+ virtual Int_t IsVersion() const {return 1;}
Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Init();
virtual void MakeBranch(Option_t *opt=" ");
- inline virtual void SetEUCLID(Bool_t euclid=1){fEuclidOut = euclid;}
+ virtual void SetEUCLID(Bool_t euclid=1) {fEuclidOut = euclid;}
virtual void StepManager()=0;
//
// ITS geometry functions
/*
$Log$
+Revision 1.2 1999/09/29 09:24:20 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////
ITS_geom *g;
Int_t l,a,d;
Float_t x,y,z,o,p,q,r,s,t;
- Double_t or,pr,qr,rr,sr,tr; // Radians
+ Double_t oor,pr,qr,rr,sr,tr; // Radians
Double_t lr[9];
Double_t si; // sin(angle)
Double_t PI = TMath::Pi(), byPI = PI/180.;
i = d + a*fNdet[l]; // position of this detector
g = &(fg[l][i]);
- or = byPI*o;
+ oor = byPI*o;
pr = byPI*p;
qr = byPI*q;
rr = byPI*r;
g->fx0 = x;
g->fy0 = y;
g->fz0 = z;
- si = sin(or);if(o== 90.0) si = +1.0;
+ si = sin(oor);if(o== 90.0) si = +1.0;
if(o==270.0) si = -1.0;
if(o== 0.0||o==180.) si = 0.0;
lr[0] = si * cos(pr);
lr[1] = si * sin(pr);
- lr[2] = cos(or);if(o== 90.0||o==270.) lr[2] = 0.0;
+ lr[2] = cos(oor);if(o== 90.0||o==270.) lr[2] = 0.0;
if(o== 0.0) lr[2] = +1.0;
if(o==180.0) lr[2] = -1.0;
si = sin(qr);if(q== 90.0) si = +1.0;
for(d=0;d<3;d++) g->fr[3*a+d] = lr[3*a+d] = si*lr[3*a+d];
} // end for a
// get angles from matrix up to a phase of 180 degrees.
- or = atan2(lr[7],lr[8]);if(or<0.0) or += 2.0*PI;
+ oor = atan2(lr[7],lr[8]);if(oor<0.0) oor += 2.0*PI;
pr = asin(lr[2]); if(pr<0.0) pr += 2.0*PI;
qr = atan2(lr[3],lr[0]);if(qr<0.0) qr += 2.0*PI;
- g->frx = or;
+ g->frx = oor;
g->fry = pr;
g->frz = qr;
// l = layer-1 at this point.
return;
}
//________________________________________________________________________
-void AliITSgeom::GtoL(Int_t index,const Float_t *g,Float_t *l){
+void AliITSgeom::GtoL(const Int_t index,const Float_t *g,Float_t *l){
////////////////////////////////////////////////////////////////////////
// The function that does the local active volume detector Cartesian
// coordinate to global ALICE Cartesian coordinate transformation.
return;
}
//________________________________________________________________________
-void AliITSgeom::LtoG(Int_t index,const Float_t *l,Float_t *g){
+void AliITSgeom::LtoG(const Int_t index,const Float_t *l,Float_t *g){
////////////////////////////////////////////////////////////////////////
// The function that does the local active volume detector Cartesian
// coordinate to global ALICE Cartesian coordinate transformation.
/*
$Log$
+Revision 1.2 1999/09/29 09:24:20 fca
+Introduction of the Copyright and cvs Log
+
*/
#include "AliITSmodule.h"
}
//___________________________________________________________________________
-void AliITSmodule::Streamer(TBuffer &R__b){
+void AliITSmodule::Streamer(TBuffer & /*R__b*/){
// Stream an object of class AliITSmodule.
return;
/*
$Log$
+Revision 1.2 1999/09/29 09:24:20 fca
+Introduction of the Copyright and cvs Log
+
*/
AliITSmoduleSDD::AliITSmoduleSDD() {};
-AliITSmoduleSDD::AliITSmoduleSDD(Int_t index) {};
+AliITSmoduleSDD::AliITSmoduleSDD(Int_t ) {};
AliITSmoduleSDD::~AliITSmoduleSDD() {};
/*
$Log$
+Revision 1.2 1999/09/29 09:24:20 fca
+Introduction of the Copyright and cvs Log
+
*/
AliITSmoduleSPD::AliITSmoduleSPD() {};
-AliITSmoduleSPD::AliITSmoduleSPD(Int_t index) {};
+AliITSmoduleSPD::AliITSmoduleSPD(Int_t ) {};
AliITSmoduleSPD::~AliITSmoduleSPD() {};
/*
$Log$
+Revision 1.2 1999/09/29 09:24:20 fca
+Introduction of the Copyright and cvs Log
+
*/
#include "AliITSmoduleSSD.h"
+ //Technical parameters of detector
+const Float_t AliITSmoduleSSD::kStereo = 0.0175; //Stereo Angle 17.5 mrad
+const Float_t AliITSmoduleSSD::kTan = 0.0175;
+const Int_t AliITSmoduleSSD::kNStrips = 768; //Number of strips on each side
+const Float_t AliITSmoduleSSD::kPitch = 0.095; //Distance strip - strip (mm)
+const Float_t AliITSmoduleSSD::kX = 72.96; //X size (mm)
+const Float_t AliITSmoduleSSD::kY = 0.3; //Y size (mm)
+const Float_t AliITSmoduleSSD::kZ = 40; //Thickness (mm)
+
+ // <------------------------------
+
+ //______________________________________________________________
+ //
+ // Parameters for simulation
+ //______________________________________________________________
+
+const Float_t AliITSmoduleSSD::kSigmaP = 0.003; //Gaussian sigm
+const Float_t AliITSmoduleSSD::kSigmaN = 0.002;
+const Int_t AliITSmoduleSSD::kSteps = 10; //Number of steps
+const Int_t AliITSmoduleSSD::kTresholdP = 1500;
+const Int_t AliITSmoduleSSD::kTresholdN = 2500;
+
+
ClassImp(AliITSmoduleSSD)
// Proceding part should be in SSDgeo ----->
//Technical parameters of detector
- static const Float_t kStereo = 0.0175; //Stereo Angle 17.5 mrad
- static const Float_t kTan = 0.0175;
- static const Int_t kNStrips = 768; //Number of strips on each side
- static const Float_t kPitch = 0.095; //Distance strip - strip (mm)
- static const Float_t kX = 72.96; //X size (mm)
- static const Float_t kY = 0.3; //Y size (mm)
- static const Float_t kZ = 40; //Thickness (mm)
+ static const Float_t kStereo ;// = 0.0175; //Stereo Angle 17.5 mrad
+ static const Float_t kTan ;// = 0.0175;
+ static const Int_t kNStrips ;// = 768; //Number of strips on each side
+ static const Float_t kPitch ;// = 0.095; //Distance strip - strip (mm)
+ static const Float_t kX ;// = 72.96; //X size (mm)
+ static const Float_t kY ;// = 0.3; //Y size (mm)
+ static const Float_t kZ ;// = 40; //Thickness (mm)
// <------------------------------
// Parameters for simulation
//______________________________________________________________
- static const Float_t kSigmaP = 0.003; //Gaussian sigm
- static const Float_t kSigmaN = 0.002;
- static const Int_t kSteps = 10; //Number of steps
- static const Int_t kTresholdP = 1500;
- static const Int_t kTresholdN = 2500;
+ static const Float_t kSigmaP ;// = 0.003; //Gaussian sigm
+ static const Float_t kSigmaN ;// = 0.002;
+ static const Int_t kSteps ;// = 10; //Number of steps
+ static const Int_t kTresholdP ;// = 1500;
+ static const Int_t kTresholdN ;// = 2500;
//________________________________________________________________
//