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);
G4LogicalVolume * GetLogicalWorld()
void AddToXVector(float v)
CLHEP::Hep3Vector G4ThreeVector
const G4DynamicParticle * GetDynamicParticle() const
static G4Proton * ProtonDefinition()
G4ParticleDefinition * GetDefinition() const
void UserSteppingAction(const G4Step *)
G4StepPoint * GetPreStepPoint() const
G4LogicalVolume * GetLogicalGrid()
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4ThreeVector & GetPosition() const
ExG4HbookAnalysisManager G4AnalysisManager
G4LogicalVolume * GetLogicalVol()
DetectorConstruction * fDetector
void AddToPhiVector(float v)
static const double micrometer
const G4ThreeVector & GetMomentumDirection() const
G4LogicalVolume * GetLogicalVolume() const
void AddToThetaVector(float v)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4StepPoint * GetPostStepPoint() const
void AddToYVector(float v)
Detector construction class to demonstrate various ways of placement.
const G4String & GetName() const
G4Track * GetTrack() const
const G4TouchableHandle & GetTouchableHandle() const