#include <LCDG4TrackerHit.hh>
Inheritance diagram for LCDG4TrackerHit:
Public Member Functions | |
| LCDG4TrackerHit () | |
| ~LCDG4TrackerHit () | |
| LCDG4TrackerHit (const LCDG4TrackerHit &right) | |
| const LCDG4TrackerHit & | operator= (const LCDG4TrackerHit &right) |
| bool | operator== (const LCDG4TrackerHit &right) const |
| void * | operator new (size_t) |
| void | operator delete (void *aHit) |
| void | Draw () |
| void | Print () |
| void | SetTrackID (const G4int trkID) |
| G4int | GetTrackID () const |
| void | SetLayer (const G4int layer) |
| G4int | GetLayer () const |
| void | SetSystem (const G4int sysNo) |
| G4int | GetSystem () const |
| void | SetBarEnd (const G4int barend) |
| G4int | GetBarEnd () const |
| void | SetNorthSouth (const G4int ns) |
| G4int | GetNorthSouth () const |
| void | SetEdep (const G4double de) |
| G4double | GetEdep () const |
| void | SetTdep (const G4double dt) |
| G4double | GetTdep () const |
| void | SetPos (const G4ThreeVector &xyz) |
| const G4ThreeVector & | GetPos () const |
| 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 |
|
|
Definition at line 13 of file LCDG4TrackerHit.cc.
00013 : G4VHit() { 00014 } |
|
|
Definition at line 19 of file LCDG4TrackerHit.cc.
00019 {
00020 }
|
|
|
Definition at line 25 of file LCDG4TrackerHit.cc. References m_barend, m_edep, m_layer, m_ns, m_pos, m_sysNo, m_tdep, and m_trkID.
|
|
||||||||||||
|
|
|
|
Definition at line 62 of file LCDG4TrackerHit.cc. References m_pos.
00062 {
00063 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
00064 if(pVVisManager) {
00065 G4Circle circle(m_pos);
00066 circle.SetScreenSize(0.04);
00067 circle.SetFillStyle(G4Circle::filled);
00068 G4Colour colour(1.,0.,0.);
00069 G4VisAttributes attribs(colour);
00070 circle.SetVisAttributes(attribs);
00071 pVVisManager->Draw(circle);
00072 }
00073 }
|
|
|
Definition at line 32 of file LCDG4TrackerHit.hh. References m_barend. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00032 { return m_barend; }
|
|
|
Definition at line 36 of file LCDG4TrackerHit.hh. References m_edep. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00036 { return m_edep; }
|
|
|
Definition at line 28 of file LCDG4TrackerHit.hh. References m_layer. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00028 { return m_layer; }
|
|
|
Definition at line 34 of file LCDG4TrackerHit.hh. References m_ns. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00034 { return m_ns; }
|
|
|
Definition at line 40 of file LCDG4TrackerHit.hh. References m_pos. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00040 { return m_pos; }
|
|
|
Definition at line 30 of file LCDG4TrackerHit.hh. References m_sysNo. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00030 { return m_sysNo; }
|
|
|
Definition at line 38 of file LCDG4TrackerHit.hh. References m_tdep. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00038 { return m_tdep; }
|
|
|
Definition at line 26 of file LCDG4TrackerHit.hh. References m_trkID. Referenced by LCDG4EventAction::EndOfEventAction(), and LCDG4LcioHelper::getTrkHitLcio().
00026 { return m_trkID; }
|
|
|
Definition at line 66 of file LCDG4TrackerHit.hh. References LCDG4TrackerHitAllocator.
00066 {
00067 LCDG4TrackerHitAllocator.FreeSingle((LCDG4TrackerHit*) aHit);
00068 }
|
|
|
Definition at line 60 of file LCDG4TrackerHit.hh. References LCDG4TrackerHitAllocator.
00060 {
00061 void *aHit;
00062 aHit = (void *) LCDG4TrackerHitAllocator.MallocSingle();
00063 return aHit;
00064 }
|
|
|
Definition at line 39 of file LCDG4TrackerHit.cc. References m_barend, m_edep, m_layer, m_ns, m_pos, m_sysNo, m_tdep, and m_trkID.
|
|
|
Definition at line 54 of file LCDG4TrackerHit.cc.
00054 {
00055 if(&right) ; // make compiler happy
00056 return false;
00057 }
|
|
|
Definition at line 78 of file LCDG4TrackerHit.cc. References m_barend, m_edep, m_layer, m_ns, m_pos, m_sysNo, m_tdep, and m_trkID.
00078 {
00079 G4cout << m_trkID << G4endl;
00080 G4cout << m_layer << G4endl;
00081 G4cout << m_sysNo << G4endl;
00082 G4cout << m_barend << G4endl;
00083 G4cout << m_ns << G4endl;
00084 G4cout << m_edep << G4endl;
00085 G4cout << m_tdep << G4endl;
00086 G4cout << m_pos << G4endl;
00087 G4cout << G4endl;
00088 }
|
|
|
Definition at line 31 of file LCDG4TrackerHit.hh. References m_barend. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00031 { m_barend = barend; }
|
|
|
Definition at line 35 of file LCDG4TrackerHit.hh. References m_edep. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00035 { m_edep = de; }
|
|
|
Definition at line 27 of file LCDG4TrackerHit.hh. References m_layer. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00027 { m_layer = layer; }
|
|
|
Definition at line 33 of file LCDG4TrackerHit.hh. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
|
|
|
Definition at line 39 of file LCDG4TrackerHit.hh. References m_pos. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00039 { m_pos = xyz; }
|
|
|
Definition at line 29 of file LCDG4TrackerHit.hh. References m_sysNo. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00029 { m_sysNo = sysNo; }
|
|
|
Definition at line 37 of file LCDG4TrackerHit.hh. References m_tdep. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00037 { m_tdep = dt; }
|
|
|
Definition at line 25 of file LCDG4TrackerHit.hh. References m_trkID. Referenced by LCDG4VXDSD::ProcessHits(), and LCDG4TrackerSD::ProcessHits().
00025 { m_trkID = trkID; }
|
|
|
Definition at line 48 of file LCDG4TrackerHit.hh. Referenced by GetBarEnd(), LCDG4TrackerHit(), operator=(), Print(), and SetBarEnd(). |
|
|
Definition at line 50 of file LCDG4TrackerHit.hh. Referenced by GetEdep(), LCDG4TrackerHit(), operator=(), Print(), and SetEdep(). |
|
|
Definition at line 46 of file LCDG4TrackerHit.hh. Referenced by GetLayer(), LCDG4TrackerHit(), operator=(), Print(), and SetLayer(). |
|
|
Definition at line 49 of file LCDG4TrackerHit.hh. Referenced by GetNorthSouth(), LCDG4TrackerHit(), operator=(), Print(), and SetNorthSouth(). |
|
|
Definition at line 52 of file LCDG4TrackerHit.hh. Referenced by Draw(), GetPos(), LCDG4TrackerHit(), operator=(), Print(), and SetPos(). |
|
|
Definition at line 47 of file LCDG4TrackerHit.hh. Referenced by GetSystem(), LCDG4TrackerHit(), operator=(), Print(), and SetSystem(). |
|
|
Definition at line 51 of file LCDG4TrackerHit.hh. Referenced by GetTdep(), LCDG4TrackerHit(), operator=(), Print(), and SetTdep(). |
|
|
Definition at line 45 of file LCDG4TrackerHit.hh. Referenced by GetTrackID(), LCDG4TrackerHit(), operator=(), Print(), and SetTrackID(). |
1.3.4