Message: Doubt reg C++ statement Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Doubt reg C++ statement 

Forum: Run Management
Date: 20 Feb, 2015
From: Shivang Tripathi <Shivang Tripathi>

Dear All,

I am not able to understand the concept of following line used in UserAction classes.
Run* run = static_cast<Run*>(
        G4RunManager::GetRunManager()->GetNonConstCurrentRun()); 

Please explain the functionality of above kind of statement.

Regards Shivang

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

1 None: Re: Doubt reg C++ statement   (Marc Verderi - 20 Feb, 2015)
 Add Message Add Message
to: "Doubt reg C++ statement"

 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 ]