Message: How do I get the SD to work? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How do I get the SD to work? 

Keywords: parse error before `;' token
Forum: Event and Track Management
Date: 08 Feb, 2005
From: Joel <Joel>

When I am compiling the I get an error.

src/ In member function `virtual void
   ExN02EventAction::EndOfEventAction(const G4Event*)':
src/ parse error before `;' token

void ExN02EventAction::EndOfEventAction(const G4Event* evt)
  const G4RunManager* runManager=G4RunManager::GetRunManager();
  const G4UserRunAction* usrRunAction= runManager->GetUserRunAction();
  G4SDManager* SDManager = G4SDManager::GetSDMpointer();

  ExN02Detector* DCH1= (ExN02Detector*);

  SDManager-> FindSensitiveDetector("/beamtest/DCH1");

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: How do I get the SD to work?   (Makoto Asai - 08 Feb, 2005)
(_ None: Re: How do I get the SD to work?   (Joel - 08 Feb, 2005)
 Add Message Add Message
to: "How do I get the SD to work?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]