36 #include "G4HCofThisEvent.hh"
37 #include "G4VHitsCollection.hh"
102 for(
int i2=0;i2<3;i2++){
103 for(
int i1=0;i1<n_hit_sd;i1++)
114 double fAngXin = (SSDposition[1].x() - SSDposition[0].x());
115 fAngXin /= (SSDposition[1].z() - SSDposition[0].z());
116 double fAngYin = (SSDposition[1].y() - SSDposition[0].y());
117 fAngYin /= (SSDposition[1].z() - SSDposition[0].z());
118 double fPosXin = SSDposition[1].x();
119 double fPosYin = SSDposition[1].y();
120 double fAngXout = (SSDposition[2].x() - SSDposition[1].x());
121 fAngXout /= (SSDposition[2].z() - SSDposition[1].z());
122 double fAngYout = (SSDposition[2].y() - SSDposition[1].y());
123 fAngYout /= (SSDposition[2].z() - SSDposition[1].z());
static constexpr double mm
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
CLHEP::Hep3Vector G4ThreeVector
virtual ~ExExChEventAction()
static constexpr double rad
Definition of the ExExChSensitiveDetectorHit class.
Definition of the ExExChAnalysis class.
G4bool FillNtupleDColumn(G4int id, G4double value)
Definition of the ExExChTrackingAction class.
Definition of the ExExChEventAction class.
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
static G4SDManager * GetSDMpointer()
virtual void EndOfEventAction(const G4Event *)
virtual void BeginOfEventAction(const G4Event *)
G4ThreeVector GetWorldPos() const
G4HCofThisEvent * GetHCofThisEvent() const