BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
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 "BesTofDigitizerV.hh"
18#include "BesTofDigi.hh"
19#include "ScintSingle.hh"
20#include "globals.hh"
21#include "G4ThreeVector.hh"
22#include <vector>
23using namespace std;
24
25class BesTofHit;
26class BesRunAction;
27class G4Svc;
28
29
30const G4int m_profBinNEcV2 = 8000;
31const G4int m_snpeBinNEcV2 = 2000;
32
34{
35 public:
38
40 void ReadData();
41 void TofPmtInit();
42 void TofPmtAccum(BesTofHit* );
43 void DirectPh(G4int, G4ThreeVector, G4double &, G4int&);
44 G4double Scintillation(G4int);
45 //G4double GenPhoton(G4int);
46 G4double TransitTime();
47 void AccuSignal(G4double, G4int);
48 void TofPmtRspns(G4int);
49
50 private:
51
52 G4double m_ecR1;
53
54 G4double m_tau1Ec;
55 G4double m_tau2Ec;
56 G4double m_tau3Ec;
57 G4double m_tauRatioEc;
58 G4double m_refIndexEc;
59 G4double m_phNConstEc;
60 G4double m_Cpe2pmtEc;
61 G4double m_rAngleEc;
62 G4double m_QEEc;
63 G4double m_CEEc;
64 G4double m_peCorFacEc;
65 G4double m_attenEc;
66
67 G4double m_ttsMeanEc;
68 G4double m_ttsSigmaEc;
69 G4double m_PMTgainEc;
70 G4double m_CeEc;
71 G4double m_riseTimeEc;
72 G4double m_LLthreshEc;
73 G4double m_HLthreshEc;
74 G4double m_preGainEc;
75 G4double m_noiseSigmaEc;
76
77 G4double m_t1st[2];
78 G4double m_tLast[2];
79 G4double m_timeBinSize;
80 G4int m_totalPhot[2];
81 G4int m_nPhot[m_profBinNEcV2][2];
82
83 G4Svc* m_G4Svc;
84 G4double m_beamTime;
85
86
87
88};
89
90#endif
91
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
Definition: BesTofDigi.hh:79
const G4int m_profBinNEcV2
const G4int m_snpeBinNEcV2
void AccuSignal(G4double, G4int)
G4double Scintillation(G4int)
void DirectPh(G4int, G4ThreeVector, G4double &, G4int &)
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)
void TofPmtAccum(BesTofHit *)
Definition: G4Svc.h:32