CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMucDigitizer.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description:
5//Author: Youzy
6//Created: Mar, 2004
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10// $Id: BesMucDigitizer.hh
11
12#ifndef BesMucDigitizer_h
13#define BesMucDigitizer_h 1
14
15#include "GaudiKernel/NTuple.h"
16
17#include "G4VDigitizerModule.hh"
18#include "BesMucDigi.hh"
19#include "globals.hh"
20
21class G4Svc;
22
23class BesMucDigitizer : public G4VDigitizerModule
24{
25public:
26 BesMucDigitizer(G4String modName);
28
29 //necessary digi collection object must be constructed and set to
30 //G4DCofThisEvent by StoreDigiCollection protected method.
31 virtual void Digitize();
32
33private:
34 void Initialize();
35 void NewDigi(G4int trackIndex, G4int part, G4int seg, G4int layer, G4int strip);
36 void OldDigi();
37 void Smear();
38
39private:
40 BesMucDigisCollection* m_besMucDigisCollection;
41
42 static const G4int m_nPartMax = 3;
43 static const G4int m_nSegMax = 8;
44 static const G4int m_nGapMax = 9;
45 static const G4int m_nStripMax = 112;
46 G4int m_stripID[m_nPartMax][m_nSegMax][m_nGapMax][m_nStripMax];
47
48 G4Svc* m_G4Svc;
49
50 NTuple::Tuple* m_tupleMuc;
51 NTuple::Item<double> m_part;
52 NTuple::Item<double> m_seg;
53 NTuple::Item<double> m_gap;
54 NTuple::Item<double> m_strip;
55
56};
57
58
59#endif
60
G4TDigiCollection< BesMucDigi > BesMucDigisCollection
Definition: BesMucDigi.hh:56
virtual void Digitize()
Definition: G4Svc.h:32