BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/TofSim/include/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 "BesTofDigi.hh"
18#include "BesTofDigitizerV.hh"
19#include "G4ThreeVector.hh"
20#include "RealizationSvc/IRealizationSvc.h"
21#include "ScintSingle.hh"
22#include "globals.hh"
23#include <vector>
24
25using namespace std;
26
27class BesTofHit;
28class BesRunAction;
29class G4Svc;
30
31const G4int m_profBinNEcV3 = 30000;
32const G4int m_snpeBinNEcV3 = 3000;
33
34const int num1 = 400; // bin number in histogram
35const int nR = 43; // r bin number in geometry
36const int nPhi = 6; // phi bin number
37const int nZ = 6; // z bin number
38
40public:
43
45 void ReadData();
47 void TofPmtInit();
49 void DirectPh( G4int, G4int, G4int, G4double& );
50 G4double Scintillation( G4int );
51 G4double TransitTime();
52 void AccuSignal( G4double, G4int );
53 // void TofPmtRspns(G4int);
54 void TofPmtRspns( G4int, G4int );
55 G4double BirksLaw( BesTofHit* hit );
56
57private:
58 G4double m_ecR1;
59
60 G4double m_tau1Ec;
61 G4double m_tau2Ec;
62 G4double m_tau3Ec;
63 G4double m_tauRatioEc;
64 G4double m_refIndexEc;
65 G4double m_phNConstEc;
66 G4double m_Cpe2pmtEc;
67 G4double m_rAngleEc;
68 G4double m_QEEc;
69 G4double m_CEEc;
70 G4double m_peCorFacEc;
71 G4double m_attenEc;
72
73 G4double m_ttsMeanEc;
74 G4double m_ttsSigmaEc;
75 G4double m_PMTgainEc;
76 G4double m_CeEc;
77 G4double m_riseTimeEc;
78 G4double m_LLthreshEc;
79 G4double m_HLthreshEc;
80 G4double m_preGainEc;
81 G4double m_noiseSigmaEc;
82
83 G4double m_t1st[2];
84 G4double m_tLast[2];
85 G4double m_timeBinSize;
86 G4int m_totalPhot[2];
87 G4int m_nPhot[m_profBinNEcV3][2];
88
89 // G4Svc* m_G4Svc;
90 IG4Svc* m_G4Svc;
91 G4double m_beamTime;
92 IRealizationSvc* m_RealizationSvc;
93
94 float propTime[50][10][10][num1], prob[50][10][10][num1], eff[50][10][10];
95};
96
97#endif
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)
Definition G4Svc.h:31