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 ///////////////////////////////////////////////////////////////////////////////
18 // Class that describes a detector LTU configuration //
21 // Presently we store a subset of the LTU parameters: //
22 // FineDelay1 3126 # picosec //
23 // FineDelay2 20459 # picosec //
24 // BC_DELAY_ADD 18 # ns //
26 // cvetan.cheshkov@cern.ch 3/9/2010 //
27 ///////////////////////////////////////////////////////////////////////////////
29 #include <Riostream.h>
33 #include "AliLTUConfig.h"
37 ClassImp( AliLTUConfig )
39 //_____________________________________________________________________________
40 void AliLTUConfig::Print( const Option_t* ) const
43 cout << "LTU Config:" << endl;
44 cout << " Detector: " << GetDetectorName() << "(Id=" << (Int_t)fDetectorId << ")" << endl;
45 cout << " FineDelay1: " << fFineDelay1 << " ns" << endl;
46 cout << " FineDelay2: " << fFineDelay2 << " ns" << endl;
47 cout << " BCDelayAdd: " << fBCDelayAdd << " ns" << endl;
50 //_____________________________________________________________________________
51 const char* AliLTUConfig::GetDetectorName() const
53 // Get the detector name (DAQ naming scheme)
54 return AliDAQ::DetectorName((Int_t)fDetectorId);