Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RecEmcDigit Class Reference

#include <RecEmcDigit.h>

List of all members.

Public Member Functions

RecEmcADC ADC (const RecEmcADC &ADC)
RecEmcADC ADC () const
RecEmcADC ADC (const RecEmcADC &ADC)
RecEmcADC ADC () const
void Assign (const RecEmcDigit &aDigit)
void Assign (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
void Assign (const RecEmcDigit &aDigit)
void Assign (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
RecEmcID CellId (const RecEmcID &CellId)
RecEmcID CellId () const
RecEmcID CellId (const RecEmcID &CellId)
RecEmcID CellId () const
void Dump () const
void Dump () const
RecEmcDigitoperator= (const RecEmcDigit &aDigit)
RecEmcDigitoperator= (const RecEmcDigit &aDigit)
 RecEmcDigit (const RecEmcDigit &aDigit)
 RecEmcDigit (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
 RecEmcDigit ()
 RecEmcDigit (const RecEmcDigit &aDigit)
 RecEmcDigit (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
 RecEmcDigit ()
RecEmcTDC TDC (const RecEmcTDC &TDC)
RecEmcTDC TDC () const
RecEmcTDC TDC (const RecEmcTDC &TDC)
RecEmcTDC TDC () const
 ~RecEmcDigit ()
 ~RecEmcDigit ()

Protected Attributes

RecEmcADC fADC
RecEmcID fCellId
RecEmcTDC fTDC


Constructor & Destructor Documentation

RecEmcDigit::RecEmcDigit  ) 
 

00013 {
00014    fCellId.clear();
00015    fADC=-1;
00016    fTDC=-1;
00017 }

RecEmcDigit::RecEmcDigit const RecEmcID CellId,
const RecEmcADC ADC,
const RecEmcTDC TDC
 

00022 {
00023    fCellId=CellId;
00024    fADC=ADC;
00025    fTDC=TDC;
00026 }

RecEmcDigit::~RecEmcDigit  ) 
 

00029 {
00030    //nothing to do
00031 }

RecEmcDigit::RecEmcDigit const RecEmcDigit aDigit  ) 
 

00035 {
00036    fCellId=aDigit.CellId();
00037    fADC=aDigit.ADC();
00038    fTDC=aDigit.TDC();
00039 }

RecEmcDigit::RecEmcDigit  ) 
 

RecEmcDigit::RecEmcDigit const RecEmcID CellId,
const RecEmcADC ADC,
const RecEmcTDC TDC
 

RecEmcDigit::~RecEmcDigit  ) 
 

RecEmcDigit::RecEmcDigit const RecEmcDigit aDigit  ) 
 


Member Function Documentation

RecEmcADC RecEmcDigit::ADC const RecEmcADC ADC  ) 
 

RecEmcADC RecEmcDigit::ADC  )  const
 

RecEmcADC RecEmcDigit::ADC const RecEmcADC ADC  ) 
 

00077 {
00078    fADC=ADC;
00079    return fADC;
00080 }

RecEmcADC RecEmcDigit::ADC  )  const
 

00060 {
00061    return fADC;   
00062 }

void RecEmcDigit::Assign const RecEmcDigit aDigit  ) 
 

void RecEmcDigit::Assign const RecEmcID CellId,
const RecEmcADC ADC,
const RecEmcTDC TDC
 

void RecEmcDigit::Assign const RecEmcDigit aDigit  ) 
 

00098 {
00099    fCellId=aDigit.CellId();
00100    fADC=aDigit.ADC();
00101    fTDC=aDigit.TDC();
00102 }

void RecEmcDigit::Assign const RecEmcID CellId,
const RecEmcADC ADC,
const RecEmcTDC TDC
 

00091 {
00092    fCellId=CellId;
00093    fADC=ADC;
00094    fTDC=TDC;
00095 }

RecEmcID RecEmcDigit::CellId const RecEmcID CellId  ) 
 

RecEmcID RecEmcDigit::CellId  )  const
 

RecEmcID RecEmcDigit::CellId const RecEmcID CellId  ) 
 

00071 {
00072    fCellId=CellId; 
00073    return fCellId;
00074 }

RecEmcID RecEmcDigit::CellId  )  const
 

00055 {
00056    return fCellId;
00057 }

void RecEmcDigit::Dump  )  const
 

void RecEmcDigit::Dump  )  const
 

00106 {
00107    cout<<"Digit: ";
00108    
00109    cout<<fCellId<<", ";
00110    
00111    cout.width(12);
00112    cout.setf(ios::right);
00113    cout<<fADC<<", ";
00114    
00115    cout.width(12);
00116    cout.setf(ios::right);
00117    cout<<fTDC<<endl;
00118 }

RecEmcDigit& RecEmcDigit::operator= const RecEmcDigit aDigit  ) 
 

RecEmcDigit & RecEmcDigit::operator= const RecEmcDigit aDigit  ) 
 

00042 {
00043    if(this!=&aDigit)
00044      {
00045         fCellId=aDigit.CellId();
00046         fADC=aDigit.ADC();
00047         fTDC=aDigit.TDC();
00048      }
00049    return *this;
00050 }

RecEmcTDC RecEmcDigit::TDC const RecEmcTDC TDC  ) 
 

RecEmcTDC RecEmcDigit::TDC  )  const
 

RecEmcTDC RecEmcDigit::TDC const RecEmcTDC TDC  ) 
 

00083 {
00084    fTDC=TDC;
00085    return fTDC;
00086 }

RecEmcTDC RecEmcDigit::TDC  )  const
 

00065 {
00066    return fTDC;
00067 }


Member Data Documentation

RecEmcADC RecEmcDigit::fADC [protected]
 

RecEmcID RecEmcDigit::fCellId [protected]
 

RecEmcTDC RecEmcDigit::fTDC [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:44:19 2011 for BOSS6.5.5 by  doxygen 1.3.9.1