BesTofDigi Class Reference

#include <BesTofDigi.hh>

List of all members.

Public Member Functions

 BesTofDigi ()
virtual ~BesTofDigi ()
 BesTofDigi (const BesTofDigi &)
const BesTofDigioperator= (const BesTofDigi &)
virtual G4int operator== (const BesTofDigi &) const
void * operator new (size_t)
void operator delete (void *)
virtual void Draw ()
virtual void Print ()
void SetTrackIndex (G4int index)
void SetPartId (G4int partId)
void SetScinNb (G4int scinNb)
void SetForwADC (G4double ADC)
void SetBackADC (G4double ADC)
void SetForwTDC (G4double TDC)
void SetBackTDC (G4double TDC)
void SetModule (G4int module)
void SetStrip (G4int strip)
void SetForwT1 (G4double t1)
void SetBackT1 (G4double t1)
void SetForwT2 (G4double t2)
void SetBackT2 (G4double t2)
G4int GetTrackIndex ()
G4int GetPartId ()
G4int GetScinNb ()
G4double GetForwADC ()
G4double GetBackADC ()
G4double GetForwTDC ()
G4double GetBackTDC ()
G4int GetModule ()
G4int GetStrip ()
G4double GetForwT1 ()
G4double GetBackT1 ()
G4double GetForwT2 ()
G4double GetBackT2 ()

Private Attributes

G4int m_trackIndex
G4int m_partId
G4int m_scinNb
G4int m_strip
G4double m_forwADC
G4double m_backADC
G4double m_forwTDC
G4double m_backTDC


Detailed Description

Definition at line 19 of file BesTofDigi.hh.


Constructor & Destructor Documentation

BesTofDigi::BesTofDigi (  ) 

Definition at line 16 of file BesTofDigi.cc.

References m_backADC, m_backTDC, m_forwADC, m_forwTDC, m_partId, m_scinNb, and m_trackIndex.

00017 {
00018     m_trackIndex = 0;
00019     m_partId = -9;
00020     m_scinNb = -9;
00021     m_forwADC = -999;
00022     m_backADC = -999;
00023     m_forwTDC = -999;
00024     m_backTDC = -999;
00025 
00026 
00027 }

BesTofDigi::~BesTofDigi (  )  [virtual]

Definition at line 29 of file BesTofDigi.cc.

00029 {}

BesTofDigi::BesTofDigi ( const BesTofDigi  ) 

Definition at line 31 of file BesTofDigi.cc.

References m_backADC, m_backTDC, m_forwADC, m_forwTDC, m_partId, m_scinNb, and m_trackIndex.

00032         :G4VDigi()
00033 {
00034     m_trackIndex = right.m_trackIndex;
00035     m_partId=right.m_partId;
00036     m_scinNb=right.m_scinNb;
00037     m_forwADC=right.m_forwADC;
00038     m_backADC=right.m_backADC;
00039     m_forwTDC=right.m_forwTDC;
00040     m_backTDC=right.m_backTDC;
00041     
00042       
00043 
00044 }


Member Function Documentation

void BesTofDigi::Draw (  )  [virtual]

Definition at line 68 of file BesTofDigi.cc.

00069 {
00070 }

G4double BesTofDigi::GetBackADC (  )  [inline]

Definition at line 57 of file BesTofDigi.hh.

References m_backADC.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00057 { return m_backADC;     }

G4double BesTofDigi::GetBackT1 (  )  [inline]

Definition at line 64 of file BesTofDigi.hh.

References m_backTDC.

Referenced by BesRawDataWriter::SaveTofDigits().

00064 { return m_backTDC;     }

G4double BesTofDigi::GetBackT2 (  )  [inline]

Definition at line 66 of file BesTofDigi.hh.

References m_backADC.

Referenced by BesRawDataWriter::SaveTofDigits().

00066 { return m_backADC;     }

G4double BesTofDigi::GetBackTDC (  )  [inline]

Definition at line 59 of file BesTofDigi.hh.

References m_backTDC.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00059 { return m_backTDC;     }

