/* $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)
//////////////////////////////////////////////////////////////////////////////
//____________________________________________________________________________
- 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)