ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHGeomTGeo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHGeomTGeo.h
1 // $Id: $
2 
11 #ifndef PHGEOMETRY_PHGEOMTGEO_H
12 #define PHGEOMETRY_PHGEOMTGEO_H
13 
14 #include <phool/PHObject.h>
15 
16 #include <iostream>
17 
18 class TGeoManager;
19 
26 class PHGeomTGeo : public PHObject
27 {
28  public:
29  PHGeomTGeo();
30  ~PHGeomTGeo() override;
31 
35  void identify(std::ostream& os = std::cout) const override;
36 
38  void Reset() override;
39 
41  int isValid() const override;
42 
46  void
47  SetGeometry(TGeoManager* g);
48 
49  TGeoManager*
50  GetGeometry();
51 
54  bool ConsistencyCheck() const;
55 
56  protected:
58  TGeoManager* _fGeom;
59 };
60 
61 #endif