1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 /* $Id: AliT0CalibLatency.cxx 39062 2010-02-22 09:17:47Z alla $ */
18 ///////////////////////////////////////////////////////////////////////////////
20 // class for T0 calibration TM-AC-AM_6-02-2006
21 // equalize time shift for each time CFD channel
23 ///////////////////////////////////////////////////////////////////////////////
25 #include "AliT0CalibLatency.h"
30 #include <TSpectrum.h>
34 ClassImp(AliT0CalibLatency)
36 //________________________________________________________________
37 AliT0CalibLatency::AliT0CalibLatency():TNamed(),
48 //________________________________________________________________
49 AliT0CalibLatency::AliT0CalibLatency(const char* name):TNamed(),
59 TString namst = "Calib_";
61 SetName(namst.Data());
62 SetTitle(namst.Data());
66 //________________________________________________________________
67 AliT0CalibLatency::AliT0CalibLatency(const AliT0CalibLatency& calibda):TNamed(calibda),
74 SetName(calibda.GetName());
75 SetTitle(calibda.GetName());
79 //________________________________________________________________
80 AliT0CalibLatency &AliT0CalibLatency::operator =(const AliT0CalibLatency& calibda)
82 // assignment operator
83 SetName(calibda.GetName());
84 SetTitle(calibda.GetName());
89 //________________________________________________________________
90 AliT0CalibLatency::~AliT0CalibLatency()
96 //________________________________________________________________
97 void AliT0CalibLatency::Print(Option_t*) const
101 printf("\n ---- Latencies ----\n\n");
102 printf(" Latency HPTDC %f A&C %f A %f C %f\n", fLatencyHPTDC,fLatencyL1, fLatencyL1A, fLatencyL1C );