| Line | |
|---|
| 1 | #ifndef MARS_MGeomApply
|
|---|
| 2 | #define MARS_MGeomApply
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MParList;
|
|---|
| 9 | class MGeomCam;
|
|---|
| 10 |
|
|---|
| 11 | class MGeomApply : public MTask
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 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(std::ostream &out) const;
|
|---|
| 25 |
|
|---|
| 26 | public:
|
|---|
| 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.