Public Member Functions | Private Member Functions | Private Attributes

ScDigi Class Reference

#include <ScDigi.h>

Public Member Functions

 ScDigi ()
 ScDigi (nxyter::Data *data, Long64_t hitTime)
 ScDigi (Int_t iRoc, Int_t iNx, Long64_t time, Int_t iChannel, Int_t adc, Bool_t isPileup, Bool_t isOverflow)
virtual ~ScDigi ()
Int_t GetRocNumber () const
Int_t GetNxNumber () const
Long64_t GetTime () const
Int_t GetChannel () const
Int_t GetAdc () const
Bool_t IsPileup () const
Bool_t IsOverflow () const
virtual void Print (Option_t *opt="") const

Private Member Functions

 ClassDef (ScDigi, 1)

Private Attributes

Int_t fRoc
Int_t fNx
Long64_t fTime
Int_t fChannel
Int_t fAdc
Bool_t fPileup
Bool_t fOverflow

Detailed Description

Definition at line 25 of file ScDigi.h.


Constructor & Destructor Documentation

ScDigi::ScDigi (  ) 

Default constructor

Definition at line 11 of file ScDigi.cxx.

References fAdc, fChannel, fNx, fOverflow, fPileup, fRoc, and fTime.

ScDigi::ScDigi ( nxyter::Data *  data,
Long64_t  hitTime 
)

Constructor from nxyter::Data

Definition at line 18 of file ScDigi.cxx.

References fAdc, fChannel, fNx, fOverflow, fPileup, fRoc, and fTime.

ScDigi::ScDigi ( Int_t  iRoc,
Int_t  iNx,
Long64_t  time,
Int_t  iChannel,
Int_t  adc,
Bool_t  isPileup,
Bool_t  isOverflow 
)

Constructor with data

Definition at line 59 of file ScDigi.cxx.

References fAdc, fChannel, fNx, fOverflow, fPileup, fRoc, and fTime.

virtual ScDigi::~ScDigi (  )  [inline, virtual]

Destructor

Definition at line 45 of file ScDigi.h.


Member Function Documentation

ScDigi::ClassDef ( ScDigi  ,
 
) [private]

Overflow flag

Int_t ScDigi::GetAdc (  )  const [inline]

Definition at line 53 of file ScDigi.h.

References fAdc.

Int_t ScDigi::GetChannel (  )  const [inline]

Definition at line 52 of file ScDigi.h.

References fChannel.

Int_t ScDigi::GetNxNumber (  )  const [inline]

Definition at line 50 of file ScDigi.h.

References fNx.

Int_t ScDigi::GetRocNumber (  )  const [inline]

Accessors

Definition at line 49 of file ScDigi.h.

References fRoc.

Long64_t ScDigi::GetTime (  )  const [inline]

Definition at line 51 of file ScDigi.h.

References fTime.

Bool_t ScDigi::IsOverflow (  )  const [inline]

Definition at line 55 of file ScDigi.h.

References fOverflow.

Bool_t ScDigi::IsPileup (  )  const [inline]

Definition at line 54 of file ScDigi.h.

References fPileup.

void ScDigi::Print ( Option_t *  opt = ""  )  const [virtual]

Print

Definition at line 71 of file ScDigi.cxx.

References fAdc, fChannel, fNx, fRoc, and fTime.


Field Documentation

Int_t ScDigi::fAdc [private]

NXyter Channel number

Definition at line 70 of file ScDigi.h.

Referenced by GetAdc(), Print(), and ScDigi().

Int_t ScDigi::fChannel [private]

Time since run start [ns]

Definition at line 69 of file ScDigi.h.

Referenced by GetChannel(), Print(), and ScDigi().

Int_t ScDigi::fNx [private]

ROC number

Definition at line 67 of file ScDigi.h.

Referenced by GetNxNumber(), Print(), and ScDigi().

Bool_t ScDigi::fOverflow [private]

Pileup flag

Definition at line 72 of file ScDigi.h.

Referenced by IsOverflow(), and ScDigi().

Bool_t ScDigi::fPileup [private]

ADC channel

Definition at line 71 of file ScDigi.h.

Referenced by IsPileup(), and ScDigi().

Int_t ScDigi::fRoc [private]

Definition at line 66 of file ScDigi.h.

Referenced by GetRocNumber(), Print(), and ScDigi().

Long64_t ScDigi::fTime [private]

NXyter number within ROC

Definition at line 68 of file ScDigi.h.

Referenced by GetTime(), Print(), and ScDigi().


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