Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

LCDG4VXDHit Class Reference

#include <LCDG4VXDHit.hh>

Inheritance diagram for LCDG4VXDHit:

Inheritance graph
[legend]
Collaboration diagram for LCDG4VXDHit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LCDG4VXDHit ()
 ~LCDG4VXDHit ()
 LCDG4VXDHit (const LCDG4VXDHit &right)
const LCDG4VXDHitoperator= (const LCDG4VXDHit &right)
bool operator== (const LCDG4VXDHit &right) const
void * operator new (size_t)
void operator delete (void *aHit)
void Draw ()
void Print ()
void SetTrackID (const G4int trkID)
G4int GetTrackID ()
void SetLayer (const G4int layer)
G4int GetLayer ()
void SetSystem (const G4int sysNo)
G4int GetSystem ()
void SetBarEnd (const G4int barend)
G4int GetBarEnd ()
void SetNorthSouth (const G4int ns)
G4int GetNorthSouth ()
void SetEdep (const G4double de)
G4double GetEdep ()
void SetTdep (const G4double dt)
G4double GetTdep ()
void SetPos (const G4ThreeVector &xyz)
G4ThreeVector GetPos ()
G4int AddLayerLog (G4LogicalVolume *g4vxdlog, G4int startlayerNo)

Private Attributes

G4int m_trkID
G4int m_layer
G4int m_sysNo
G4int m_barend
G4int m_ns
G4double m_edep
G4double m_tdep
G4ThreeVector m_pos

Constructor & Destructor Documentation

LCDG4VXDHit::LCDG4VXDHit  ) 
 

Definition at line 14 of file LCDG4VXDHit.cc.

00014                          : G4VHit()
00015 {
00016 }

LCDG4VXDHit::~LCDG4VXDHit  ) 
 

Definition at line 21 of file LCDG4VXDHit.cc.

00022 {
00023 }

LCDG4VXDHit::LCDG4VXDHit const LCDG4VXDHit right  ) 
 

Definition at line 28 of file LCDG4VXDHit.cc.

References m_barend, m_edep, m_layer, m_ns, m_pos, m_sysNo, m_tdep, and m_trkID.

00028                                                  : G4VHit() {
00029   m_trkID  = right.m_trkID;
00030   m_layer  = right.m_layer;
00031   m_sysNo  = right.m_sysNo;
00032   m_barend = right.m_barend;
00033   m_ns     = right.m_ns;
00034   m_edep   = right.m_edep;
00035   m_tdep   = right.m_tdep;
00036   m_pos    = right.m_pos;
00037 }


Member Function Documentation

G4int LCDG4VXDHit::AddLayerLog G4LogicalVolume *  g4vxdlog,
G4int  startlayerNo
 

void LCDG4VXDHit::Draw  ) 
 

Definition at line 65 of file LCDG4VXDHit.cc.

References m_pos.

00065                        {
00066   G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
00067   if(pVVisManager) {
00068     G4Circle circle(m_pos);
00069     circle.SetScreenSize(0.04);
00070     circle.SetFillStyle(G4Circle::filled);
00071     G4Colour colour(1.,0.,0.);
00072     G4VisAttributes attribs(colour);
00073     circle.SetVisAttributes(attribs);
00074     pVVisManager->Draw(circle);
00075   }
00076 }

G4int LCDG4VXDHit::GetBarEnd  )  [inline]
 

Definition at line 34 of file LCDG4VXDHit.hh.

References m_barend.

00034 { return m_barend; }

G4double LCDG4VXDHit::GetEdep  )  [inline]
 

Definition at line 38 of file LCDG4VXDHit.hh.

References m_edep.

00038 { return m_edep; }

G4int LCDG4VXDHit::GetLayer  )  [inline]
 

Definition at line 30 of file LCDG4VXDHit.hh.

References m_layer.

00030 { return m_layer; }

G4int LCDG4VXDHit::GetNorthSouth  )  [inline]
 

Definition at line 36 of file LCDG4VXDHit.hh.

References m_ns.

00036 { return m_ns; }

G4ThreeVector LCDG4VXDHit::GetPos  )  [inline]
 

Definition at line 42 of file LCDG4VXDHit.hh.

References m_pos.

00042 { return m_pos; }

G4int LCDG4VXDHit::GetSystem  )  [inline]
 

Definition at line 32 of file LCDG4VXDHit.hh.

References m_sysNo.

00032 { return m_sysNo; }

G4double LCDG4VXDHit::GetTdep  )  [inline]
 

Definition at line 40 of file LCDG4VXDHit.hh.

References m_tdep.

00040 { return m_tdep; }

G4int LCDG4VXDHit::GetTrackID  )  [inline]
 

Definition at line 28 of file LCDG4VXDHit.hh.

References m_trkID.

00028 { return m_trkID; }

void LCDG4VXDHit::operator delete void *  aHit  )  [inline]
 

Definition at line 67 of file LCDG4VXDHit.hh.

References LCDG4VXDHitAllocator.

00067                                                    {
00068   LCDG4VXDHitAllocator.FreeSingle((LCDG4VXDHit*) aHit);
00069 }

void * LCDG4VXDHit::operator new size_t   )  [inline]
 

Definition at line 61 of file LCDG4VXDHit.hh.

References LCDG4VXDHitAllocator.

00061                                              {
00062   void *aHit;
00063   aHit = (void *) LCDG4VXDHitAllocator.MallocSingle();
00064   return aHit;
00065 }

