| Line | |
|---|
| 1 | #ifndef MARS_MEnergyEst
|
|---|
| 2 | #define MARS_MEnergyEst
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MEnergyEst : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Double_t fEnergy; // [GeV] Estimated Energy
|
|---|
| 12 | Double_t fImpact; // [cm] Estimated Impact
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 15 | MEnergyEst(const char *name=NULL, const char *title=NULL);
|
|---|
| 16 |
|
|---|
| 17 | void SetEnergy(Double_t e) { fEnergy = e; }
|
|---|
| 18 | void SetImpact(Double_t i) { fImpact = i; }
|
|---|
| 19 | Double_t GetEnergy() const { return fEnergy; }
|
|---|
| 20 | Double_t GetImpact() const { return fImpact; }
|
|---|
| 21 |
|
|---|
| 22 | void Print(Option_t *o="") const;
|
|---|
| 23 |
|
|---|
| 24 | ClassDef(MEnergyEst, 1) // Storage Container for the estimated Energy
|
|---|
| 25 | };
|
|---|
| 26 |
|
|---|
| 27 | #endif
|
|---|
| 28 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.