BOSS
7.1.2
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-04 $
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
BesMucDigit.hh:24
BesMucDigit::GetGap
G4int GetGap()
Definition
BesMucDigit.hh:40
BesMucDigit::~BesMucDigit
~BesMucDigit()
Definition
BesMucDigit.cc:25
BesMucDigit::GetPart
G4int GetPart()
Definition
BesMucDigit.hh:38
BesMucDigit::GetStrip
G4VPhysicalVolume * GetStrip(G4int i)
Definition
BesMucDigit.cc:106
BesMucDigit::GetStripPos
G4float GetStripPos(G4VPhysicalVolume *pvStrip)
Definition
BesMucDigit.cc:129
BesMucDigit::GetTrackIndex
G4int GetTrackIndex()
Definition
BesMucDigit.hh:37
BesMucDigit::GetNearestStripNo
G4int GetNearestStripNo()
Definition
BesMucDigit.cc:63
BesMucDigit::GetNearestStrip
G4VPhysicalVolume * GetNearestStrip()
Definition
BesMucDigit.cc:53
BesMucDigit::GetSeg
G4int GetSeg()
Definition
BesMucDigit.hh:39
BesMucDigit::IsNearest
G4int IsNearest(G4int i)
Definition
BesMucDigit.cc:158
BesMucDigit::SetHit
void SetHit(BesMucHit *hit)
Definition
BesMucDigit.cc:29
BesMucDigit::BesMucDigit
BesMucDigit()
Definition
BesMucDigit.cc:21
BesMucHit
Definition
BesMucHit.hh:27
BesMucHit::GetTrackIndex
G4int GetTrackIndex()
Definition
BesMucHit.hh:63
BesMucHit::GetSeg
G4int GetSeg()
Definition
BesMucHit.hh:75
BesMucHit::GetPart
G4int GetPart()
Definition
BesMucHit.hh:74
BesMucHit::GetGap
G4int GetGap()
Definition
BesMucHit.hh:76
7.1.2
Simulation
BOOST
MucSim
MucSim-00-01-04
MucSim
BesMucDigit.hh
Generated by
1.12.0