]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTick.cxx
renamed a method to load libs so that it does not clash with earlier runs
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTick.cxx
index 31811c79ce2e1ba5100ce4ab4ba6800481eeb8ad..1278388712c1a32658ebc136f793aba73a69717b 100644 (file)
 /* $Id$ */
 
 //_________________________________________________________________________
-// Auxiliary class to help calculate the time of crossing 
-// of the threshold by the front edge of the time signal
+// Auxiliary class to 
+// help calculate the 
+// time of crossing 
+// of the threshold by 
+// the front edge of the 
+// time signal
 //
 //*-- Author :  Dmitri Peressounko (SUBATECH) 
 //////////////////////////////////////////////////////////////////////////////
@@ -33,22 +37,31 @@ ClassImp(AliEMCALTick)
 
 
 //____________________________________________________________________________ 
-  AliEMCALTick::AliEMCALTick():TObject() 
+AliEMCALTick::AliEMCALTick()
+  : TObject(),
+    fTime(0),
+    fA(0),
+    fB(0)
 {
-  fTime = 0;
-  fA = 0;
-  fB = 0 ;
+  //ctor
 }
 
 //____________________________________________________________________________ 
-AliEMCALTick::AliEMCALTick(Float_t time, Float_t a, Float_t slope):TObject()
+AliEMCALTick::AliEMCALTick(Float_t time, Float_t a, Float_t slope)
+  : TObject(),
+    fTime(time),
+    fA(a),
+    fB(slope)
 {
-  fTime = time;
-  fA = a;
-  fB = slope ;  
+  //ctor
 }
+
+
+
 //____________________________________________________________________________ 
-Int_t AliEMCALTick::Compare(const TObject * obj) const {
+Int_t AliEMCALTick::Compare(const TObject * obj) const 
+{
+  // compares time values
   if(obj->InheritsFrom("AliEMCALTick")){
     AliEMCALTick * tick = (AliEMCALTick *) obj ;
     if(fTime < tick->fTime)