| Line | |
|---|
| 1 | #ifndef MARS_MHCalibrationRelTimePix
|
|---|
| 2 | #define MARS_MHCalibrationRelTimePix
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MHGausEvents
|
|---|
| 5 | #include "MHGausEvents.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MHCalibrationRelTimePix : public MHGausEvents
|
|---|
| 9 | {
|
|---|
| 10 |
|
|---|
| 11 | private:
|
|---|
| 12 |
|
|---|
| 13 | static const Int_t fgPulserFrequency;
|
|---|
| 14 |
|
|---|
| 15 | static const Int_t fgChargeNbins;
|
|---|
| 16 | static const Axis_t fgChargeFirst;
|
|---|
| 17 | static const Axis_t fgChargeLast;
|
|---|
| 18 |
|
|---|
| 19 | Int_t fChargeNbins;
|
|---|
| 20 | Axis_t fChargeFirst;
|
|---|
| 21 | Axis_t fChargeLast;
|
|---|
| 22 |
|
|---|
| 23 | Int_t fPixId; // Pixel Nr
|
|---|
| 24 |
|
|---|
| 25 | public:
|
|---|
| 26 |
|
|---|
| 27 | MHCalibrationRelTimePix(const char *name=NULL, const char *title=NULL);
|
|---|
| 28 | ~MHCalibrationRelTimePix();
|
|---|
| 29 |
|
|---|
| 30 | void Clear(Option_t *o="");
|
|---|
| 31 | void InitBins();
|
|---|
| 32 |
|
|---|
| 33 | // Setters
|
|---|
| 34 | void SetChargeNbins(const Int_t bins =fgChargeNbins) { fChargeNbins = bins; }
|
|---|
| 35 | void SetChargeFirst(const Axis_t first=fgChargeFirst) { fChargeFirst = first; }
|
|---|
| 36 | void SetChargeLast( const Axis_t last =fgChargeLast) { fChargeLast = last; }
|
|---|
| 37 |
|
|---|
| 38 | void SetPulserFrequency(Float_t f=fgPulserFrequency);
|
|---|
| 39 |
|
|---|
| 40 | // Fits
|
|---|
| 41 | void BypassFit();
|
|---|
| 42 |
|
|---|
| 43 | // Others
|
|---|
| 44 | void ChangeHistId(Int_t i);
|
|---|
| 45 | void Renorm(const Float_t slicewidth);
|
|---|
| 46 |
|
|---|
| 47 | // TObject *DrawClone(Option_t *opt="") const;
|
|---|
| 48 |
|
|---|
| 49 | ClassDef(MHCalibrationRelTimePix, 1) // Histograms for each calibrated pixel
|
|---|
| 50 | };
|
|---|
| 51 |
|
|---|
| 52 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.