29 #include "SteppingAction.hh"
30 #include "Analysis.hh"
36 :fRun(run),fDetector(det)
82 fThetaIn = std::asin(angleIn[0]/std::sqrt(angleIn[0]
83 *angleIn[0]+angleIn[1]*angleIn[1]+angleIn[2]*angleIn[2]));
84 fPhiIn = std::asin(angleIn[1]/std::sqrt(angleIn[0]
85 *angleIn[0]+angleIn[1]*angleIn[1]+angleIn[2]*angleIn[2]));
102 man->FillNtupleDColumn(3,0,
fXIn/
um);
103 man->FillNtupleDColumn(3,1,
fYIn/
um);
106 man->AddNtupleRow(3);
126 man->FillNtupleDColumn(1,0,
fXIn/
um);
127 man->FillNtupleDColumn(1,1,
fYIn/
um);
128 man->FillNtupleDColumn(1,2,
fZIn/
um);
129 man->AddNtupleRow(1);
149 man->FillNtupleDColumn(2,0,
fXIn/
um);
150 man->FillNtupleDColumn(2,1,
fYIn/
um);
151 man->FillNtupleDColumn(2,2,
fE/
MeV);
152 man->AddNtupleRow(2);
G4double GetKineticEnergy() const
const DetectorConstruction * fDetector
static constexpr double micrometer
G4LogicalVolume * GetLogicalVolume() const
static constexpr double MeV
G4StepPoint * GetPreStepPoint() const
static constexpr double mm
void AddToPhiVector(float v)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
const G4TouchableHandle & GetTouchableHandle() const
static constexpr double um
G4ParticleDefinition * GetDefinition() const
static G4Proton * ProtonDefinition()
G4LogicalVolume * GetLogicalGrid()
const G4ThreeVector & GetPosition() const
G4LogicalVolume * GetLogicalWorld()
G4Track * GetTrack() const
G4CsvAnalysisManager G4AnalysisManager
G4StepPoint * GetPostStepPoint() const
void UserSteppingAction(const G4Step *)
void AddToYVector(float v)
void AddToXVector(float v)
G4GLOB_DLL std::ostream G4cout
static constexpr double mrad
const G4ThreeVector & GetMomentumDirection() const
G4LogicalVolume * GetLogicalVol()
void AddToThetaVector(float v)
const G4DynamicParticle * GetDynamicParticle() const
Simple detector construction with a box volume placed in a world.
const G4String & GetName() const
const G4String & GetName() const