Public Member Functions | Private Attributes

TTrbOutputHit Class Reference

#include <TTrbHit.h>

Public Member Functions

 TTrbOutputHit ()
 Dummy constructor.
 TTrbOutputHit (UShort_t TDC, UShort_t Channel, UChar_t EdgeType, Double_t FullTime, Double_t DeltaT)
 Clever constructor for only leading/trailing edge.
UShort_t GetTDC () const
 Getter for the TDC index.
UShort_t GetChannel () const
 Getter for the channel index.
UChar_t GetEdgeType () const
 Getter for the edge type.
Double_t GetFullTime () const
 Getters for data.
Double_t GetDeltaT () const
bool IsLeading () const
 return true if leading edge exists
bool IsTrailing () const
 return true if trailing edge exists
void SetFullTime (Double_t FullTime)
 Setters for data.
void SetDeltaT (Double_t DeltaT)

Private Attributes

UShort_t iTDC
 Indices.
UShort_t iChannel
UChar_t fEdgeType
Double_t fFullTime
 Data.
Double_t fDeltaT

Detailed Description

Definition at line 110 of file TTrbHit.h.


Constructor & Destructor Documentation

TTrbOutputHit::TTrbOutputHit (  )  [inline]

Dummy constructor.

Definition at line 114 of file TTrbHit.h.

TTrbOutputHit::TTrbOutputHit ( UShort_t  TDC,
UShort_t  Channel,
UChar_t  EdgeType,
Double_t  FullTime,
Double_t  DeltaT 
) [inline]

Clever constructor for only leading/trailing edge.

Definition at line 121 of file TTrbHit.h.


Member Function Documentation

UShort_t TTrbOutputHit::GetChannel (  )  const [inline]

Getter for the channel index.

Definition at line 129 of file TTrbHit.h.

References iChannel.

Double_t TTrbOutputHit::GetDeltaT (  )  const [inline]

Definition at line 137 of file TTrbHit.h.

References fDeltaT.

UChar_t TTrbOutputHit::GetEdgeType (  )  const [inline]

Getter for the edge type.

Definition at line 132 of file TTrbHit.h.

References fEdgeType.

Double_t TTrbOutputHit::GetFullTime (  )  const [inline]

Getters for data.

Definition at line 135 of file TTrbHit.h.

References fFullTime.

UShort_t TTrbOutputHit::GetTDC (  )  const [inline]

Getter for the TDC index.

Definition at line 126 of file TTrbHit.h.

References iTDC.

bool TTrbOutputHit::IsLeading (  )  const [inline]

return true if leading edge exists

Definition at line 140 of file TTrbHit.h.

References fEdgeType.

bool TTrbOutputHit::IsTrailing (  )  const [inline]

return true if trailing edge exists

Definition at line 143 of file TTrbHit.h.

References fEdgeType.

void TTrbOutputHit::SetDeltaT ( Double_t  DeltaT  )  [inline]

Definition at line 149 of file TTrbHit.h.

References fDeltaT.

void TTrbOutputHit::SetFullTime ( Double_t  FullTime  )  [inline]

Setters for data.

Definition at line 146 of file TTrbHit.h.

References fFullTime.


Field Documentation

Double_t TTrbOutputHit::fDeltaT [private]

Definition at line 167 of file TTrbHit.h.

Referenced by GetDeltaT(), and SetDeltaT().

UChar_t TTrbOutputHit::fEdgeType [private]

Flag: 3 - not initialized 2 - both leading and trailing 1 - only leading 0 - only trailing Done so unusual to be the same 0/1 as 0/1 of 'isrising' in TTrbProc::ProcessTDCV3

Definition at line 163 of file TTrbHit.h.

Referenced by GetEdgeType(), IsLeading(), and IsTrailing().

Double_t TTrbOutputHit::fFullTime [private]

Data.

Definition at line 166 of file TTrbHit.h.

Referenced by GetFullTime(), and SetFullTime().

UShort_t TTrbOutputHit::iChannel [private]

Definition at line 155 of file TTrbHit.h.

Referenced by GetChannel().

UShort_t TTrbOutputHit::iTDC [private]

Indices.

Definition at line 154 of file TTrbHit.h.

Referenced by GetTDC().


The documentation for this class was generated from the following file: