]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCommonParam.cxx
Move sampling frequency to common params
[u/mrichter/AliRoot.git] / TRD / AliTRDCommonParam.cxx
index da3e6b56b2e8a38274be2ecb65f3eea33d95d212..aa025f39305d1f95a1d12c98faf6e2659b27e868 100644 (file)
@@ -81,6 +81,7 @@ void AliTRDCommonParam::Terminate()
 AliTRDCommonParam::AliTRDCommonParam()
   :TObject()
   ,fExBOn(kFALSE)
+  ,fSamplingFrequency(0.0)
   ,fPadPlaneArray(0)
 {
   //
@@ -99,7 +100,10 @@ void AliTRDCommonParam::Init()
   //
   
   // E x B effects
-  fExBOn         = kTRUE;
+  fExBOn             = kTRUE;
+
+  // Sampling Frequency in MHz
+  fSamplingFrequency = 10.0;
   
   // ----------------------------------------------------------------------------
   // The pad planes
@@ -135,6 +139,7 @@ AliTRDCommonParam::~AliTRDCommonParam()
 AliTRDCommonParam::AliTRDCommonParam(const AliTRDCommonParam &p)
   :TObject(p)
   ,fExBOn(p.fExBOn)
+  ,fSamplingFrequency(p.fSamplingFrequency)
   ,fPadPlaneArray(0)
 {
   //
@@ -170,7 +175,8 @@ void AliTRDCommonParam::Copy(TObject &p) const
     return;
   }  
 
-  target->fExBOn = fExBOn;
+  target->fExBOn             = fExBOn;
+  target->fSamplingFrequency = fSamplingFrequency;
 
 }