Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4VUserFastSimulation.h
Go to the documentation of this file.
1#ifndef TG4_V_USER_FAST_SIMULATION_H
2#define TG4_V_USER_FAST_SIMULATION_H
3
4//------------------------------------------------
5// The Geant4 Virtual Monte Carlo package
6// Copyright (C) 2007 - 2015 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
17
18#include "globals.hh"
19
20#include <vector>
21
23
24class G4VFastSimulationModel;
25
30
32{
33 public:
36
38 virtual void Construct() = 0;
39
40 protected:
41 // methods
43 void SetModel(const G4String& modelName);
45 void SetModelParticles(const G4String& modelName, const G4String& particles);
47 void SetModelRegions(const G4String& modelName, const G4String& regions);
48
50 void Register(G4VFastSimulationModel* fastSimulationModel);
51
52 private:
57
58 // data members
59
62};
63
64#endif // TG4_V_USER_FAST_SIMULATION_H
The model configuration vector with suitable setters and a messenger.
The abstract base class which is used to build fast simulation models.
void SetModelParticles(const G4String &modelName, const G4String &particles)
Method to be utilized to apply fast simulation model to selected particles.
void SetModel(const G4String &modelName)
Method to be utilized to register each fast simulation model by name.
virtual void Construct()=0
Method to be overriden by user.
void SetModelRegions(const G4String &modelName, const G4String &regions)
Method to be utilized to apply fast simulation model to selected regions.
TG4VUserFastSimulation(const TG4VUserFastSimulation &right)
Not implemented.
TG4ModelConfigurationManager * fFastModelsManager
the fast simulation models manager
void Register(G4VFastSimulationModel *fastSimulationModel)
Method to be utilized to register each fast simulation model.
TG4VUserFastSimulation & operator=(const TG4VUserFastSimulation &right)
Not implemented.