BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTofSD.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: BesTofSD.hh
11
12
13#ifndef BesTofSD_h
14#define BesTofSD_h 1
15
17#include "BesTofHit.hh"
18#include <vector>
19using namespace std;
20
22class G4Step;
23class G4HCofThisEvent;
24class G4Event;
25class G4ElectronIonPair;
26
27
29{
30 public:
31 BesTofSD(G4String name);
32 virtual ~BesTofSD();
33
34 virtual void Initialize(G4HCofThisEvent* HCE);
35 virtual G4bool ProcessHits(G4Step* aStep,G4TouchableHistory*);
36 virtual void EndOfEvent(G4HCofThisEvent* HCE);
37
38 void BeginOfTruthEvent(const G4Event*);
39 void EndOfTruthEvent(const G4Event*);
40
41 G4int SampleNumberOfIonsAlongStep(const G4Step* , G4ElectronIonPair *);
42
43 private:
44 BesTofHitsCollection* m_besTofCollection;
45 BesTofHitsCollection* m_besTofList;
46 G4int m_trackIndex;
47 vector<G4int> m_trackIndexes;
48 vector<int> m_scinIndex;
49 G4ElectronIonPair* elIonPair;
50 G4double m_event;
51 double m_fanoFactor;
52 double m_nionOff;
53};
54
55
56#endif
57
G4THitsCollection< BesTofHit > BesTofHitsCollection
Definition: BesTofHit.hh:116
void BeginOfTruthEvent(const G4Event *)
Definition: BesTofSD.cc:68
virtual void EndOfEvent(G4HCofThisEvent *HCE)
Definition: BesTofSD.cc:289
virtual ~BesTofSD()
Definition: BesTofSD.cc:57
void EndOfTruthEvent(const G4Event *)
Definition: BesTofSD.cc:75
G4int SampleNumberOfIonsAlongStep(const G4Step *, G4ElectronIonPair *)
Definition: BesTofSD.cc:299
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *)
Definition: BesTofSD.cc:86