BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/EmcSim/EmcSim-00-00-46/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
27class BesEmcSD : public BesSensitiveDetector
28{
29 public:
30
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 *)
void BeginOfTruthEvent(const G4Event *)
void clear()
G4int ComputeEndCopyNb(G4int)
void EndOfEvent(G4HCofThisEvent *)
void PrintAll()
void ComputeThetaPhi(G4int, G4int, G4int)
G4int EndPhiNumberForGDML(G4int)
void Initialize(G4HCofThisEvent *)
BesEmcSD(G4String, BesEmcConstruction *, BesEmcGeometry *)
void DrawAll()
void EndOfTruthEvent(const G4Event *)