const LCDG4VXDHit & LCDG4VXDHit::operator= const LCDG4VXDHit right  ) 
 

Definition at line 42 of file LCDG4VXDHit.cc.

References m_barend, m_edep, m_layer, m_ns, m_pos, m_sysNo, m_tdep, and m_trkID.

00042                                                                   {
00043   m_trkID = right.m_trkID;
00044   m_layer = right.m_layer;
00045   m_sysNo  = right.m_sysNo;
00046   m_barend = right.m_barend;
00047   m_ns     = right.m_ns;
00048   m_edep  = right.m_edep;
00049   m_tdep  = right.m_tdep;
00050   m_pos   = right.m_pos;
00051   return *this;
00052 }

bool LCDG4VXDHit::operator== const LCDG4VXDHit right  )  const
 

Definition at line 57 of file LCDG4VXDHit.cc.

00057                                                            {
00058   if(&right) ; // make compiler happy
00059   return false;
00060 }

void LCDG4VXDHit::Print  ) 
 

Definition at line 81 of file LCDG4VXDHit.cc.

References m_barend, m_edep, m_layer, m_ns, m_pos, m_sysNo, m_tdep, and m_trkID.

00081                         {
00082   G4cout << m_trkID << endl;
00083   G4cout << m_layer << endl;
00084   G4cout << m_sysNo << endl;
00085   G4cout << m_barend << endl;
00086   G4cout << m_ns << endl;
00087   G4cout << m_edep << endl;
00088   G4cout << m_tdep << endl;
00089   G4cout << m_pos << endl;
00090   G4cout << endl;
00091 }

void LCDG4VXDHit::SetBarEnd const G4int  barend  )  [inline]
 

Definition at line 33 of file LCDG4VXDHit.hh.

References m_barend.

00033 { m_barend = barend; }

void LCDG4VXDHit::SetEdep const G4double  de  )  [inline]
 

Definition at line 37 of file LCDG4VXDHit.hh.

References m_edep.

00037 { m_edep = de; }

void LCDG4VXDHit::SetLayer const G4int  layer  )  [inline]
 

Definition at line 29 of file LCDG4VXDHit.hh.

References m_layer.

00029 { m_layer = layer; }

void LCDG4VXDHit::SetNorthSouth const G4int  ns  )  [inline]
 

Definition at line 35 of file LCDG4VXDHit.hh.

References m_ns, and ns.

00035 { m_ns = ns; }

void LCDG4VXDHit::SetPos const G4ThreeVector &  xyz  )  [inline]
 

Definition at line 41 of file LCDG4VXDHit.hh.

References m_pos.

00041 { m_pos = xyz; }

void LCDG4VXDHit::SetSystem const G4int  sysNo  )  [inline]
 

Definition at line 31 of file LCDG4VXDHit.hh.

References m_sysNo.

00031 { m_sysNo = sysNo; }

void LCDG4VXDHit::SetTdep const G4double  dt  )  [inline]
 

Definition at line 39 of file LCDG4VXDHit.hh.

References m_tdep.

00039 { m_tdep = dt; }

void LCDG4VXDHit::SetTrackID const G4int  trkID  )  [inline]
 

Definition at line 27 of file LCDG4VXDHit.hh.

References m_trkID.

00027 { m_trkID = trkID; }


Member Data Documentation

G4int LCDG4VXDHit::m_barend [private]
 

Definition at line 49 of file LCDG4VXDHit.hh.

Referenced by GetBarEnd(), LCDG4VXDHit(), operator=(), Print(), and SetBarEnd().

G4double LCDG4VXDHit::m_edep [private]
 

Definition at line 51 of file LCDG4VXDHit.hh.

Referenced by GetEdep(), LCDG4VXDHit(), operator=(), Print(), and SetEdep().

G4int LCDG4VXDHit::m_layer [private]
 

Definition at line 47 of file LCDG4VXDHit.hh.

Referenced by GetLayer(), LCDG4VXDHit(), operator=(), Print(), and SetLayer().

G4int LCDG4VXDHit::m_ns [private]
 

Definition at line 50 of file LCDG4VXDHit.hh.

Referenced by GetNorthSouth(), LCDG4VXDHit(), operator=(), Print(), and SetNorthSouth().

G4ThreeVector LCDG4VXDHit::m_pos [private]
 

Definition at line 53 of file LCDG4VXDHit.hh.

Referenced by Draw(), GetPos(), LCDG4VXDHit(), operator=(), Print(), and SetPos().

G4int LCDG4VXDHit::m_sysNo [private]
 

Definition at line 48 of file LCDG4VXDHit.hh.

Referenced by GetSystem(), LCDG4VXDHit(), operator=(), Print(), and SetSystem().

G4double LCDG4VXDHit::m_tdep [private]
 

Definition at line 52 of file LCDG4VXDHit.hh.

Referenced by GetTdep(), LCDG4VXDHit(), operator=(), Print(), and SetTdep().

G4int LCDG4VXDHit::m_trkID [private]
 

Definition at line 46 of file LCDG4VXDHit.hh.

Referenced by GetTrackID(), LCDG4VXDHit(), operator=(), Print(), and SetTrackID().


The documentation for this class was generated from the following files:
Generated on Thu Oct 7 18:45:07 2004 for LCDG4 by doxygen 1.3.4