File Name: B2aDetectorContruction.cc
#include "B2aDetectorConstruction.hh"
#include "B2aDetectorMessenger.hh"
#include "B2TrackerSD.hh"
#include "G4Material.hh"
#include "G4NistManager.hh"
#include "G4SDManager.hh"
#include "G4Box.hh"
#include "G4Tubs.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4GlobalMagFieldMessenger.hh"
#include "G4AutoDelete.hh"
#include "G4GeometryTolerance.hh"
#include "G4GeometryManager.hh"
#include "G4UserLimits.hh"
#include "G4VisAttributes.hh"
#include "G4Colour.hh"
#include "G4SystemOfUnits.hh"
Detector Construction and Messenger
- B2aDetectorConstruction.hh: This header typically defines the construction of the detector geometry. It sets up the various components of a detector, including volumes and materials.
- B2aDetectorMessenger.hh: This file usually contains commands for interacting with the detector construction from a user interface, allowing dynamic changes to parameters during a simulation.
Sensitive Detectors
- B2TrackerSD.hh: This header defines a sensitive detector class, which is responsible for recording hits (interactions) within a specific volume of the detector.
Material Management
- G4Material.hh: This class represents materials in Geant4. It allows users to define properties such as density, state (solid, liquid, gas), and composition.
- G4NistManager.hh: A utility class that provides access to a predefined database of materials based on NIST data. It simplifies the process of defining common materials by allowing users to retrieve them easily.
- G4SDManager.hh: This class manages sensitive detectors and their associated hits. It allows for the registration and handling of sensitive detector classes.
Geometry Classes
- G4Box.hh: Defines a box-shaped volume in the simulation. It is often used to represent simple geometric shapes.
- G4Tubs.hh: Represents a cylindrical volume (tube) in the simulation, useful for modeling cylindrical detectors or components.