CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
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
15
class
G4Event;
16
class
BesEmcDigitization
17
{
18
public
:
19
BesEmcDigitization
();
20
~BesEmcDigitization
();
21
22
public
:
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
32
private
:
//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
BesEmcDigitization
Definition
BesEmcDigitization.hh:17
BesEmcDigitization::~BesEmcDigitization
~BesEmcDigitization()
Definition
BesEmcDigitization.cc:33
BesEmcDigitization::GetNPhiSignal
G4int * GetNPhiSignal()
Definition
BesEmcDigitization.hh:29
BesEmcDigitization::GetNThetaSignal
G4int * GetNThetaSignal()
Definition
BesEmcDigitization.hh:28
BesEmcDigitization::BesEmcDigitization
BesEmcDigitization()
Definition
BesEmcDigitization.cc:21
BesEmcDigitization::GetESignal
G4double * GetESignal()
Definition
BesEmcDigitization.hh:27
BesEmcDigitization::GetEmcSignal
G4double GetEmcSignal(G4int, G4int)
Definition
BesEmcDigitization.cc:109
BesEmcDigitization::Print
void Print()
Definition
BesEmcDigitization.cc:117
BesEmcDigitization::GetNSignal
G4int GetNSignal()
Definition
BesEmcDigitization.hh:25
BesEmcDigitization::Digitize
G4bool Digitize(const G4Event *, G4double)
Definition
BesEmcDigitization.cc:40
6.6.5.i
Simulation
BOOST
EmcSim
EmcSim-00-00-43
EmcSim
BesEmcDigitization.hh
Generated by
1.12.0