Commit 7f659869 authored by Alex Ciabattoni's avatar Alex Ciabattoni
Browse files

Geometry COSI updated

parent 81afa280
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -94,7 +94,9 @@ void CEventAction::BeginOfEventAction(const G4Event* evt) {
    drawEvent = false;
    G4int event_id = evt->GetEventID();
    gm.event_id = event_id;

    G4int evtID = evt->GetEventID();
    G4double ene = evt->GetPrimaryVertex(0)->GetPrimary(0)->GetKineticEnergy();
    G4cout << "Event ID: " << evtID << ", with energy: " << ene/CLHEP::keV << " keV" << G4endl;

}

+714 −2

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ protected:
    G4Material* wood_mat;
    G4Material* coll_mat;
    G4Material* glass_mat;
    G4Material* coat_mat;

private: