BOSS 6.6.4.p03
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};
51
52
53#endif
54
G4THitsCollection< BesTofHit > BesTofHitsCollection
Definition: BesTofHit.hh:108
void BeginOfTruthEvent(const G4Event *)
Definition: BesTofSD.cc:63
virtual void Initialize(G4HCofThisEvent *HCE)
Definition: BesTofSD.cc:54
virtual void EndOfEvent(G4HCofThisEvent *HCE)
Definition: BesTofSD.cc:293
virtual ~BesTofSD()
Definition: BesTofSD.cc:49
void EndOfTruthEvent(const G4Event *)
Definition: BesTofSD.cc:70
G4int SampleNumberOfIonsAlongStep(const G4Step *, G4ElectronIonPair *)
Definition: BesTofSD.cc:310
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *)
Definition: BesTofSD.cc:85