Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitMapGroupConfig.h
1/*
2 * CorrFitMapGroupConfig2.h
3 *
4 * Created on: 27 lut 2024
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_PAIRGENERATORS_CORRFITMAPGROUPCONFIG_H_
10#define HAL_ANALYSIS_FEMTO_CORRFIT_PAIRGENERATORS_CORRFITMAPGROUPCONFIG_H_
11
12
13#include "FemtoMiniPair.h"
14
15#include "Object.h"
16
17namespace Hal {
18
20 Int_t fMode = {0};
21 Int_t fBins;
22 Double_t fMin, fMax, fStep;
23 Femto::EKinematics fFrame = {Femto::EKinematics::kLCMS};
24
25 public:
27 void SetGroupByKLong() { fMode = 1; };
28 void SetGroupByKStar() { fMode = 0; };
29 void SetAxis(Int_t bins, Double_t min, Double_t max);
30 Femto::EKinematics GetFrame() const { return fFrame; }
31 void SetFrame(Femto::EKinematics frame) { fFrame = frame; }
32 Int_t GetBin(const FemtoPair* pair) const;
33 Int_t GetNbins() const { return fBins; }
34 Bool_t GroupByLong() const;
35 Bool_t GroupByKStar() const;
36 Double_t GetMin() const { return fMin; };
37 Double_t GetMax() const { return fMax; };
38 virtual void Add(const Object* pack);
39 std::vector<TString> GetBranchesByValue(Double_t min, Double_t max, Bool_t signal = kTRUE) const;
40 std::vector<TString> GetBranchesByIndex(Int_t min, Int_t max, Bool_t signal = kTRUE) const;
41 virtual ~CorrFitMapGroupConfig() {};
42 ClassDef(CorrFitMapGroupConfig, 1)
43 };
44} /* namespace Hal */
45
46#endif /* HAL_ANALYSIS_FEMTO_CORRFIT_PAIRGENERATORS_CORRFITMAPGROUPCONFIG2_H_ */
virtual void Add(const Object *pack)