#include <ExN04MuonSD.hh>
◆ ExN04MuonSD() [1/2]
ExN04MuonSD::ExN04MuonSD |
( |
G4String |
name | ) |
|
◆ ~ExN04MuonSD() [1/2]
ExN04MuonSD::~ExN04MuonSD |
( |
| ) |
|
◆ ExN04MuonSD() [2/2]
ExN04MuonSD::ExN04MuonSD |
( |
G4String |
name | ) |
|
◆ ~ExN04MuonSD() [2/2]
ExN04MuonSD::~ExN04MuonSD |
( |
| ) |
|
◆ clear() [1/2]
void ExN04MuonSD::clear |
( |
void |
| ) |
|
|
virtual |
◆ clear() [2/2]
void ExN04MuonSD::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll() [1/2]
void ExN04MuonSD::DrawAll |
( |
void |
| ) |
|
|
virtual |
◆ DrawAll() [2/2]
void ExN04MuonSD::DrawAll |
( |
| ) |
|
|
virtual |
◆ EndOfEvent() [1/2]
◆ EndOfEvent() [2/2]
◆ Initialize() [1/2]
Reimplemented from G4VSensitiveDetector.
Definition at line 54 of file eventgenerator/HepMC/HepMCEx01/src/ExN04MuonSD.cc.
G4String SensitiveDetectorName
virtual G4int GetCollectionID(G4int i)
G4THitsCollection< ExN04MuonHit > ExN04MuonHitsCollection
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4CollectionNameVector collectionName
ExN04MuonHitsCollection * muonCollection
◆ Initialize() [2/2]
◆ PrintAll() [1/2]
void ExN04MuonSD::PrintAll |
( |
void |
| ) |
|
|
virtual |
◆ PrintAll() [2/2]
void ExN04MuonSD::PrintAll |
( |
| ) |
|
|
virtual |
◆ ProcessHits() [1/2]
Implements G4VSensitiveDetector.
Definition at line 65 of file eventgenerator/HepMC/HepMCEx01/src/ExN04MuonSD.cc.
69 if(edep==0.)
return true;
73 G4ThreeVector hitpos = aStep->GetPreStepPoint()->GetPosition();
74 for(
int i=0;i<nHit;i++) {
75 aHit = (*muonCollection)[i];
78 +
sqr(pos.
y()-hitpos.
y())+
sqr(pos.
z()-hitpos.
z());
86 aHit->
SetPos( aStep->GetPreStepPoint()->GetPosition() );
G4double positionResolution
ExN04MuonHitsCollection * muonCollection
static const G4double pos
void SetEdep(G4double de)
void AddEdep(G4double de)
void SetPos(G4ThreeVector xyz)
◆ ProcessHits() [2/2]
◆ muonCollection
◆ positionResolution
G4double ExN04MuonSD::positionResolution |
|
private |
The documentation for this class was generated from the following files: