BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EmcSim/EmcSim/BesEmcSD.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oreiented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Descpirtion: EMC detector
5//Author: Fu Chengdong
6//Created: Sep 4, 2003
7//Comment:
8//---------------------------------------------------------------------------//
9//
10#ifndef BesEmcSD_h
11#define BesEmcSD_h 1
12
13#include "BesSensitiveDetector.hh"
14#include "BesEmcHit.hh"
15#include "globals.hh"
16#include <vector>
17using namespace std;
18
20class BesEmcGeometry;
22class G4HCofThisEvent;
23class G4Step;
24
25//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
26
28{
29 public:
30
32 ~BesEmcSD();
33
34 void Initialize(G4HCofThisEvent*);
35 G4bool ProcessHits(G4Step*,G4TouchableHistory*);
36 void EndOfEvent(G4HCofThisEvent*);
37 void clear();
38 void DrawAll();
39 void PrintAll();
40 void BeginOfTruthEvent(const G4Event*);
41 void EndOfTruthEvent(const G4Event*);
42 void ComputeThetaPhi(G4int,G4int,G4int);
43 G4int EndPhiNumberForGDML(G4int);
44 G4int ComputeEndCopyNb(G4int);
45
46 private:
47
48 BesEmcHitsCollection* CalCollection;
49 BesEmcTruthHitsCollection* CalTruthList;
50 BesEmcHitsCollection* CalList;
51 BesEmcConstruction* Detector;
52 BesEmcGeometry* fBesEmcGeometry;
53 G4int* HitID;
54 G4int nHit;
55 G4int m_trackIndex;
56 G4int PartId;
57 G4int CryNumberTheta;
58 G4int CryNumberPhi;
59};
60
61#endif
G4THitsCollection< BesEmcTruthHit > BesEmcTruthHitsCollection
G4THitsCollection< BesEmcHit > BesEmcHitsCollection
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: BesEmcSD.cc:85
void BeginOfTruthEvent(const G4Event *)
Definition: BesEmcSD.cc:61
void clear()
Definition: BesEmcSD.cc:480
G4int ComputeEndCopyNb(G4int)
Definition: BesEmcSD.cc:442
void EndOfEvent(G4HCofThisEvent *)
Definition: BesEmcSD.cc:470
void PrintAll()
Definition: BesEmcSD.cc:490
void ComputeThetaPhi(G4int, G4int, G4int)
Definition: BesEmcSD.cc:309
G4int EndPhiNumberForGDML(G4int)
Definition: BesEmcSD.cc:425
void Initialize(G4HCofThisEvent *)
Definition: BesEmcSD.cc:50
~BesEmcSD()
Definition: BesEmcSD.cc:43
void DrawAll()
Definition: BesEmcSD.cc:485
void EndOfTruthEvent(const G4Event *)
Definition: BesEmcSD.cc:70