BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/EmcSim/include/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;
17public:
20
21public:
22 G4bool Digitize( const G4Event*, G4double );
23 G4double GetEmcSignal( G4int, G4int );
24 G4int GetNSignal() {
25 return fNCrystalSignal;
26 }; // amount of crystals
27 // which has signal
28 G4double* GetESignal() { return fEnergySignal; };
29 G4int* GetNThetaSignal() { return fNThetaSignal; };
30 G4int* GetNPhiSignal() { return fNPhiSignal; };
31 void Print();
32
33private: // memory size needed optimizing
34 G4int calorimeterCollID;
35 G4int fNHits;
36 G4double fTotECrystal;
37 G4double fTotLCrystal;
38 G4double fSingleECrystal[50][150];
39 G4int fNCrystalSignal;
40 G4double* fEnergySignal;
41 G4int* fNThetaSignal;
42 G4int* fNPhiSignal;
43};
44#endif
G4double GetEmcSignal(G4int, G4int)
G4bool Digitize(const G4Event *, G4double)