#include <ExN04StackingAction.hh>
◆ ExN04StackingAction() [1/2]
ExN04StackingAction::ExN04StackingAction |
( |
| ) |
|
◆ ~ExN04StackingAction() [1/2]
ExN04StackingAction::~ExN04StackingAction |
( |
| ) |
|
|
virtual |
◆ ExN04StackingAction() [2/2]
ExN04StackingAction::ExN04StackingAction |
( |
| ) |
|
◆ ~ExN04StackingAction() [2/2]
virtual ExN04StackingAction::~ExN04StackingAction |
( |
| ) |
|
|
virtual |
◆ ClassifyNewTrack() [1/2]
Reimplemented from G4UserStackingAction.
Definition at line 60 of file eventgenerator/HepMC/HepMCEx01/src/ExN04StackingAction.cc.
66 if(aTrack->GetParentID()==0)
77 if(aTrack->GetParentID()!=0) {
break; }
78 if(aTrack->GetTrackStatus()==fSuspend) {
break; }
79 if(aTrack->GetDefinition()->GetPDGCharge()==0.) {
break; }
86 if(aTrack->GetParentID()==0)
96 classification =
fKill;
98 return classification;
static G4MuonPlus * MuonPlusDefinition()
G4ClassificationOfNewTrack
G4bool InsideRoI(const G4Track *aTrack, G4double ang)
static G4MuonMinus * MuonMinusDefinition()
◆ ClassifyNewTrack() [2/2]
◆ GetCollection() [1/2]
◆ GetCollection() [2/2]
Definition at line 124 of file eventgenerator/HepMC/HepMCEx01/src/ExN04StackingAction.cc.
133 return HCE->
GetHC(colID);
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
const G4Event * GetCurrentEvent() const
static G4RunManager * GetRunManager()
static G4SDManager * GetSDMpointer()
G4HCofThisEvent * GetHCofThisEvent() const
◆ GetNIsolation() [1/2]
G4int ExN04StackingAction::GetNIsolation |
( |
| ) |
const |
|
inline |
◆ GetNIsolation() [2/2]
G4int ExN04StackingAction::GetNIsolation |
( |
| ) |
const |
|
inline |
◆ GetNRequestIsoMuon() [1/2]
G4int ExN04StackingAction::GetNRequestIsoMuon |
( |
| ) |
const |
|
inline |
◆ GetNRequestIsoMuon() [2/2]
G4int ExN04StackingAction::GetNRequestIsoMuon |
( |
| ) |
const |
|
inline |
◆ GetNRequestMuon() [1/2]
G4int ExN04StackingAction::GetNRequestMuon |
( |
| ) |
const |
|
inline |
◆ GetNRequestMuon() [2/2]
G4int ExN04StackingAction::GetNRequestMuon |
( |
| ) |
const |
|
inline |
◆ GetRoIAngle() [1/2]
G4double ExN04StackingAction::GetRoIAngle |
( |
| ) |
const |
|
inline |
◆ GetRoIAngle() [2/2]
G4double ExN04StackingAction::GetRoIAngle |
( |
| ) |
const |
|
inline |
◆ InsideRoI() [1/2]
G4bool ExN04StackingAction::InsideRoI |
( |
const G4Track * |
aTrack, |
|
|
G4double |
ang |
|
) |
| |
|
private |
◆ InsideRoI() [2/2]
G4bool ExN04StackingAction::InsideRoI |
( |
const G4Track * |
aTrack, |
|
|
G4double |
ang |
|
) |
| |
|
private |
◆ NewStage() [1/2]
void ExN04StackingAction::NewStage |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 139 of file eventgenerator/HepMC/HepMCEx01/src/ExN04StackingAction.cc.
153 G4cout <<
"Stage 0->1 : " << nhits <<
" hits found in the muon chamber." 182 for(
G4int j=0;j<nhits;j++)
186 for(
G4int jj=0;(jj<nTrkhits)&&(nhitIn<=
reqIso);jj++)
191 if(nhitIn<=
reqIso) isoMuon++;
193 G4cout <<
"Stage 1->2 : " << isoMuon <<
" isolated muon found." <<
G4endl;
ExN04TrackerHitsCollection * trkHits
G4VHitsCollection * GetCollection(G4String colName)
double angle(const Hep3Vector &) const
G4GLOB_DLL std::ostream G4cout
G4StackManager * stackManager
G4GLOB_DLL std::ostream G4cerr
ExN04MuonHitsCollection * muonHits
◆ NewStage() [2/2]
virtual void ExN04StackingAction::NewStage |
( |
| ) |
|
|
virtual |
◆ PrepareNewEvent() [1/2]
void ExN04StackingAction::PrepareNewEvent |
( |
| ) |
|
|
virtual |
◆ PrepareNewEvent() [2/2]
virtual void ExN04StackingAction::PrepareNewEvent |
( |
| ) |
|
|
virtual |
◆ SetNIsolation() [1/2]
void ExN04StackingAction::SetNIsolation |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNIsolation() [2/2]
void ExN04StackingAction::SetNIsolation |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNRequestIsoMuon() [1/2]
void ExN04StackingAction::SetNRequestIsoMuon |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNRequestIsoMuon() [2/2]
void ExN04StackingAction::SetNRequestIsoMuon |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNRequestMuon() [1/2]
void ExN04StackingAction::SetNRequestMuon |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNRequestMuon() [2/2]
void ExN04StackingAction::SetNRequestMuon |
( |
G4int |
val | ) |
|
|
inline |
◆ SetRoIAngle() [1/2]
void ExN04StackingAction::SetRoIAngle |
( |
G4double |
val | ) |
|
|
inline |
◆ SetRoIAngle() [2/2]
void ExN04StackingAction::SetRoIAngle |
( |
G4double |
val | ) |
|
|
inline |
◆ angRoI
◆ muonHits
◆ reqIso
G4int ExN04StackingAction::reqIso |
|
private |
◆ reqIsoMuon
G4int ExN04StackingAction::reqIsoMuon |
|
private |
◆ reqMuon
G4int ExN04StackingAction::reqMuon |
|
private |
◆ stage
G4int ExN04StackingAction::stage |
|
private |
◆ theMessenger
◆ trkHits
The documentation for this class was generated from the following files: