source: branches/MarsMoreSimulationTruth/mtemp/mifae/library/MTopology.h@ 19811

Last change on this file since 19811 was 5658, checked in by rico, 20 years ago
*** empty log message ***
File size: 897 bytes
Line 
1#ifndef MARS_MTopology
2#define MARS_MTopology
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MGeomCam;
9class MCerPhotEvt;
10
11class MTopology : public MParContainer
12{
13private:
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
20public:
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.