CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcDigitization.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: Dec 15, 2003
7//Comment:
8//---------------------------------------------------------------------------//
9//
10#ifndef BesEmcDigitization_h
11#define BesEmcDigitization_h 1
12
13#include "globals.hh"
14
15class G4Event;
17{
18public:
21
22public:
23 G4bool Digitize(const G4Event*, G4double);
24 G4double GetEmcSignal(G4int, G4int);
25 G4int GetNSignal(){return fNCrystalSignal;};//amount of crystals
26 // which has signal
27 G4double* GetESignal(){return fEnergySignal;};
28 G4int* GetNThetaSignal(){return fNThetaSignal;};
29 G4int* GetNPhiSignal(){return fNPhiSignal;};
30 void Print();
31
32private: //memory size needed optimizing
33 G4int calorimeterCollID;
34 G4int fNHits;
35 G4double fTotECrystal;
36 G4double fTotLCrystal;
37 G4double fSingleECrystal[50][150];
38 G4int fNCrystalSignal;
39 G4double *fEnergySignal;
40 G4int *fNThetaSignal;
41 G4int *fNPhiSignal;
42
43};
44#endif
G4double GetEmcSignal(G4int, G4int)
G4bool Digitize(const G4Event *, G4double)