BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/MucSim/include/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: youzy@hep.pku.cn
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 "G4LogicalVolume.hh"
20#include "G4ThreeVector.hh"
21#include "G4VPhysicalVolume.hh"
22
23class BesMucDigit {
24public:
27 // BesMucDigit(const BesMucDigit&);
28 // const BesMucDigit$ operator=(const BesMucDigit&);
29 // int operator==(const BesMucDigit&) const;
30
31 // inline void* operator new(size_t);
32 // inline void operator delete(void*);
33
34 void SetHit( BesMucHit* hit );
35
36 G4int GetTrackIndex() { return m_pHit->GetTrackIndex(); }
37 G4int GetPart() { return m_pHit->GetPart(); }
38 G4int GetSeg() { return m_pHit->GetSeg(); }
39 G4int GetGap() { return m_pHit->GetGap(); }
40
41 G4VPhysicalVolume* GetNearestStrip();
43 G4VPhysicalVolume* GetStrip( G4int i );
44 G4float GetStripPos( G4VPhysicalVolume* pvStrip );
45 G4int IsNearest( G4int i );
46
47private:
48 BesMucHit* m_pHit;
49 G4float m_Pos;
50 G4float m_Pos2; // for barrel segment 2
51 G4LogicalVolume* m_lvGap;
52 G4String m_lvGapName;
53 G4VPhysicalVolume* m_pvStripDigit;
54};
55
56#endif
G4VPhysicalVolume * GetStrip(G4int i)
G4float GetStripPos(G4VPhysicalVolume *pvStrip)
G4int GetNearestStripNo()
G4VPhysicalVolume * GetNearestStrip()
G4int IsNearest(G4int i)
void SetHit(BesMucHit *hit)