/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ /////////////////////////////////////////////////////////////////////////////// // // // Class that describes a detector LTU configuration // // // // // // Presently we store a subset of the LTU parameters: // // FineDelay1 3126 # picosec // // FineDelay2 20459 # picosec // // BC_DELAY_ADD 18 # ns // // // // cvetan.cheshkov@cern.ch 3/9/2010 // /////////////////////////////////////////////////////////////////////////////// #include #include "AliLog.h" #include "AliDAQ.h" #include "AliLTUConfig.h" using std::endl; using std::cout; ClassImp( AliLTUConfig ) //_____________________________________________________________________________ void AliLTUConfig::Print( const Option_t* ) const { // Print cout << "LTU Config:" << endl; cout << " Detector: " << GetDetectorName() << "(Id=" << (Int_t)fDetectorId << ")" << endl; cout << " FineDelay1: " << fFineDelay1 << " ns" << endl; cout << " FineDelay2: " << fFineDelay2 << " ns" << endl; cout << " BCDelayAdd: " << fBCDelayAdd << " ns" << endl; } //_____________________________________________________________________________ const char* AliLTUConfig::GetDetectorName() const { // Get the detector name (DAQ naming scheme) return AliDAQ::DetectorName((Int_t)fDetectorId); }