SDD raw data format read from block attributes of CDH, RawStreamSDD instantiated...
[u/mrichter/AliRoot.git] / VZERO / AliVZEROLogicalSignal.h
CommitLineData
a08520b8 1#ifndef ALIVZEROLOGICALSIGNAL_H\r
2#define ALIVZEROLOGICALSIGNAL_H\r
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights\r
4 * reserved. \r
5 *\r
6 * See cxx source for full Copyright notice \r
7 */\r
8\r
9#include <TObject.h>\r
10\r
11class AliVZEROLogicalSignal : public TObject {\r
12public:\r
13 AliVZEROLogicalSignal();\r
14 AliVZEROLogicalSignal(Float_t start, Float_t stop);\r
15 AliVZEROLogicalSignal(UShort_t profilClock, UInt_t delay);\r
16 ~AliVZEROLogicalSignal();\r
17 AliVZEROLogicalSignal(const AliVZEROLogicalSignal &signal);\r
18 AliVZEROLogicalSignal& operator= (const AliVZEROLogicalSignal &signal);\r
19 AliVZEROLogicalSignal operator& (const AliVZEROLogicalSignal &signal) const;\r
20 AliVZEROLogicalSignal operator| (const AliVZEROLogicalSignal &signal) const;\r
21 // Print method\r
22 virtual void Print(Option_t* opt="") const { AliInfo(Form("\t%s -> Start %f Stop %f\n ",opt,fStart,fStop));}\r
23 \r
24 Float_t GetStartTime() const {return fStart;};\r
25 Float_t GetStopTime() const {return fStop;};\r
26 Float_t GetWidth() const {return (fStop - fStart);};\r
27 \r
28 void SetStartTime(Float_t time){fStart = time;};\r
29 void SetStopTime(Float_t time){fStop = time;};\r
30 \r
31 Bool_t IsInCoincidence(Float_t time);\r
32 \r
33private:\r
34 \r
35 Float_t fStart; // Start Time of the signal with respect to the LHC Clock\r
36 Float_t fStop; // Stop Time of the signal with respect to the LHC Clock\r
37 \r
38 \r
39 ClassDef( AliVZEROLogicalSignal, 1 ) \r
40 \r
41};\r
42\r
43#endif // ALIVZEROLOGICALSIGNAL_H\r
44\r