#include <RE05StackingAction.hh>
Definition at line 45 of file RE05StackingAction.hh.
◆ RE05StackingAction()
RE05StackingAction::RE05StackingAction |
( |
| ) |
|
Definition at line 45 of file RE05StackingAction.cc.
RE05StackingActionMessenger * theMessenger
RE05MuonHitsCollection * muonHits
RE05TrackerHitsCollection * trkHits
◆ ~RE05StackingAction()
RE05StackingAction::~RE05StackingAction |
( |
| ) |
|
|
virtual |
◆ ClassifyNewTrack()
Reimplemented from G4UserStackingAction.
Definition at line 58 of file RE05StackingAction.cc.
64 if(aTrack->GetParentID()==0)
75 if(aTrack->GetParentID()!=0) {
break; }
76 if(aTrack->GetTrackStatus()==fSuspend) {
break; }
77 if(aTrack->GetDefinition()->GetPDGCharge()==0.) {
break; }
84 if(aTrack->GetParentID()==0)
94 classification =
fKill;
96 return classification;
static G4MuonPlus * MuonPlusDefinition()
G4bool InsideRoI(const G4Track *aTrack, G4double ang)
G4ClassificationOfNewTrack
static G4MuonMinus * MuonMinusDefinition()
◆ GetCollection()
Definition at line 120 of file RE05StackingAction.cc.
129 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()
G4int RE05StackingAction::GetNIsolation |
( |
| ) |
const |
|
inline |
◆ GetNRequestIsoMuon()
G4int RE05StackingAction::GetNRequestIsoMuon |
( |
| ) |
const |
|
inline |
◆ GetNRequestMuon()
G4int RE05StackingAction::GetNRequestMuon |
( |
| ) |
const |
|
inline |
◆ GetRoIAngle()
G4double RE05StackingAction::GetRoIAngle |
( |
| ) |
const |
|
inline |
◆ InsideRoI()
G4bool RE05StackingAction::InsideRoI |
( |
const G4Track * |
aTrack, |
|
|
G4double |
ang |
|
) |
| |
|
private |
Definition at line 99 of file RE05StackingAction.cc.
110 for(
G4int i=0;i<nhits;i++)
114 if(angl<ang) {
return true; }
G4VHitsCollection * GetCollection(G4String colName)
RE05MuonHitsCollection * muonHits
double angle(const Hep3Vector &) const
G4GLOB_DLL std::ostream G4cerr
◆ NewStage()
void RE05StackingAction::NewStage |
( |
| ) |
|
|
virtual |
Reimplemented from G4UserStackingAction.
Definition at line 134 of file RE05StackingAction.cc.
176 for(
G4int j=0;j<nhits;j++)
180 for(
G4int jj=0;(jj<nTrkhits)&&(nhitIn<=
reqIso);jj++)
185 if(nhitIn<=
reqIso) isoMuon++;
G4VHitsCollection * GetCollection(G4String colName)
RE05MuonHitsCollection * muonHits
double angle(const Hep3Vector &) const
RE05TrackerHitsCollection * trkHits
G4StackManager * stackManager
G4GLOB_DLL std::ostream G4cerr
◆ PrepareNewEvent()
void RE05StackingAction::PrepareNewEvent |
( |
| ) |
|
|
virtual |
◆ SetNIsolation()
void RE05StackingAction::SetNIsolation |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNRequestIsoMuon()
void RE05StackingAction::SetNRequestIsoMuon |
( |
G4int |
val | ) |
|
|
inline |
◆ SetNRequestMuon()
void RE05StackingAction::SetNRequestMuon |
( |
G4int |
val | ) |
|
|
inline |
◆ SetRoIAngle()
void RE05StackingAction::SetRoIAngle |
( |
G4double |
val | ) |
|
|
inline |
◆ angRoI
◆ muonHits
◆ reqIso
G4int RE05StackingAction::reqIso |
|
private |
◆ reqIsoMuon
G4int RE05StackingAction::reqIsoMuon |
|
private |
◆ reqMuon
G4int RE05StackingAction::reqMuon |
|
private |
◆ stage
G4int RE05StackingAction::stage |
|
private |
◆ theMessenger
◆ trkHits
The documentation for this class was generated from the following files: