VMC Examples Version 6.6
Loading...
Searching...
No Matches
GarfieldG4FastSimulationModel.h
Go to the documentation of this file.
1#ifndef GARFIELDG4FASTSIMULATIONMODEL_H_
2#define GARFIELDG4FASTSIMULATIONMODEL_H_
3
4//------------------------------------------------
5// The Virtual Monte Carlo examples
6// Copyright (C) 2007 - 2016 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
13/// \file ExGarfield/geant4/include/GarfieldG4FastSimulationModel.h
14/// \brief Definition of the GarfieldG4FastSimulationModel class
15///
16/// Garfield garfieldpp example adapted to Virtual Monte Carlo.
17/// This class is imported from garfieldpp example.
18/// There is disabled WriteGeometryToGDML function in order to avoid
19/// requiring Geant4 optional library.
20///
21/// \date 28/10/2015
22/// \author D. Pheiffer, CERN
23
24/*
25 * GarfieldModel.h
26 *
27 * Created on: Apr 9, 2014
28 * Author: dpfeiffe
29 */
30
31#include "G4VFastSimulationModel.hh"
32#include "GarfieldPhysics.h"
33
34class G4VPhysicalVolume;
35
37{
38 public:
39 //-------------------------
40 // Constructor, destructor
41 //-------------------------
42 GarfieldG4FastSimulationModel(G4String, G4Region*);
45
47 // I.H. make this optional
48 // void WriteGeometryToGDML(G4VPhysicalVolume* physicalVolume);
49
50 virtual G4bool IsApplicable(const G4ParticleDefinition&);
51 virtual G4bool ModelTrigger(const G4FastTrack&);
52 virtual void DoIt(const G4FastTrack&, G4FastStep&);
53
54 private:
56};
57
58#endif /* GARFIELDMODEL_H_ */
Definition of the GarfieldPhysics class.
virtual G4bool ModelTrigger(const G4FastTrack &)
virtual void DoIt(const G4FastTrack &, G4FastStep &)
void SetPhysics(GarfieldPhysics *fGarfieldPhysics)
virtual G4bool IsApplicable(const G4ParticleDefinition &)