G4double BesTofDigi::GetForwADC (  )  [inline]

Definition at line 56 of file BesTofDigi.hh.

References m_forwADC.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00056 { return m_forwADC;     }

G4double BesTofDigi::GetForwT1 (  )  [inline]

Definition at line 63 of file BesTofDigi.hh.

References m_forwTDC.

Referenced by BesRawDataWriter::SaveTofDigits().

00063 { return m_forwTDC;     }

G4double BesTofDigi::GetForwT2 (  )  [inline]

Definition at line 65 of file BesTofDigi.hh.

References m_forwADC.

Referenced by BesRawDataWriter::SaveTofDigits().

00065 { return m_forwADC;     }

G4double BesTofDigi::GetForwTDC (  )  [inline]

Definition at line 58 of file BesTofDigi.hh.

References m_forwTDC.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00058 { return m_forwTDC;     }

G4int BesTofDigi::GetModule (  )  [inline]

Definition at line 61 of file BesTofDigi.hh.

References m_scinNb.

Referenced by BesRawDataWriter::SaveTofDigits().

00061 { return m_scinNb;      }

G4int BesTofDigi::GetPartId (  )  [inline]

Definition at line 53 of file BesTofDigi.hh.

References m_partId.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00053 { return m_partId;      }

G4int BesTofDigi::GetScinNb (  )  [inline]

Definition at line 55 of file BesTofDigi.hh.

References m_scinNb.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00055 { return m_scinNb;      }

G4int BesTofDigi::GetStrip (  )  [inline]

Definition at line 62 of file BesTofDigi.hh.

References m_strip.

Referenced by BesRawDataWriter::SaveTofDigits().

00062 { return m_strip;       }

G4int BesTofDigi::GetTrackIndex (  )  [inline]

Definition at line 52 of file BesTofDigi.hh.

References m_trackIndex.

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

00052 { return m_trackIndex;  }

void BesTofDigi::operator delete ( void *   )  [inline]

Definition at line 90 of file BesTofDigi.hh.

References BesTofDigiAllocator.

00091 {
00092   BesTofDigiAllocator.FreeSingle((BesTofDigi*) aDigi);
00093 }

void * BesTofDigi::operator new ( size_t   )  [inline]

Definition at line 83 of file BesTofDigi.hh.

References BesTofDigiAllocator.

00084 {
00085   void *aDigi;
00086   aDigi = (void *) BesTofDigiAllocator.MallocSingle();
00087   return aDigi;
00088 }

const BesTofDigi & BesTofDigi::operator= ( const BesTofDigi  ) 

Definition at line 47 of file BesTofDigi.cc.

References m_backADC, m_backTDC, m_forwADC, m_forwTDC, m_partId, m_scinNb, and m_trackIndex.

00048 {
00049     m_trackIndex=right.m_trackIndex;
00050     m_partId=right.m_partId;
00051     m_scinNb=right.m_scinNb;
00052     m_forwADC=right.m_forwADC;
00053     m_backADC=right.m_backADC;
00054     m_forwTDC=right.m_forwTDC;
00055     m_backTDC=right.m_backTDC;
00056 
00057 
00058     return *this;
00059 }

int BesTofDigi::operator== ( const BesTofDigi  )  const [virtual]

Definition at line 62 of file BesTofDigi.cc.

00063 {
00064     return (this==&right) ? 1 : 0;
00065 }

void BesTofDigi::Print (  )  [virtual]

Definition at line 73 of file BesTofDigi.cc.

00074 {
00075 }

void BesTofDigi::SetBackADC ( G4double  ADC  )  [inline]

Definition at line 41 of file BesTofDigi.hh.

References m_backADC.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00041 { m_backADC = ADC;      }

void BesTofDigi::SetBackT1 ( G4double  t1  )  [inline]

Definition at line 48 of file BesTofDigi.hh.

References m_backTDC.

Referenced by BesTofDigitizerEcV4::Digitize().

00048 { m_backTDC = t1;       }

void BesTofDigi::SetBackT2 ( G4double  t2  )  [inline]

Definition at line 50 of file BesTofDigi.hh.

