Fixes for the trunk: compilation on Lion (Yves)
[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
e370cdfe 9\r
10// \r
11// Class AliVZEROLogicalSignal\r
12// ---------------------------\r
13// Describes a logical signal in the electronics. \r
14// Use it to generate observation windows\r
15// which are used by AliVZEROTriggerSimulator class\r
16// \r
17\r
18\r
a08520b8 19#include <TObject.h>\r
20\r
21class AliVZEROLogicalSignal : public TObject {\r
22public:\r
23 AliVZEROLogicalSignal();\r
a08520b8 24 AliVZEROLogicalSignal(UShort_t profilClock, UInt_t delay);\r
e370cdfe 25 virtual ~AliVZEROLogicalSignal();\r
a08520b8 26 AliVZEROLogicalSignal(const AliVZEROLogicalSignal &signal);\r
27 AliVZEROLogicalSignal& operator= (const AliVZEROLogicalSignal &signal);\r
28 AliVZEROLogicalSignal operator& (const AliVZEROLogicalSignal &signal) const;\r
29 AliVZEROLogicalSignal operator| (const AliVZEROLogicalSignal &signal) const;\r
30 // Print method\r
31 virtual void Print(Option_t* opt="") const { AliInfo(Form("\t%s -> Start %f Stop %f\n ",opt,fStart,fStop));}\r
32 \r
33 Float_t GetStartTime() const {return fStart;};\r
34 Float_t GetStopTime() const {return fStop;};\r
35 Float_t GetWidth() const {return (fStop - fStart);};\r
36 \r
37 void SetStartTime(Float_t time){fStart = time;};\r
38 void SetStopTime(Float_t time){fStop = time;};\r
39 \r
e370cdfe 40 Bool_t IsInCoincidence(Float_t time) const;\r
a08520b8 41 \r
42private:\r
43 \r
44 Float_t fStart; // Start Time of the signal with respect to the LHC Clock\r
45 Float_t fStop; // Stop Time of the signal with respect to the LHC Clock\r
46 \r
47 \r
48 ClassDef( AliVZEROLogicalSignal, 1 ) \r
49 \r
50};\r
51\r
52#endif // ALIVZEROLOGICALSIGNAL_H\r
53\r
e370cdfe 54\r