BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/TofSim/TofSim-00-02-28/TofSim/BesTofDigitizerV.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description:
5//Author: Dengzy
6//Created: Mar, 2004
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10// $Id: BesTofDigitizerV.hh
11
12#ifndef BesTofDigitizerV_h
13#define BesTofDigitizerV_h 1
14
15#include "BesTofDigi.hh"
16#include "BesTofHit.hh"
17#include "G4DigiManager.hh"
18#include "ScintSingle.hh"
19#include "TofCaliSvc/ITofCaliSvc.h"
20#include "TofSimSvc/ITofSimSvc.h"
21#include "TofQElecSvc/ITofQElecSvc.h"
22
23#include "GaudiKernel/NTuple.h"
24#include "G4Svc/IG4Svc.h"
25#include "G4Svc/G4Svc.h"
26
27class G4Svc;
28
30{
31 public:
34 void Initialize();
36
37 protected:
40
44
45 G4double m_ADC[2];
46 G4double m_TDC[2];
47 G4int m_trackIndex;
48 G4double m_globalTime;
49
50 static bool m_booked;
51
52 static NTuple::Tuple* m_tupleTof1;
53 static NTuple::Item<double> m_partId;
54 static NTuple::Item<double> m_scinNb;
55 static NTuple::Item<double> m_edep;
56 static NTuple::Item<double> m_nHits;
57 static NTuple::Item<double> m_time1st0;
58 static NTuple::Item<double> m_time1st1;
59 static NTuple::Item<double> m_timelast0;
60 static NTuple::Item<double> m_timelast1;
61 static NTuple::Item<double> m_totalPhot0;
62 static NTuple::Item<double> m_totalPhot1;
63 static NTuple::Item<double> m_NphAllSteps;
64 static NTuple::Item<double> m_max0;
65 static NTuple::Item<double> m_max1;
66 static NTuple::Item<double> m_tdc0;
67 static NTuple::Item<double> m_adc0;
68 static NTuple::Item<double> m_tdc1;
69 static NTuple::Item<double> m_adc1;
70
71 static NTuple::Tuple* m_tupleTof2;
72 static NTuple::Item<double> m_eTotal;
73 static NTuple::Item<double> m_nDigi;
74 static NTuple::Item<double> m_partIdMPV;
75 static NTuple::Item<double> m_scinNbMPV;
76 static NTuple::Item<double> m_edepMPV;
77 static NTuple::Item<double> m_nDigiOut;
78
79 static NTuple::Tuple* m_tupleTof3;
80 static NTuple::Item<double> m_forb;
81 static NTuple::Item<double> m_timeFlight;
82 static NTuple::Item<double> m_ddT;
83 static NTuple::Item<double> m_scinSwim;
84 static NTuple::Item<double> m_scinTime;
85 static NTuple::Item<double> m_transitTime;
86 static NTuple::Item<double> m_endTime;
87
88 static NTuple::Item<double> m_edepHit;
89
90
91 //static NTuple::Tuple* m_tupleTof4;//Write out the basic information for the Mrpc Digitizer
92 //static NTuple::Item<double> m_partIdmrpc;
93 //static NTuple::Item<double> m_stripidentifier;
94 //static NTuple::Item<double> m_trackindex;
95 //static NTuple::Item<double> m_signal_pc;
96 //static NTuple::Item<double> m_time_threshold;
97 //static NTuple::Item<double> m_time_1sthit;
98 //static NTuple::Item<double> m_time_1;
99 //static NTuple::Item<double> m_time_2;
100 //static NTuple::Item<double> m_firedstrip;
101 //static NTuple::Item<double> m_numberions;
102
103 private:
104 G4Svc* m_G4Svc;
105
106
107};
108#endif
109
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
G4THitsCollection< BesTofHit > BesTofHitsCollection
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)