]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/Cal/AliTRDCalMonitoring.cxx
- temporary disabled the weighting for LHC12f1a,f1b,i3
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalMonitoring.cxx
index e97e3ad4b391a505fb44d45eea99716db8bb6bbd..9d48a37a25bedc974822f72a5a466eacc7f466fb 100644 (file)
@@ -17,7 +17,7 @@
 
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
-//  TRD calibration class for global TRD parameters //
+//  TRD calibration class for monitoring data                                //
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
 ClassImp(AliTRDCalMonitoring)
 
 //_____________________________________________________________________________
-AliTRDCalMonitoring::AliTRDCalMonitoring():TNamed()
+AliTRDCalMonitoring::AliTRDCalMonitoring()
+  :TNamed()
+  ,fDriftVelocity(0)
+  ,fGasComposition(0)
+  ,fEnvironmentTemperature(0)
 {
   //
   // AliTRDCalMonitoring default constructor
   //
   
-  
-  Init();
+  for (Int_t i=0; i<540; ++i) {
+    fAnodeCurrentsMin[i] = 0;
+    fAnodeCurrentsMax[i] = 0;
+    fDriftCurrentsMin[i] = 0;
+    fDriftCurrentsMax[i] = 0;
+    fAnodeVoltagesMin[i] = 0;
+    fAnodeVoltagesMax[i] = 0;
+    fDriftVoltagesMin[i] = 0;
+    fDriftVoltagesMax[i] = 0;
+  }
+  for (Int_t i=0; i<360; ++i) {
+    fLVVoltage[i] = 0;
+    fLVCurrent[i] = 0;
+  }
+  for (Int_t i=0; i<6700; ++i) {
+    fADCTresholds[i] = 0;
+  }
+
 }
 
 //_____________________________________________________________________________
 AliTRDCalMonitoring::AliTRDCalMonitoring(const Text_t *name, const Text_t *title)
-                :TNamed(name,title)
+  :TNamed(name,title)
+  ,fDriftVelocity(0)
+  ,fGasComposition(0)
+  ,fEnvironmentTemperature(0)
 {
   //
   // AliTRDCalMonitoring constructor
   //
 
-  Init();
-}
+  for (Int_t i=0; i<540; ++i) {
+    fAnodeCurrentsMin[i] = 0;
+    fAnodeCurrentsMax[i] = 0;
+    fDriftCurrentsMin[i] = 0;
+    fDriftCurrentsMax[i] = 0;
+    fAnodeVoltagesMin[i] = 0;
+    fAnodeVoltagesMax[i] = 0;
+    fDriftVoltagesMin[i] = 0;
+    fDriftVoltagesMax[i] = 0;
+  }
+  for (Int_t i=0; i<360; ++i) {
+    fLVVoltage[i] = 0;
+    fLVCurrent[i] = 0;
+  }
+  for (Int_t i=0; i<6700; ++i) {
+    fADCTresholds[i] = 0;
+  }
 
-//_____________________________________________________________________________
-void AliTRDCalMonitoring::Init()
-{
-  //
-  // default initialization
-  //
-  
 }
+