36 #include "G4HCofThisEvent.hh"
49 fTrkHits(0), fMuonHits(0), fMessenger(0),
61 {
delete fMessenger; }
97 if((fAngRoI<0.)||InsideRoI(aTrack,fAngRoI))
102 classification =
fKill;
104 return classification;
120 for(
G4int i=0;i<nhits;i++)
124 if(angl<ang) {
return true; }
141 return HCE->
GetHC(colID);
190 for(
G4int j=0;j<nhits;j++)
194 for(
G4int jj=0;(jj<nTrkhits)&&(nhitIn<=fReqIso);jj++)
197 if(trkhitPos.
angle(hitPos)<fAngRoI) nhitIn++;
199 if(nhitIn<=fReqIso) isoMuon++;
202 if(isoMuon<fReqIsoMuon)
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
static G4MuonPlus * MuonPlusDefinition()
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
double angle(const Hep3Vector &) const
Definition of the RE05StackingActionMessenger class.
const G4ThreeVector & GetPosition() const
G4TrackStatus GetTrackStatus() const
virtual ~RE05StackingAction()
Definition of the RE05StackingAction class.
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
static G4RunManager * GetRunManager()
G4ClassificationOfNewTrack
static G4SDManager * GetSDMpointer()
static G4MuonMinus * MuonMinusDefinition()
virtual void PrepareNewEvent()
G4HCofThisEvent * GetHCofThisEvent() const
G4StackManager * stackManager
static constexpr double deg
const G4Event * GetCurrentEvent() const
G4double GetPDGCharge() const
G4GLOB_DLL std::ostream G4cerr