BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigitizerEcV3.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description:
5//Author: liuy
6//Created: Oct, 2008
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10// $Id: BesTofDigitizerEcV3.hh
11
12#ifndef BesTofDigitizerEcV3_h
13#define BesTofDigitizerEcV3_h 1
14
15#include "GaudiKernel/NTuple.h"
16
17#include "BesTofDigitizerV.hh"
18#include "BesTofDigi.hh"
19#include "ScintSingle.hh"
20#include "globals.hh"
21#include "G4ThreeVector.hh"
22#include <vector>
23#include "RealizationSvc/RealizationSvc.h"
24#include "RealizationSvc/IRealizationSvc.h"
25
26using namespace std;
27
28class BesTofHit;
29class BesRunAction;
30class G4Svc;
31
32const G4int m_profBinNEcV3 = 30000;
33const G4int m_snpeBinNEcV3 = 3000;
34
35const int num1 = 400; // bin number in histogram
36const int nR = 43; // r bin number in geometry
37const int nPhi = 6; // phi bin number
38const int nZ = 6; // z bin number
39
41{
42 public:
45
47 void ReadData();
49 void TofPmtInit();
51 void DirectPh(G4int, G4int, G4int, G4double&);
52 G4double Scintillation(G4int);
53 G4double TransitTime();
54 void AccuSignal(G4double, G4int);
55// void TofPmtRspns(G4int);
56 void TofPmtRspns(G4int, G4int);
57 G4double BirksLaw(BesTofHit* hit);
58
59 private:
60
61 G4double m_ecR1;
62
63 G4double m_tau1Ec;
64 G4double m_tau2Ec;
65 G4double m_tau3Ec;
66 G4double m_tauRatioEc;
67 G4double m_refIndexEc;
68 G4double m_phNConstEc;
69 G4double m_Cpe2pmtEc;
70 G4double m_rAngleEc;
71 G4double m_QEEc;
72 G4double m_CEEc;
73 G4double m_peCorFacEc;
74 G4double m_attenEc;
75
76 G4double m_ttsMeanEc;
77 G4double m_ttsSigmaEc;
78 G4double m_PMTgainEc;
79 G4double m_CeEc;
80 G4double m_riseTimeEc;
81 G4double m_LLthreshEc;
82 G4double m_HLthreshEc;
83 G4double m_preGainEc;
84 G4double m_noiseSigmaEc;
85
86 G4double m_t1st[2];
87 G4double m_tLast[2];
88 G4double m_timeBinSize;
89 G4int m_totalPhot[2];
90 G4int m_nPhot[m_profBinNEcV3][2];
91
92 G4Svc* m_G4Svc;
93 G4double m_beamTime;
94 RealizationSvc* m_RealizationSvc;
95
96 float propTime[50][10][10][num1],prob[50][10][10][num1],eff[50][10][10];
97
98};
99
100#endif
101
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
void DirectPh(G4int, G4int, G4int, G4double &)
G4double Scintillation(G4int)
G4double TransitTime()
void AccuSignal(G4double, G4int)
void TofPmtRspns(G4int, G4int)
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)
void TofPmtAccum(BesTofHit *)
G4double BirksLaw(BesTofHit *hit)