BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/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
23
class
BesMucDigit
24
{
25
public
:
26
BesMucDigit
();
27
~BesMucDigit
();
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
48
private
:
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
BesMucHit.hh
BesMucDigit
Definition:
InstallArea/include/MucSim/MucSim/BesMucDigit.hh:24
BesMucDigit::GetGap
G4int GetGap()
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucDigit.hh:40
BesMucDigit::~BesMucDigit
~BesMucDigit()
BesMucDigit::GetPart
G4int GetPart()
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucDigit.hh:38
BesMucDigit::GetStrip
G4VPhysicalVolume * GetStrip(G4int i)
BesMucDigit::GetStripPos
G4float GetStripPos(G4VPhysicalVolume *pvStrip)
BesMucDigit::GetTrackIndex
G4int GetTrackIndex()
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucDigit.hh:37
BesMucDigit::GetNearestStripNo
G4int GetNearestStripNo()
BesMucDigit::GetNearestStrip
G4VPhysicalVolume * GetNearestStrip()
BesMucDigit::GetSeg
G4int GetSeg()
Definition:
Simulation/BOOST/MucSim/MucSim-00-01-03/MucSim/BesMucDigit.hh:39
BesMucDigit::IsNearest
G4int IsNearest(G4int i)
BesMucDigit::SetHit
void SetHit(BesMucHit *hit)
BesMucDigit::BesMucDigit
BesMucDigit()
BesMucHit
Definition:
InstallArea/include/MucSim/MucSim/BesMucHit.hh:27
BesMucHit::GetTrackIndex
G4int GetTrackIndex()
Definition:
InstallArea/include/MucSim/MucSim/BesMucHit.hh:63
BesMucHit::GetSeg
G4int GetSeg()
Definition:
InstallArea/include/MucSim/MucSim/BesMucHit.hh:75
BesMucHit::GetPart
G4int GetPart()
Definition:
InstallArea/include/MucSim/MucSim/BesMucHit.hh:74
BesMucHit::GetGap
G4int GetGap()
Definition:
InstallArea/include/MucSim/MucSim/BesMucHit.hh:76
source
Simulation
BOOST
MucSim
MucSim-00-01-03
MucSim
BesMucDigit.hh
Generated by
1.9.6