* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.11 2002/11/21 14:34:53 cblume
-Bug fix in SetNRowPad() reposted by Bogdan
-
-Revision 1.10 2002/10/31 17:46:22 cblume
-New padplane (same number of columns in outer plane
-
-Revision 1.9 2002/10/28 13:02:51 cblume
-Bug fix in GetTiltingAngle()
-
-Revision 1.8 2002/10/14 14:57:44 hristov
-Merging the VirtualMC branch to the main development branch (HEAD)
-
-Revision 1.5.6.3 2002/10/11 07:26:37 hristov
-Updating VirtualMC to v3-09-02
-
-Revision 1.7 2002/09/26 09:26:31 cblume
-Bug fix in LUT
-
-Revision 1.6 2002/06/12 09:54:35 cblume
-Update of tracking code provided by Sergei
-
-Revision 1.5 2002/04/30 08:30:40 cblume
-gAlice now only read by AliRunDigitizer. Therefore it is just deleted in AliTRDmerge.C
-
-Revision 1.4 2002/04/12 12:13:23 cblume
-Add Jiris changes
-
-Revision 1.3 2002/03/28 14:59:07 cblume
-Coding conventions
-
-Revision 1.2 2002/03/28 10:00:36 hristov
-Some additional initialisation
-
-Revision 1.1 2002/03/25 20:01:18 cblume
-Introduce parameter class
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
// //
///////////////////////////////////////////////////////////////////////////////
+#include <TRandom.h>
+
#include "AliRun.h"
#include "AliMagF.h"
-#include "AliTRD.h"
#include "AliTRDparameter.h"
#include "AliTRDgeometryFull.h"
//_____________________________________________________________________________
-AliTRDparameter::AliTRDparameter(const AliTRDparameter &p)
+AliTRDparameter::AliTRDparameter(const AliTRDparameter &p):TNamed(p)
{
//
// AliTRDparameter copy constructor
SetColPadSize(4,0.77);
SetColPadSize(5,0.80);
+ // New pad size? Needs to be checked!
+ //SetColPadSize(0,0.664);
+ //SetColPadSize(1,0.695);
+ //SetColPadSize(2,0.726);
+ //SetColPadSize(3,0.756);
+ //SetColPadSize(4,0.788);
+ //SetColPadSize(5,0.818);
+
// The pad row (z-direction)
SetNRowPad();
fChipGain = 12.4;
fNoise = 1000.;
fADCoutRange = 1023.; // 10-bit ADC
- //fADCinRange = 1000.; // 1V input range
fADCinRange = 2000.; // 2V input range
fADCthreshold = 1;
fADCbaseline = 0;
fTimeCoupling = 0.4;
// The tilting angle for the readout pads
- //SetTiltingAngle(5.0);
- SetTiltingAngle(0.0);
+ SetTiltingAngle(2.0);
// The magnetic field strength in Tesla
- //fField = 0.2 * gAlice->Field()->Factor();
fField = 0.4;
//
}
//_____________________________________________________________________________
-void AliTRDparameter::SetNRowPad(const Int_t p, const Int_t c, const Int_t npad)
+void AliTRDparameter::SetNRowPad(Int_t p, Int_t c, Int_t npad)
{
//
// Redefines the number of pads in raw direction for
}
//_____________________________________________________________________________
-void AliTRDparameter::SetColPadSize(const Int_t p, const Float_t s)
+void AliTRDparameter::SetColPadSize(Int_t p, Float_t s)
{
//
// Redefines the pad size in column direction
}
//_____________________________________________________________________________
-void AliTRDparameter::SetNTimeBin(const Int_t nbin)
+void AliTRDparameter::SetNTimeBin(Int_t nbin)
{
//
// Redefines the number of time bins in the drift region.