19 #ifndef PNDHYPGEOHANDLING_H 20 #define PNDHYPGEOHANDLING_H 22 #include "TGeoManager.h" 28 #include "FairLogger.h" 39 LOG(error) <<
" not a valid GeoManager";
45 TString
GetID(TString path);
48 std::vector<TString>
GetNamesLevel(Int_t level, TString startPath =
"",
bool fullPath =
false);
49 void GetOUVPath(TString path, TVector3 &o, TVector3 &u, TVector3 &
v);
50 void GetOUVId(TString
id, TVector3 &o, TVector3 &u, TVector3 &v);
67 Bool_t
cd(TString
id);
72 std::vector<TString> fLevelNames;
TVector3 LocalToMasterId(const TVector3 &local, const TString &id)
void GetOUVPath(TString path, TVector3 &o, TVector3 &u, TVector3 &v)
for a volume given by its path the o, u, v vectors for the plane are returned
TVector3 GetSensorDimensionsID(TString id)
Bool_t cd(TString id)
as the cd command of TGeoManager just with the ID
virtual ~PndHypGeoHandling()
TVector3 MasterToLocalErrorsPath(const TVector3 &master, const TString &id)
TString GetVolumeID(TString name)
returns the volume ID for a given volume name
void GetOUVId(TString id, TVector3 &o, TVector3 &u, TVector3 &v)
for a volume given by its ID the o, u, v vectors for the plane are returned
Class to access the naming information of the MVD.
PndHypGeoHandling(TGeoManager *aGeoMan)
TVector3 GetSensorDimensionsPath(TString path)
TVector3 MasterToLocalErrorsId(const TVector3 &master, const TString &id)
TString GetPath(TString id)
for a given ID the path is returned
TString GetCurrentID()
returns the ID of the current node
TVector3 MasterToLocalPath(const TVector3 &master, const TString &id)
void FillLevelNames()
fills vector<TString> fLevelNames with the names (or the paths) of the volumes down to the level give...
TString GetID(TString path)
for a given TGeoManager-path the ID is returned
TVector3 LocalToMasterErrorsPath(const TVector3 &local, const TString &id)
TVector3 MasterToLocalId(const TVector3 &master, const TString &id)
TVector3 LocalToMasterErrorsId(const TVector3 &local, const TString &id)
std::vector< TString > GetNamesLevel(Int_t level, TString startPath="", bool fullPath=false)
TVector3 LocalToMasterPath(const TVector3 &local, const TString &id)