References m_backADC.

Referenced by BesTofDigitizerEcV4::Digitize().

00050 { m_backADC = t2;       }

void BesTofDigi::SetBackTDC ( G4double  TDC  )  [inline]

Definition at line 43 of file BesTofDigi.hh.

References m_backTDC.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00043 { m_backTDC = TDC;      }

void BesTofDigi::SetForwADC ( G4double  ADC  )  [inline]

Definition at line 40 of file BesTofDigi.hh.

References m_forwADC.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00040 { m_forwADC = ADC;      }

void BesTofDigi::SetForwT1 ( G4double  t1  )  [inline]

Definition at line 47 of file BesTofDigi.hh.

References m_forwTDC.

Referenced by BesTofDigitizerEcV4::Digitize().

00047 { m_forwTDC = t1;       }

void BesTofDigi::SetForwT2 ( G4double  t2  )  [inline]

Definition at line 49 of file BesTofDigi.hh.

References m_forwADC.

Referenced by BesTofDigitizerEcV4::Digitize().

00049 { m_forwADC = t2;       }

void BesTofDigi::SetForwTDC ( G4double  TDC  )  [inline]

Definition at line 42 of file BesTofDigi.hh.

References m_forwTDC.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00042 { m_forwTDC = TDC;      }

void BesTofDigi::SetModule ( G4int  module  )  [inline]

Definition at line 45 of file BesTofDigi.hh.

References m_scinNb.

Referenced by BesTofDigitizerEcV4::Digitize().

00045 { m_scinNb  = module;   }

void BesTofDigi::SetPartId ( G4int  partId  )  [inline]

Definition at line 37 of file BesTofDigi.hh.

References m_partId.

Referenced by BesTofDigitizerEcV4::Digitize(), BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00037 { m_partId  = partId;   }

void BesTofDigi::SetScinNb ( G4int  scinNb  )  [inline]

Definition at line 39 of file BesTofDigi.hh.

References m_scinNb.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00039 { m_scinNb  = scinNb;   }

void BesTofDigi::SetStrip ( G4int  strip  )  [inline]

Definition at line 46 of file BesTofDigi.hh.

References m_strip.

Referenced by BesTofDigitizerEcV4::Digitize().

00046 { m_strip   = strip;    }

void BesTofDigi::SetTrackIndex ( G4int  index  )  [inline]

Definition at line 36 of file BesTofDigi.hh.

References m_trackIndex.

Referenced by BesTofDigitizerEcV4::Digitize(), BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), and BesTofDigitizerBrV1::Digitize().

00036 { m_trackIndex = index; }


Member Data Documentation

G4double BesTofDigi::m_backADC [private]

Definition at line 74 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetBackADC(), GetBackT2(), operator=(), SetBackADC(), and SetBackT2().

G4double BesTofDigi::m_backTDC [private]

Definition at line 76 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetBackT1(), GetBackTDC(), operator=(), SetBackT1(), and SetBackTDC().

G4double BesTofDigi::m_forwADC [private]

Definition at line 73 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetForwADC(), GetForwT2(), operator=(), SetForwADC(), and SetForwT2().

G4double BesTofDigi::m_forwTDC [private]

Definition at line 75 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetForwT1(), GetForwTDC(), operator=(), SetForwT1(), and SetForwTDC().

G4int BesTofDigi::m_partId [private]

Definition at line 70 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetPartId(), operator=(), and SetPartId().

G4int BesTofDigi::m_scinNb [private]

Definition at line 71 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetModule(), GetScinNb(), operator=(), SetModule(), and SetScinNb().

G4int BesTofDigi::m_strip [private]

Definition at line 72 of file BesTofDigi.hh.

Referenced by GetStrip(), and SetStrip().

G4int BesTofDigi::m_trackIndex [private]

Definition at line 69 of file BesTofDigi.hh.

Referenced by BesTofDigi(), GetTrackIndex(), operator=(), and SetTrackIndex().


Generated on Tue Nov 29 23:17:35 2016 for BOSS_7.0.2 by  doxygen 1.4.7