| Line | |
|---|
| 1 | #ifndef MARS_MMuonSetup
|
|---|
| 2 | #define MARS_MMuonSetup
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MMuonSetup : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Float_t fMargin; // [deg] margin to evaluate muons. The defaut value is 0.2 deg (60mm)
|
|---|
| 12 | Float_t fThresholdArcPhi; // [phe] The threshold value to define ArcPhi
|
|---|
| 13 | Float_t fThresholdArcWidth; // [phe] The threshold value to define ArcWidth
|
|---|
| 14 |
|
|---|
| 15 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
|
|---|
| 16 |
|
|---|
| 17 | public:
|
|---|
| 18 | MMuonSetup(const char *name=NULL, const char *title=NULL);
|
|---|
| 19 |
|
|---|
| 20 | // Getter
|
|---|
| 21 | Float_t GetMargin() const { return fMargin; }
|
|---|
| 22 | Float_t GetThresholdArcPhi() const { return fThresholdArcPhi; }
|
|---|
| 23 | Float_t GetThresholdArcWidth() const { return fThresholdArcWidth; }
|
|---|
| 24 |
|
|---|
| 25 | // Setter
|
|---|
| 26 | void SetMargin(Float_t margin) { fMargin = margin; }
|
|---|
| 27 | void SetThresholdArcPhi(Float_t thres) { fThresholdArcPhi = thres; }
|
|---|
| 28 | void SetThresholdArcWidth(Float_t thres) { fThresholdArcWidth = thres; }
|
|---|
| 29 |
|
|---|
| 30 | ClassDef(MMuonSetup, 1) // Container to hold setup for muon analysis
|
|---|
| 31 | };
|
|---|
| 32 |
|
|---|
| 33 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.