#include "Geometry/Geometry.h"#include <sys/types.h>#include <sys/stat.h>#include <cassert>#include <map>#include <iostream>#include "TObjArray.h"#include "TGeoManager.h"#include "TGeoNode.h"#include "TGeoBBox.h"#include "Geometry/Exception.h"#include "Geometry/PlaneGeo.h"#include "Geometry/CellGeo.h"#include "Geometry/CellUniqueId.h"#include "JobControl/Exception.h"#include "RawData/DAQHeader.h"Go to the source code of this file.
Functions | |
| bool | plane_sort (const PlaneGeo *p1, const PlaneGeo *p2) |
Definition in file Geometry.cxx.
|
||||||||||||
|
Definition at line 29 of file Geometry.cxx. References geo::PlaneGeo::Cell(), and geo::CellGeo::GetCenter(). 00030 {
00031 double xyz1[3], xyz2[3];
00032 p1->Cell(0).GetCenter(xyz1);
00033 p2->Cell(0).GetCenter(xyz2);
00034 return xyz1[2]<xyz2[2];
00035 }
|
1.3.9.1