1 #ifndef PHG4ConeSubsystem_h
2 #define PHG4ConeSubsystem_h
6 #include <Geant4/G4Types.hh>
7 #include <Geant4/G4String.hh>
45 void SetR1(
const G4double min,
const G4double max)
46 {rMin1 = min; rMax1=max;}
49 void SetR2(
const G4double min,
const G4double max)
50 {rMin2 = min; rMax2=max;}
57 void SetPhi(
const G4double a,
const G4double b)
63 void SetPlaceZ(
const G4double dbl) {place_in_z = dbl;}
64 void SetPlace(
const G4double place_x,
const G4double place_y,
const G4double place_z)
70 void SetZRot(
const G4double dbl) {rot_in_z = dbl;}
101 std::string detector_type;
102 std::string superdetector;
PHG4ConeSubsystem(const std::string &name="CONE", const int layer=0)
constructor
void SetR2(const G4double min, const G4double max)
set inner and outter radius2
void Set_eta_range(G4double etaMin, G4double etaMax)
set rmaximum and minimums according to the eta range
void SetR1(const G4double min, const G4double max)
set inner and outter radius1
void SetZlength(const G4double a)
set length in Z
void SetPlace(const G4double place_x, const G4double place_y, const G4double place_z)
int Init(PHCompositeNode *)
init
void SetPlaceZ(const G4double dbl)
void SetMaterial(const std::string &mat)
int process_event(PHCompositeNode *)
event processing
virtual PHG4Detector * GetDetector(void) const
accessors (reimplemented)
void SetZRot(const G4double dbl)
virtual PHG4SteppingAction * GetSteppingAction(void) const
return pointer to this subsystem stepping action
base class for phenix detector creation
void SuperDetector(const std::string &name)
void SetActive(const int i=1)
virtual ~PHG4ConeSubsystem(void)
destructor
PHG4EventAction * GetEventAction() const
return pointer to this subsystem event action
void SetPhi(const G4double a, const G4double b)
set phi offset and extention