Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
GammaRayTelDigi Class Reference

#include <GammaRayTelDigi.hh>

Inheritance diagram for GammaRayTelDigi:
G4VDigi

Public Member Functions

 GammaRayTelDigi ()
 
 ~GammaRayTelDigi ()
 
 GammaRayTelDigi (const GammaRayTelDigi &)
 
const GammaRayTelDigioperator= (const GammaRayTelDigi &)
 
int operator== (const GammaRayTelDigi &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
void Print ()
 
void SetPlaneNumber (G4int PlaneNum)
 
void SetPlaneType (G4int PlaneTyp)
 
void SetStripNumber (G4int StripNum)
 
void SetDigiType (G4int DigiID)
 
void SetEnergy (G4double Ene)
 
G4int GetPlaneNumber ()
 
G4int GetPlaneType ()
 
G4int GetStripNumber ()
 
G4int GetDigiType ()
 
G4double GetEnergy ()
 
- Public Member Functions inherited from G4VDigi
 G4VDigi ()
 
virtual ~G4VDigi ()
 
G4int operator== (const G4VDigi &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Detailed Description

Definition at line 50 of file GammaRayTelDigi.hh.

Constructor & Destructor Documentation

GammaRayTelDigi::GammaRayTelDigi ( )

Definition at line 45 of file GammaRayTelDigi.cc.

46 {
47  PlaneType = 0;
48  PlaneNumber = 0;
49  StripNumber=0;
50  DigiType = 0;
51  Energy =0.;
52 }
GammaRayTelDigi::~GammaRayTelDigi ( )

Definition at line 56 of file GammaRayTelDigi.cc.

57 {;}
GammaRayTelDigi::GammaRayTelDigi ( const GammaRayTelDigi right)

Definition at line 61 of file GammaRayTelDigi.cc.

62  :G4VDigi()
63 {
64  PlaneType = right.PlaneType;
65  PlaneNumber = right.PlaneNumber;
66  StripNumber = right.StripNumber;
67  DigiType = right.DigiType;
68  Energy= right.Energy;
69 }
G4VDigi()
Definition: G4VDigi.cc:34

Member Function Documentation

void GammaRayTelDigi::Draw ( )
virtual

Reimplemented from G4VDigi.

Definition at line 92 of file GammaRayTelDigi.cc.

93 {;}
G4int GammaRayTelDigi::GetDigiType ( )
inline

Definition at line 86 of file GammaRayTelDigi.hh.

86 {return DigiType;};
G4double GammaRayTelDigi::GetEnergy ( )
inline

Definition at line 87 of file GammaRayTelDigi.hh.

87 {return Energy;};
G4int GammaRayTelDigi::GetPlaneNumber ( )
inline

Definition at line 83 of file GammaRayTelDigi.hh.

83 {return PlaneNumber;};
G4int GammaRayTelDigi::GetPlaneType ( )
inline

Definition at line 84 of file GammaRayTelDigi.hh.

84 {return PlaneType;};
G4int GammaRayTelDigi::GetStripNumber ( )
inline

Definition at line 85 of file GammaRayTelDigi.hh.

85 {return StripNumber;};
void GammaRayTelDigi::operator delete ( void aDigi)
inline

Definition at line 109 of file GammaRayTelDigi.hh.

References G4Allocator< Type >::FreeSingle().

110 {
111  GammaRayTelDigiAllocator.FreeSingle((GammaRayTelDigi*) aDigi);
112 }
G4Allocator< GammaRayTelDigi > GammaRayTelDigiAllocator
void * GammaRayTelDigi::operator new ( size_t  )
inline

Definition at line 100 of file GammaRayTelDigi.hh.

References G4Allocator< Type >::MallocSingle().

101 {
102  void* aDigi;
103  aDigi = (void*) GammaRayTelDigiAllocator.MallocSingle();
104  return aDigi;
105 }
G4Allocator< GammaRayTelDigi > GammaRayTelDigiAllocator
const GammaRayTelDigi & GammaRayTelDigi::operator= ( const GammaRayTelDigi right)

Definition at line 73 of file GammaRayTelDigi.cc.

74 {
75  PlaneType = right.PlaneType;
76  PlaneNumber = right.PlaneNumber;
77  StripNumber = right.StripNumber;
78  DigiType = right.DigiType;
79  Energy= right.Energy;
80  return *this;
81 }
int GammaRayTelDigi::operator== ( const GammaRayTelDigi right) const

Definition at line 85 of file GammaRayTelDigi.cc.

86 {
87  return ((PlaneType==right.PlaneType)&&(PlaneNumber==right.PlaneNumber)&&(StripNumber==right.StripNumber)&&(DigiType==right.DigiType)&&(Energy==right.Energy));
88 }
void GammaRayTelDigi::Print ( void  )
virtual

Reimplemented from G4VDigi.

Definition at line 97 of file GammaRayTelDigi.cc.

98 {;}
void GammaRayTelDigi::SetDigiType ( G4int  DigiID)
inline

Definition at line 80 of file GammaRayTelDigi.hh.

Referenced by GammaRayTelDigitizer::Digitize().

80 {DigiType = DigiID;};
void GammaRayTelDigi::SetEnergy ( G4double  Ene)
inline

Definition at line 81 of file GammaRayTelDigi.hh.

Referenced by GammaRayTelDigitizer::Digitize().

81 {Energy = Ene;};
void GammaRayTelDigi::SetPlaneNumber ( G4int  PlaneNum)
inline

Definition at line 77 of file GammaRayTelDigi.hh.

Referenced by GammaRayTelDigitizer::Digitize().

77 {PlaneNumber = PlaneNum;};
void GammaRayTelDigi::SetPlaneType ( G4int  PlaneTyp)
inline

Definition at line 78 of file GammaRayTelDigi.hh.

Referenced by GammaRayTelDigitizer::Digitize().

78 {PlaneType = PlaneTyp;};
void GammaRayTelDigi::SetStripNumber ( G4int  StripNum)
inline

Definition at line 79 of file GammaRayTelDigi.hh.

Referenced by GammaRayTelDigitizer::Digitize().

79 {StripNumber = StripNum;};

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