8 #include <phfield/PHFieldConfig.h>
23 class PHG4EventGenerator;
24 class G4VModularPhysicsList;
26 class G4VUserPrimaryGeneratorAction;
42 PHG4Reco(
const std::string &name =
"PHG4RECO");
62 void Print(
const std::string &what = std::string())
const;
124 static void G4Seed(
const unsigned int i);
135 void Dump_GDML(
const std::string &filename);
PHG4PrimaryGeneratorAction * generatorAction_
event generator (read from PHG4INEVENT node)
int End(PHCompositeNode *)
end of run method
void set_zero_field_line(double z)
G4VisManager * visManager
double GetWorldSizeZ() const
SubsystemList subsystems_
void SetWorldMaterial(const std::string &s)
void SetWorldShape(const std::string &s)
int ResetEvent(PHCompositeNode *)
Clean up after each event.
int InitField(PHCompositeNode *topNode)
PHG4PhenixSteppingAction * steppingAction_
pointer to main stepping action
void G4Verbosity(const int i)
PHG4Reco(const std::string &name="PHG4RECO")
constructor
void Dump_GDML(const std::string &filename)
std::string worldmaterial
void set_field(const float tesla)
set default magnetic field strength with a constant magnetic field. Only valid if set_field_map() is ...
static void G4Seed(const unsigned int i)
void save_DST_geometry(bool b)
Save geometry from Geant4 to DST.
PHG4UIsession * uisession_
pointer to geant ui session
virtual ~PHG4Reco()
destructor
void set_field_map(const std::string &fmap, const PHFieldConfig::FieldConfigTypes dim)
G4RunManager * runManager_
pointer to geant run manager
EDecayType force_decay_type_
int Init(PHCompositeNode *)
full initialization
PHG4PhenixEventAction * eventAction_
pointer to main event action
PHG4PhenixDetector * detector_
pointer to detector
PHTimeServer::timer _timer
module timer.
PHG4Subsystem * getSubsystem(const std::string &name)
void set_energy_threshold(double t)
PHG4PhenixTrackingAction * trackingAction_
pointer to main tracking action
void set_optical_photon(bool b)
speed-up options setters
void SetWorldSizeX(const double sx)
bool optical_photon_
speed up options
int InitRun(PHCompositeNode *topNode)
int process_event(PHCompositeNode *)
event processing method
void SetPhysicsList(const std::string &s)
PHFieldConfig::FieldConfigTypes mapdim
void set_rapidity_coverage(const double eta)
void set_decayer_active(bool b)
void Print(const std::string &what=std::string()) const
print info
double GetWorldSizeX() const
void set_field_rescale(const float rescale)
set default scaling factor for input magnetic field map. If available, Field map setting on DST take ...
int StartGui()
start the gui
this is the main detector construction class, passed to geant to construct the entire phenix detector...
int setupInputEventNodeReader(PHCompositeNode *)
std::list< PHG4Subsystem * > SubsystemList
list of subsystems
G4TBMagneticFieldSetup * field_
magnetic field
int ApplyCommand(const std::string &cmd)
interface to G4 cmd interpreter
void setGeneratorAction(G4VUserPrimaryGeneratorAction *action)
double GetWorldSizeY() const
void registerSubsystem(PHG4Subsystem *subsystem)
register subsystem
PHTimer server for accessing external information.
void set_force_decay(EDecayType force_decay_type)
void SetWorldSizeZ(const double sz)
void SetWorldSizeY(const double sy)
wrapper around PHTimer, for storage in a map