test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ChordFinderSetter.h
Go to the documentation of this file.
1 #ifndef SimG4Core_ChordFinderSetter_H
2 #define SimG4Core_ChordFinderSetter_H
3 
4 class G4ChordFinder;
5 class G4FieldManager;
6 
7 namespace sim {
9  public:
12 
13  bool isMonopoleSet() const { return fChordFinderMonopole; }
14  void setMonopole(G4ChordFinder *cfm) { fChordFinderMonopole = cfm; }
15 
16  void setStepperAndChordFinder(G4FieldManager * fM, int val);
17 
18  private:
19  static thread_local G4ChordFinder *fChordFinder, *fChordFinderMonopole;
20  };
21 };
22 
23 #endif
Definition: sim.h:19
static thread_local G4ChordFinder * fChordFinderMonopole
void setStepperAndChordFinder(G4FieldManager *fM, int val)
static thread_local G4ChordFinder * fChordFinder
void setMonopole(G4ChordFinder *cfm)