4 // Vector of control process values
5 // with convenient set/get methods
7 #ifndef TG4_G3_CONTROL_VECTOR_H
8 #define TG4_G3_CONTROL_VECTOR_H
10 #include "TG4Globals.h"
11 #include "TG4G3Control.h"
15 class TG4G3ControlVector
17 typedef G4RWTValOrderedVector<TG4G3ControlValue> TG4ControlValueVector;
21 TG4G3ControlVector(const TG4G3ControlVector& right);
22 virtual ~TG4G3ControlVector();
25 TG4G3ControlVector& operator=(const TG4G3ControlVector& right);
26 G4double operator[](G4int index) const;
29 void SetG3Control(TG4G3Control control, G4double controlValue);
33 G4int GetControl(G4VProcess* process) const;
37 TG4ControlValueVector* fControlVector; //vector of control process values
40 #endif //TG4_G3_CONTROL_VECTOR_H