Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitMask.h
1/*
2 * CorrFitMask.h
3 *
4 * Created on: 11 lut 2023
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HAL_ANALYSIS_FEMTO_CORRFIT_CORRFITMASK_H_
10#define HAL_ANALYSIS_FEMTO_CORRFIT_CORRFITMASK_H_
11
12#include "Femto1DCF.h"
13
14#include "CorrFit3DCF.h"
15#include "FemtoYlmIndexes.h"
16#include "Std.h"
17
18#include <RtypesCore.h>
19#include <vector>
20
21namespace Hal {
22 class CorrFitMask : public TObject {
23
24 protected:
25 Int_t fActiveBins = {0};
26
27 public:
29 virtual Bool_t AreCompatible(TObject* /*cf*/) const { return kFALSE; }
30 virtual void Reset(Bool_t /*state*/ = kTRUE) {};
31 virtual void ApplyThreshold(const TH1& h, Double_t threshold = 0);
32 virtual Bool_t Init() = 0;
33 Int_t GetActiveBins() const { return fActiveBins; };
34 virtual ~CorrFitMask() {};
35 ClassDef(CorrFitMask, 1)
36 };
37
38} // namespace Hal
39#endif /* HAL_ANALYSIS_FEMTO_CORRFIT_CORRFITMASK_H_ */