Berkeley Nuclear Data Software
ExclTrackInfoSD.h
Go to the documentation of this file.
1 //Constructed by Josh Brown.
2 //brown.ja@berkeley.edu
3 
4 #ifndef _EXCLTRACK_INFO_SD_H_
5 #define _EXCLTRACK_INFO_SD_H_
6 
7 #include "G4VSensitiveDetector.hh"
8 
9 #include "TrackInfoSD.h"
11 #include "NSDG4RunAction.h"
12 
13 #include <vector>
14 #include <map>
15 class G4Step;
16 class G4HCofThisEvent;
17 
18 namespace NSDG4
19 {
23 {
24  public:
25  ExclTrackInfoSD(const G4String& a_name,
26  const G4String& a_hitsCollectionName,
27  int a_copyDepth =0
28  );
29  virtual ~ExclTrackInfoSD();
30 
31  // methods from base class
32  virtual G4bool ProcessHits(G4Step* step, G4TouchableHistory* history);
33 
34  void addRejectParticle(G4String a_particleName);
35  void setRejectParticles(std::vector<G4String> a_partNameVect);
36  private:
37  std::vector<G4String> m_rejectParticles;
38 };
39 }
40 #endif
Definition: ExclTrackInfoSD.h:23
void addRejectParticle(G4String a_particleName)
Definition: ExclTrackInfoSD.cpp:51
ExclTrackInfoSD(const G4String &a_name, const G4String &a_hitsCollectionName, int a_copyDepth=0)
Definition: ExclTrackInfoSD.cpp:18
void setRejectParticles(std::vector< G4String > a_partNameVect)
Definition: ExclTrackInfoSD.cpp:55
virtual G4bool ProcessHits(G4Step *step, G4TouchableHistory *history)
Definition: ExclTrackInfoSD.cpp:33
virtual ~ExclTrackInfoSD()
Definition: ExclTrackInfoSD.cpp:28
Definition: TrackInfoSD.h:21
Definition: AbsLYAna.h:7