| Line | |
|---|
| 1 | #ifndef MARS_MTopology
|
|---|
| 2 | #define MARS_MTopology
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MGeomCam;
|
|---|
| 9 | class MCerPhotEvt;
|
|---|
| 10 |
|
|---|
| 11 | class MTopology : public MParContainer
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 14 |
|
|---|
| 15 | Int_t fDistance; // Evaluated sum of distances between 'used' pixels after image cleaning [mm]
|
|---|
| 16 | Int_t fUsed; // Number of pixels contained in an image
|
|---|
| 17 |
|
|---|
| 18 | Int_t fN_Pixels;
|
|---|
| 19 |
|
|---|
| 20 | public:
|
|---|
| 21 |
|
|---|
| 22 | MTopology(const char *name=NULL, const char *title=NULL);
|
|---|
| 23 |
|
|---|
| 24 | void Reset();
|
|---|
| 25 |
|
|---|
| 26 | Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &evt);
|
|---|
| 27 |
|
|---|
| 28 | void Print(Option_t *opt=NULL) const;
|
|---|
| 29 |
|
|---|
| 30 | Int_t GetDistance() { return fDistance; }
|
|---|
| 31 | Int_t GetUsedPixels() { return fUsed; }
|
|---|
| 32 |
|
|---|
| 33 | void SetDistance(Int_t Dist) { fDistance=Dist; }
|
|---|
| 34 | void SetUsedPixels(Int_t Used) { fUsed=Used; }
|
|---|
| 35 |
|
|---|
| 36 | ClassDef(MTopology, 1) // Container to hold Topology related parameters
|
|---|
| 37 | };
|
|---|
| 38 |
|
|---|
| 39 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.