BOSS 7.0.8
BESIII Offline Software System
|
#include <BesSensitiveManager.hh>
Public Member Functions | |
BesSensitiveManager () | |
~BesSensitiveManager () | |
void | AddSensitiveDetector (BesSensitiveDetector *detector) |
G4int | GetCurrentTrackIndex () const |
std::vector< BesTruthTrack * > * | GetTrackList () |
std::vector< BesTruthVertex * > * | GetVertexList () |
void | BeginOfTruthEvent (const G4Event *) |
void | EndOfTruthEvent (const G4Event *) |
G4int | CheckType (const HepMC::GenEvent *hepmcevt) |
void | SaveParticlesFromGenerator () |
void | SetVertex0 (const G4Event *) |
void | UpdatePrimaryTrack (const G4Track *) |
G4bool | CheckDecayTrack (const G4Track *) |
void | UpdateVertex (BesTStats, const G4Track *) |
G4bool | MatchDaughterTrack (const G4Track *) |
void | GetDaughterVertexes (BesTruthTrack *pTrack, std::vector< int > *vDau) |
G4bool | MatchVertex (G4int vIndex, std::vector< int > *vDau) |
void | BeginOfTrack (const G4Track *track) |
void | EndOfTrack (const G4Track *track, G4TrackingManager *) |
G4int | GetNumberTracks () const |
G4int | GetNumberVertices () const |
void | ClearEvent () |
void | SetLogLevel (G4int level) |
Static Public Member Functions | |
static BesSensitiveManager * | GetSensitiveManager () |
Protected Member Functions | |
void | MakeNewTrack (BesTStats &stat, const G4Track *track) |
BesTStats | FollowTrack (const G4Track *track) |
Protected Attributes | |
std::vector< BesSensitiveDetector * >::iterator | iter |
std::vector< BesSensitiveDetector * >::iterator | iter_end |
G4int | m_trackIndex |
G4int | m_trackFlag |
std::vector< BesTruthTrack * > * | m_trackList |
std::vector< BesTruthVertex * > * | m_vertexList |
std::vector< BesSensitiveDetector * > | clients |
std::vector< BesTStats > | chain |
G4int | m_count |
G4ThreeVector | m_pos0 |
G4double | m_t0 |
G4int | m_logLevel |
HepMC::GenEvent * | m_hepmcevt |
Static Protected Attributes | |
static BesSensitiveManager * | m_sensitiveManager =0 |
Definition at line 73 of file BesSensitiveManager.hh.
|
inline |
Definition at line 75 of file BesSensitiveManager.hh.
|
inline |
Definition at line 83 of file BesSensitiveManager.hh.
|
inline |
Definition at line 88 of file BesSensitiveManager.hh.
Referenced by BesSensitiveDetector::BesSensitiveDetector().
void BesSensitiveManager::BeginOfTrack | ( | const G4Track * | track | ) |
Definition at line 252 of file BesSensitiveManager.cc.
Referenced by BesTrackingAction::PreUserTrackingAction().
void BesSensitiveManager::BeginOfTruthEvent | ( | const G4Event * | evt | ) |
Definition at line 43 of file BesSensitiveManager.cc.
Referenced by BesEventAction::BeginOfEventAction().
G4bool BesSensitiveManager::CheckDecayTrack | ( | const G4Track * | track | ) |
Definition at line 590 of file BesSensitiveManager.cc.
Referenced by FollowTrack().
G4int BesSensitiveManager::CheckType | ( | const HepMC::GenEvent * | hepmcevt | ) |
Definition at line 79 of file BesSensitiveManager.cc.
Referenced by SaveParticlesFromGenerator().
void BesSensitiveManager::ClearEvent | ( | ) |
Definition at line 234 of file BesSensitiveManager.cc.
Referenced by BesEventAction::EndOfEventAction().
void BesSensitiveManager::EndOfTrack | ( | const G4Track * | track, |
G4TrackingManager * | trackingManager | ||
) |
Definition at line 279 of file BesSensitiveManager.cc.
Referenced by BesTrackingAction::PostUserTrackingAction().
void BesSensitiveManager::EndOfTruthEvent | ( | const G4Event * | evt | ) |
Definition at line 222 of file BesSensitiveManager.cc.
Referenced by BesEventAction::EndOfEventAction().
|
protected |
Definition at line 505 of file BesSensitiveManager.cc.
Referenced by BeginOfTrack().
|
inline |
Definition at line 93 of file BesSensitiveManager.hh.
Referenced by BesSensitiveDetector::GetCurrentTrackIndex().
void BesSensitiveManager::GetDaughterVertexes | ( | BesTruthTrack * | pTrack, |
std::vector< int > * | vDau | ||
) |
Definition at line 773 of file BesSensitiveManager.cc.
Referenced by CheckDecayTrack(), and GetDaughterVertexes().
|
inline |
Definition at line 119 of file BesSensitiveManager.hh.
|
inline |
Definition at line 120 of file BesSensitiveManager.hh.
|
inlinestatic |
Definition at line 85 of file BesSensitiveManager.hh.
Referenced by BesEventAction::BeginOfEventAction(), BesSensitiveDetector::BesSensitiveDetector(), BesEventAction::EndOfEventAction(), BesSensitiveDetector::GetCurrentTrackIndex(), BesTrackingAction::PostUserTrackingAction(), BesTrackingAction::PreUserTrackingAction(), BesEmcSD::ProcessHits(), BesMcTruthWriter::SaveMcParticle(), BesAsciiIO::SaveTrackTruth(), and BesAsciiIO::SaveVertexTruth().
|
inline |
Definition at line 94 of file BesSensitiveManager.hh.
Referenced by BesSensitiveDetector::GetCurrentTrackIndex(), BesEmcSD::ProcessHits(), BesMcTruthWriter::SaveMcParticle(), and BesAsciiIO::SaveTrackTruth().
|
inline |
Definition at line 95 of file BesSensitiveManager.hh.
Referenced by BesMcTruthWriter::SaveMcParticle(), and BesAsciiIO::SaveVertexTruth().
|
protected |
Definition at line 381 of file BesSensitiveManager.cc.
Referenced by FollowTrack().
G4bool BesSensitiveManager::MatchDaughterTrack | ( | const G4Track * | track | ) |
Definition at line 810 of file BesSensitiveManager.cc.
G4bool BesSensitiveManager::MatchVertex | ( | G4int | vIndex, |
std::vector< int > * | vDau | ||
) |
Definition at line 796 of file BesSensitiveManager.cc.
Referenced by CheckDecayTrack().
void BesSensitiveManager::SaveParticlesFromGenerator | ( | ) |
Definition at line 102 of file BesSensitiveManager.cc.
Referenced by BeginOfTruthEvent().
|
inline |
Definition at line 124 of file BesSensitiveManager.hh.
Referenced by BesSim::initialize().
void BesSensitiveManager::SetVertex0 | ( | const G4Event * | anEvent | ) |
Definition at line 66 of file BesSensitiveManager.cc.
Referenced by BeginOfTruthEvent().
void BesSensitiveManager::UpdatePrimaryTrack | ( | const G4Track * | track | ) |
Definition at line 858 of file BesSensitiveManager.cc.
Referenced by FollowTrack().
void BesSensitiveManager::UpdateVertex | ( | BesTStats | stat, |
const G4Track * | track | ||
) |
Definition at line 361 of file BesSensitiveManager.cc.
Referenced by EndOfTrack().
|
protected |
Definition at line 148 of file BesSensitiveManager.hh.
Referenced by BeginOfTrack(), CheckDecayTrack(), EndOfTrack(), FollowTrack(), and MakeNewTrack().
|
protected |
Definition at line 146 of file BesSensitiveManager.hh.
Referenced by AddSensitiveDetector(), BeginOfTrack(), BeginOfTruthEvent(), EndOfTrack(), and EndOfTruthEvent().
|
protected |
Definition at line 130 of file BesSensitiveManager.hh.
Referenced by BeginOfTrack(), BeginOfTruthEvent(), EndOfTrack(), and EndOfTruthEvent().
|
protected |
Definition at line 131 of file BesSensitiveManager.hh.
Referenced by BeginOfTrack(), BeginOfTruthEvent(), EndOfTrack(), and EndOfTruthEvent().
|
protected |
Definition at line 158 of file BesSensitiveManager.hh.
Referenced by BeginOfTruthEvent(), EndOfTrack(), and MakeNewTrack().
|
protected |
Definition at line 164 of file BesSensitiveManager.hh.
Referenced by BesSensitiveManager(), FollowTrack(), and SaveParticlesFromGenerator().
|
protected |
Definition at line 163 of file BesSensitiveManager.hh.
Referenced by CheckDecayTrack(), CheckType(), EndOfTrack(), FollowTrack(), MakeNewTrack(), SaveParticlesFromGenerator(), SetLogLevel(), SetVertex0(), UpdatePrimaryTrack(), and UpdateVertex().
|
protected |
Definition at line 160 of file BesSensitiveManager.hh.
Referenced by FollowTrack(), and SetVertex0().
|
staticprotected |
Definition at line 128 of file BesSensitiveManager.hh.
Referenced by BesSensitiveManager(), and GetSensitiveManager().
|
protected |
Definition at line 161 of file BesSensitiveManager.hh.
Referenced by FollowTrack(), and SetVertex0().
|
protected |
Definition at line 135 of file BesSensitiveManager.hh.
Referenced by BeginOfTrack(), EndOfTrack(), and FollowTrack().
|
protected |
Definition at line 134 of file BesSensitiveManager.hh.
Referenced by CheckDecayTrack(), EndOfTrack(), GetCurrentTrackIndex(), MakeNewTrack(), UpdatePrimaryTrack(), and UpdateVertex().
|
protected |
Definition at line 139 of file BesSensitiveManager.hh.
Referenced by BeginOfTruthEvent(), CheckDecayTrack(), ClearEvent(), EndOfTrack(), GetNumberTracks(), GetTrackList(), MakeNewTrack(), SaveParticlesFromGenerator(), and UpdatePrimaryTrack().
|
protected |
Definition at line 140 of file BesSensitiveManager.hh.
Referenced by BeginOfTruthEvent(), ClearEvent(), EndOfTrack(), GetNumberVertices(), GetVertexList(), MakeNewTrack(), and SaveParticlesFromGenerator().