source: trunk/MagicSoft/Mars/manalysis/MGeomApply.h@ 6949

Last change on this file since 6949 was 5844, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 838 bytes
Line 
1#ifndef MARS_MGeomApply
2#define MARS_MGeomApply
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MGeomCam;
10
11class MGeomApply : public MTask
12{
13private:
14 TString fGeomName; // Name of geometry class
15
16 TList *fNamesList;
17 TList *fList;
18
19 void ProcessAutomatic(MParList &plist, const MGeomCam &geom) const;
20 Bool_t ProcessManual(MParList &plist, const MGeomCam &geom) const;
21
22 Int_t PreProcess(MParList *plist);
23 Bool_t ReInit(MParList *pList);
24 void StreamPrimitive(ofstream &out) const;
25
26public:
27 MGeomApply(const char *name=NULL, const char *title=NULL);
28 ~MGeomApply();
29
30 void SetGeometry(TString geom) { fGeomName = geom; }
31
32 void AddCamEvent(TObject *obj);
33 void AddCamEvent(const char *name);
34
35 ClassDef(MGeomApply, 0) // Task to apply geometry settings
36};
37
38#endif
39
Note: See TracBrowser for help on using the repository browser.