4 // Vector of control process flag values
5 // with convenient set/get methods
7 #ifndef TG4_FLAG_VECTOR_H
8 #define TG4_FLAG_VECTOR_H
10 #include "TG4Globals.h"
13 #include <g4rw/tvordvec.h>
19 typedef G4RWTValOrderedVector<TG3FlagValue> TG3FlagVector;
23 TG4FlagVector(const TG4FlagVector& right);
24 virtual ~TG4FlagVector();
27 TG4FlagVector& operator=(const TG4FlagVector& right);
28 G4double operator[](G4int index) const;
31 void SetG3Flag(TG3Flag g3Flag, G4double flagValue);
35 G4int GetFlag(G4VProcess* process) const;
39 TG3FlagVector* fFlagVector; //vector of control process flag values
42 #endif //TG4_FLAG_VECTOR_H