Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FemtoYlmIndexes.h
1/*
2 * FemtoYlmIndexes.h
3 *
4 * Created on: 8 lip 2022
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_BASE_FEMTOYLMINDEXES_H_
10#define HAL_ANALYSIS_FEMTO_BASE_FEMTOYLMINDEXES_H_
11
12#include <TObject.h>
13
14#include "Array.h"
15
20namespace Hal {
21
22 class FemtoYlmIndexes : public TObject {
23 Int_t fL;
24 Int_t fMaxJM;
25 Double_t* fEls; //[fMaxJM]
26 Double_t* fEms; //[fMaxJM]
27 Int_t* fElsi; //[fMaxJM]
28 Int_t* fEmsi; //[fMaxJM]
29 Array_2<Int_t> fIndexes;
30
31 public:
36 FemtoYlmIndexes(Int_t L = 5);
37 FemtoYlmIndexes(const FemtoYlmIndexes& other);
48 void Resize(Int_t newL);
54 inline Double_t GetEls(Int_t i) const { return fEls[i]; }
60 inline Int_t GetElsi(Int_t i) const { return fElsi[i]; }
66 inline Double_t GetEms(Int_t i) const { return fEms[i]; }
72 inline Int_t GetEmsi(Int_t i) const { return fEmsi[i]; }
77 inline Int_t GetMaxL() const { return fL; }
82 inline Int_t GetMaxJM() const { return fMaxJM; }
89 inline Int_t GetIndex(Int_t l, Int_t m) const { return fIndexes.Get(l, fL + m); };
96 Int_t GetPadId(Int_t l, Int_t m) const;
97 virtual void Print(Option_t* option = "") const;
101 virtual ~FemtoYlmIndexes();
102 ClassDef(FemtoYlmIndexes, 1)
103 };
104
105} /* namespace Hal */
106
107#endif /* HAL_ANALYSIS_FEMTO_BASE_FEMTOYLMINDEXES_H_ */
T Get(Int_t i, Int_t j) const
Definition Array.h:174
Int_t GetEmsi(Int_t i) const
Double_t GetEms(Int_t i) const
Int_t GetIndex(Int_t l, Int_t m) const
Double_t GetEls(Int_t i) const
void Resize(Int_t newL)
Int_t GetElsi(Int_t i) const
Int_t GetPadId(Int_t l, Int_t m) const
FemtoYlmIndexes & operator=(const FemtoYlmIndexes &other)