BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/TofSim/include/TofSim/BesTofDigitizerEcV2.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4// Description:
5// Author: Dengzy
6// Created: Oct, 2004
7// Modified:
8// Comment:
9//---------------------------------------------------------------------------//
10// $Id: BesTofDigitizerEcV2.hh
11
12#ifndef BesTofDigitizerEcV2_h
13#define BesTofDigitizerEcV2_h 1
14
15#include "GaudiKernel/NTuple.h"
16
17#include "BesTofDigi.hh"
18#include "BesTofDigitizerV.hh"
19#include "G4ThreeVector.hh"
20#include "ScintSingle.hh"
21#include "globals.hh"
22#include <vector>
23using namespace std;
24
25class BesTofHit;
26class BesRunAction;
27class G4Svc;
28
29const G4int m_profBinNEcV2 = 8000;
30const G4int m_snpeBinNEcV2 = 2000;
31
33public:
36
38 void ReadData();
39 void TofPmtInit();
41 void DirectPh( G4int, G4ThreeVector, G4double&, G4int& );
42 G4double Scintillation( G4int );
43 // G4double GenPhoton(G4int);
44 G4double TransitTime();
45 void AccuSignal( G4double, G4int );
46 void TofPmtRspns( G4int );
47
48private:
49 G4double m_ecR1;
50
51 G4double m_tau1Ec;
52 G4double m_tau2Ec;
53 G4double m_tau3Ec;
54 G4double m_tauRatioEc;
55 G4double m_refIndexEc;
56 G4double m_phNConstEc;
57 G4double m_Cpe2pmtEc;
58 G4double m_rAngleEc;
59 G4double m_QEEc;
60 G4double m_CEEc;
61 G4double m_peCorFacEc;
62 G4double m_attenEc;
63
64 G4double m_ttsMeanEc;
65 G4double m_ttsSigmaEc;
66 G4double m_PMTgainEc;
67 G4double m_CeEc;
68 G4double m_riseTimeEc;
69 G4double m_LLthreshEc;
70 G4double m_HLthreshEc;
71 G4double m_preGainEc;
72 G4double m_noiseSigmaEc;
73
74 G4double m_t1st[2];
75 G4double m_tLast[2];
76 G4double m_timeBinSize;
77 G4int m_totalPhot[2];
78 G4int m_nPhot[m_profBinNEcV2][2];
79
80 // G4Svc* m_G4Svc;
81 IG4Svc* m_G4Svc;
82 G4double m_beamTime;
83};
84
85#endif
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
G4double TransitTime()
void AccuSignal(G4double, G4int)
G4double Scintillation(G4int)
void DirectPh(G4int, G4ThreeVector, G4double &, G4int &)
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)
void TofPmtAccum(BesTofHit *)
void TofPmtRspns(G4int)
Definition G4Svc.h:31