CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMucDigit.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description: Digitization of Muc Hits
5//Author: Youzy Peking University mail: [email protected]
6//Created: Dec, 2003
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10
11//
12// $Id: BesMucDigit.hh,v 1.2 2006/11/06 06:32:56 liangyt Exp $
13// GEANT4 tag $Name: MucSim-00-01-03 $
14
15#ifndef BesMucDigit_h
16#define BesMucDigit_h 1
17
18#include "BesMucHit.hh"
19#include "G4ThreeVector.hh"
20#include "G4VPhysicalVolume.hh"
21#include "G4LogicalVolume.hh"
22
24{
25public:
28 //BesMucDigit(const BesMucDigit&);
29 //const BesMucDigit$ operator=(const BesMucDigit&);
30 //int operator==(const BesMucDigit&) const;
31
32 //inline void* operator new(size_t);
33 //inline void operator delete(void*);
34
35 void SetHit(BesMucHit* hit);
36
37 G4int GetTrackIndex() { return m_pHit->GetTrackIndex(); }
38 G4int GetPart() { return m_pHit->GetPart(); }
39 G4int GetSeg() { return m_pHit->GetSeg(); }
40 G4int GetGap() { return m_pHit->GetGap(); }
41
42 G4VPhysicalVolume* GetNearestStrip();
43 G4int GetNearestStripNo();
44 G4VPhysicalVolume* GetStrip(G4int i);
45 G4float GetStripPos(G4VPhysicalVolume* pvStrip);
46 G4int IsNearest(G4int i);
47
48private:
49 BesMucHit* m_pHit;
50 G4float m_Pos;
51 G4float m_Pos2; //for barrel segment 2
52 G4LogicalVolume* m_lvGap;
53 G4String m_lvGapName;
54 G4VPhysicalVolume* m_pvStripDigit;
55};
56
57#endif
G4int GetGap()
Definition: BesMucDigit.hh:40
G4int GetPart()
Definition: BesMucDigit.hh:38
G4VPhysicalVolume * GetStrip(G4int i)
Definition: BesMucDigit.cc:106
G4float GetStripPos(G4VPhysicalVolume *pvStrip)
Definition: BesMucDigit.cc:129
G4int GetTrackIndex()
Definition: BesMucDigit.hh:37
G4int GetNearestStripNo()
Definition: BesMucDigit.cc:63
G4VPhysicalVolume * GetNearestStrip()
Definition: BesMucDigit.cc:53
G4int GetSeg()
Definition: BesMucDigit.hh:39
G4int IsNearest(G4int i)
Definition: BesMucDigit.cc:158
void SetHit(BesMucHit *hit)
Definition: BesMucDigit.cc:29
G4int GetTrackIndex()
Definition: BesMucHit.hh:63
G4int GetSeg()
Definition: BesMucHit.hh:75
G4int GetPart()
Definition: BesMucHit.hh:74
G4int GetGap()
Definition: BesMucHit.hh:76