LCOV - code coverage report
Current view: top level - AD/ADbase - AliADLogicalSignal.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 7 14.3 %
Date: 2016-06-14 17:26:59 Functions: 1 11 9.1 %

          Line data    Source code
       1             : #ifndef ALIADLOGICALSIGNAL_H
       2             : #define ALIADLOGICALSIGNAL_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
       4             :  * reserved. 
       5             :  *
       6             :  * See cxx source for full Copyright notice                               
       7             :  */
       8             : 
       9             : 
      10             : // 
      11             : // Class AliADLogicalSignal
      12             : // ---------------------------
      13             : // Describes a logical signal in the electronics. 
      14             : // Use it to generate observation windows
      15             : // which are used by AliADTriggerSimulator class
      16             : // 
      17             : 
      18             : 
      19             : #include <TObject.h>
      20             : #include <AliLog.h>
      21             : 
      22             : class AliADLogicalSignal  : public TObject {
      23             : public:
      24             :         AliADLogicalSignal();
      25             :         AliADLogicalSignal(UShort_t profilClock, UInt_t delay, UInt_t latch, UInt_t reset);
      26             :         virtual ~AliADLogicalSignal();
      27             :         AliADLogicalSignal(const AliADLogicalSignal &signal);
      28             :         AliADLogicalSignal& operator= (const AliADLogicalSignal &signal);
      29             :         AliADLogicalSignal operator& (const AliADLogicalSignal &signal) const;
      30             :         AliADLogicalSignal operator| (const AliADLogicalSignal &signal) const;
      31             :         // Print method
      32           0 :         virtual void Print(Option_t* opt="") const { AliInfo(Form("\t%s -> Start %f Stop %f\n ",opt,fStart,fStop));}
      33             :         
      34           0 :         Float_t GetStartTime() const {return fStart;};
      35           0 :         Float_t GetStopTime() const {return fStop;};
      36           0 :         Float_t GetWidth() const {return (fStop - fStart);};
      37             :         
      38           0 :         void SetStartTime(Float_t time){fStart = time;};
      39           0 :         void SetStopTime(Float_t time){fStop = time;};
      40             :         
      41             :         Bool_t IsInCoincidence(Float_t time) const;
      42             :         
      43             : private:
      44             :         
      45             :         Float_t fStart; // Start Time of the signal with respect to the LHC Clock
      46             :         Float_t fStop;  // Stop Time of the signal with respect to the LHC Clock
      47             :         
      48             :         
      49          16 :         ClassDef( AliADLogicalSignal, 1 )  
      50             :         
      51             : };
      52             : 
      53             : #endif // ALIADLOGICALSIGNAL_H
      54             : 
      55             : 

Generated by: LCOV version 1.11