EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicGeo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EicGeo.h
1 //
2 // AYK (ayk@bnl.gov), 2013/06/12
3 //
4 // EIC FairRoot-style (dummy) geometry class; keep at the very minumum
5 // until figure out hwo to use it efficiently;
6 //
7 
8 #ifndef _EIC_GEO_
9 #define _EIC_GEO_
10 
11 #include "FairGeoSet.h"
12 
13 //
14 // Well, for now existence of this class is justified by a fact, that
15 // FairGeoSet::FairGeoSet() constructor is protected, so can not be
16 // called from EicDet::ConstructGeometry() directly; let it be, perhaps
17 // fill out with some sense later;
18 //
19 
20 class EicGeo : public FairGeoSet {
21 public:
23 
24  EicGeo(const char *_fName) {
25  fName = strdup(_fName);
26 
27  maxSectors = 0;
28  // This should not be 0, otherwise something fails to work in PandaRoot;
29  maxModules = 1;
30  };
31 
32  ~EicGeo() {};
33 
34  ClassDef(EicGeo,6)
35 };
36 
37 #endif