BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EmcRecGeoSvc/EmcRecGeoSvc/EmcRecROOTGeo.h
Go to the documentation of this file.
1//
2// EmcRecROOTGeo
3//
4// May 15, 2007, Created by Miao He
5//
6// Construct ROOT geometry from gdml
7//
8#ifndef EMC_REC_ROOT_GEO_H
9#define EMC_REC_ROOT_GEO_H
10
11#include <map>
12#include "Identifier/Identifier.h"
13#include "Identifier/EmcID.h"
14#include "CLHEP/Geometry/Point3D.h"
15#ifndef ENABLE_BACKWARDS_COMPATIBILITY
17#endif
18using namespace CLHEP;
19class EmcRecCrystal;
20
21class EmcRecROOTGeo
22{
23 public:
24 // Constructors and destructors
27
28 public:
30 void FillCrystalMap(EmcRecCrystal&, const int, const int, const int);
34 void ComputeThetaPhi(const int part, const int theta, const int phi,
35 int& newTheta, int& newPhi);
36
37 private:
38 std::map<Identifier, EmcRecCrystal> m_crystalMap;
39
40};
41
42#endif
void ComputeThetaPhi(const int part, const int theta, const int phi, int &newTheta, int &newPhi)
void FillCrystalMap(EmcRecCrystal &, const int, const int, const int)
EmcRecCrystal GetCrystal(const Identifier &id) const
HepPoint3D GetCFrontCenter(const Identifier &id) const
HepPoint3D GetCCenter(const Identifier &id) const
void InitFromXML()