4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ///////////////////////////////////////////////////////////////////////////////
9 // Class that describes a detector LTU configuration //
12 // Presently we store a subset of the LTU parameters: //
13 // FineDelay1 3126 # picosec //
14 // FineDelay2 20459 # picosec //
15 // BC_DELAY_ADD 18 # ns //
17 // cvetan.cheshkov@cern.ch 3/9/2010 //
18 ///////////////////////////////////////////////////////////////////////////////
23 class AliLTUConfig : public TObject {
26 AliLTUConfig(): TObject(),
32 AliLTUConfig(UChar_t detectorId, Float_t fineDelay1, Float_t fineDelay2, Float_t bcDelayAdd): TObject(),
33 fDetectorId(detectorId),
34 fFineDelay1(fineDelay1),
35 fFineDelay2(fineDelay2),
36 fBCDelayAdd(bcDelayAdd)
38 AliLTUConfig(AliLTUConfig & ltu): TObject(ltu),
39 fDetectorId(ltu.fDetectorId),
40 fFineDelay1(ltu.fFineDelay1),
41 fFineDelay2(ltu.fFineDelay2),
42 fBCDelayAdd(ltu.fBCDelayAdd)
44 virtual ~AliLTUConfig() {}
47 Char_t GetDetectorId() const { return fDetectorId; }
48 const char* GetDetectorName() const;
49 Float_t GetFineDelay1() const { return fFineDelay1; }
50 Float_t GetFineDelay2() const { return fFineDelay2; }
51 Float_t GetBCDelayAdd() const { return fBCDelayAdd; }
53 virtual void Print( const Option_t* opt ="" ) const;
56 AliLTUConfig & operator=(const AliLTUConfig & );
58 Char_t fDetectorId; // Detector ID, see AliDAQ class for more details
59 Float_t fFineDelay1; // Fine delay in ns
60 Float_t fFineDelay2; // Fine delay in ns
61 Float_t fBCDelayAdd; // BC_DELAY_ADD in ns
63 ClassDef( AliLTUConfig, 1 ) // LTU Configuration class