33 #include "G4HCofThisEvent.hh"
34 #include "G4VHitsCollection.hh"
99 for(
int i2=0;i2<3;i2++){
100 for(
int i1=0;i1<n_hit_sd;i1++)
111 double fAngXin = (SSDposition[1].x() - SSDposition[0].x());
112 fAngXin /= (SSDposition[1].z() - SSDposition[0].z());
113 double fAngYin = (SSDposition[1].y() - SSDposition[0].y());
114 fAngYin /= (SSDposition[1].z() - SSDposition[0].z());
115 double fPosXin = SSDposition[1].x();
116 double fPosYin = SSDposition[1].y();
117 double fAngXout = (SSDposition[2].x() - SSDposition[1].x());
118 fAngXout /= (SSDposition[2].z() - SSDposition[1].z());
119 double fAngYout = (SSDposition[2].y() - SSDposition[1].y());
120 fAngYout /= (SSDposition[2].z() - SSDposition[1].z());
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
CLHEP::Hep3Vector G4ThreeVector
virtual ~ExExChEventAction()
G4bool FillNtupleDColumn(G4int id, G4double value)
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