Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::FemtoSerializationInterface Class Referenceabstract
Inheritance diagram for Hal::FemtoSerializationInterface:
Hal::FemtoSerializationInterfaceTemplate< Femto1DCF, CorrFitVerticalSlices1D > Hal::FemtoSerializationInterfaceTemplate< Femto3DCF, CorrFitVerticalSlices3D > Hal::FemtoSerializationInterfaceTemplate< FemtoSHCF, CorrFitVerticalSlicesSH > Hal::FemtoSerializationInterfaceTemplate< T1, T2 > Hal::FemtoSerializationInterface1D Hal::FemtoSerializationInterface3D Hal::FemtoSerializationInterfaceSH

Public Types

enum class  EOption { kFull , kSimple }
 
enum class  ECopyDir { kSerialize , kDeserialize }
 
enum class  EData { kSlice , kCF , kUnkown }
 

Public Member Functions

void Data (EData opt)
 
void SetOption (EOption opt)
 
virtual Bool_t BindCFs (TObject *cf)=0
 
virtual Bool_t BindSlices (TObject *slice)=0
 
virtual Bool_t BindArray (Array_1< Float_t > *array)
 
virtual Bool_t Init ()
 
virtual void Serialize (Int_t binLo=-1, Int_t binHi=-1)
 
virtual void Deserialize (Int_t binLo=-1, Int_t binHi=-1)
 
 ClassDef (FemtoSerializationInterface, 0)
 

Protected Member Functions

virtual void ConvertCF (ECopyDir dir)=0
 
virtual void ConvertSlice (ECopyDir dir)=0
 
virtual void ConvertCFSimple (ECopyDir dir)=0
 
virtual void ConvertSliceSimple (ECopyDir dir)=0
 
virtual void PostInit ()
 
virtual Bool_t HaveCF () const =0
 
virtual Bool_t HaveSlice () const =0
 
virtual Bool_t GetBinsNo ()=0
 
void CopyData1D (std::vector< TH1 * > &list, int bin, ECopyDir dir, Bool_t error=false)
 
void CopyData3D (std::vector< TH3 * > &list, int binx, int biny, int binz, ECopyDir dir, Bool_t error=false)
 
void CopyData1D2 (std::vector< TH1 * > &listN, std::vector< TH1 * > &listD, int bin, ECopyDir dir)
 
void CopyData3D2 (std::vector< TH3 * > &listN, std::vector< TH3 * > &listD, int binx, int biny, int binz, ECopyDir dir)
 
void CopyDataVec (std::vector< std::vector< double > > &list, int pos, ECopyDir dir)
 
void ExpandArrayIfSerialize (Int_t newSize, ECopyDir dir)
 
template<typename T >
void CopyDataSingle (T &x, ECopyDir dir)
 
template<typename T >
void CopyDataPair (T &n, T &d, ECopyDir dir)
 

Protected Attributes

Int_t fBinLow = {-1}
 
Int_t fBinHi = {-1}
 
Int_t fBinStart = {-1}
 
Int_t fBinStop = {-1}
 
Array_1< Float_t > * fArray = {nullptr}
 
EOption fOption = {EOption::kFull}
 
EData fDataType = {EData::kUnkown}
 
Int_t fCounter = {0}
 

Detailed Description

Definition at line 24 of file FemtoSerializationInterface.h.

Member Enumeration Documentation

◆ ECopyDir

enum class Hal::FemtoSerializationInterface::ECopyDir
strong

Definition at line 27 of file FemtoSerializationInterface.h.

◆ EData

enum class Hal::FemtoSerializationInterface::EData
strong

Definition at line 28 of file FemtoSerializationInterface.h.

◆ EOption

enum class Hal::FemtoSerializationInterface::EOption
strong

Definition at line 26 of file FemtoSerializationInterface.h.

Constructor & Destructor Documentation

◆ FemtoSerializationInterface()

Hal::FemtoSerializationInterface::FemtoSerializationInterface ( )
inline

Definition at line 83 of file FemtoSerializationInterface.h.

◆ ~FemtoSerializationInterface()

virtual Hal::FemtoSerializationInterface::~FemtoSerializationInterface ( )
inlinevirtual

Definition at line 100 of file FemtoSerializationInterface.h.

Member Function Documentation

◆ BindArray()

virtual Bool_t Hal::FemtoSerializationInterface::BindArray ( Array_1< Float_t > * array)
inlinevirtual

Definition at line 88 of file FemtoSerializationInterface.h.

◆ CopyData1D()

void Hal::FemtoSerializationInterface::CopyData1D ( std::vector< TH1 * > & list,
int bin,
ECopyDir dir,
Bool_t error = false )
protected

Definition at line 18 of file FemtoSerializationInterface.cxx.

◆ CopyData1D2()

void Hal::FemtoSerializationInterface::CopyData1D2 ( std::vector< TH1 * > & listN,
std::vector< TH1 * > & listD,
int bin,
ECopyDir dir )
protected

Definition at line 121 of file FemtoSerializationInterface.cxx.

◆ CopyData3D()

void Hal::FemtoSerializationInterface::CopyData3D ( std::vector< TH3 * > & list,
int binx,
int biny,
int binz,
ECopyDir dir,
Bool_t error = false )
protected

Definition at line 46 of file FemtoSerializationInterface.cxx.

◆ CopyData3D2()

void Hal::FemtoSerializationInterface::CopyData3D2 ( std::vector< TH3 * > & listN,
std::vector< TH3 * > & listD,
int binx,
int biny,
int binz,
ECopyDir dir )
protected

Definition at line 134 of file FemtoSerializationInterface.cxx.

◆ CopyDataPair()

template<typename T >
void Hal::FemtoSerializationInterface::CopyDataPair ( T & n,
T & d,
ECopyDir dir )
inlineprotected

Definition at line 68 of file FemtoSerializationInterface.h.

◆ CopyDataSingle()

template<typename T >
void Hal::FemtoSerializationInterface::CopyDataSingle ( T & x,
ECopyDir dir )
inlineprotected

Definition at line 55 of file FemtoSerializationInterface.h.

◆ CopyDataVec()

void Hal::FemtoSerializationInterface::CopyDataVec ( std::vector< std::vector< double > > & list,
int pos,
ECopyDir dir )
protected

Definition at line 69 of file FemtoSerializationInterface.cxx.

◆ Data()

void Hal::FemtoSerializationInterface::Data ( EData opt)
inline

Definition at line 84 of file FemtoSerializationInterface.h.

◆ Deserialize()

void Hal::FemtoSerializationInterface::Deserialize ( Int_t binLo = -1,
Int_t binHi = -1 )
virtual

Definition at line 154 of file FemtoSerializationInterface.cxx.

◆ ExpandArrayIfSerialize()

void Hal::FemtoSerializationInterface::ExpandArrayIfSerialize ( Int_t newSize,
ECopyDir dir )
protected

Definition at line 117 of file FemtoSerializationInterface.cxx.

◆ Init()

Bool_t Hal::FemtoSerializationInterface::Init ( )
virtual

Definition at line 188 of file FemtoSerializationInterface.cxx.

◆ PostInit()

virtual void Hal::FemtoSerializationInterface::PostInit ( )
inlineprotectedvirtual

Definition at line 44 of file FemtoSerializationInterface.h.

◆ Serialize()

void Hal::FemtoSerializationInterface::Serialize ( Int_t binLo = -1,
Int_t binHi = -1 )
virtual

serialize cf or slice

Parameters
binLolow bin (for CF) or parameter iD (for slice)

Definition at line 84 of file FemtoSerializationInterface.cxx.

◆ SetOption()

void Hal::FemtoSerializationInterface::SetOption ( EOption opt)
inline

Definition at line 85 of file FemtoSerializationInterface.h.

Member Data Documentation

◆ fArray

Array_1<Float_t>* Hal::FemtoSerializationInterface::fArray = {nullptr}
protected

Definition at line 35 of file FemtoSerializationInterface.h.

◆ fBinHi

Int_t Hal::FemtoSerializationInterface::fBinHi = {-1}
protected

Definition at line 32 of file FemtoSerializationInterface.h.

◆ fBinLow

Int_t Hal::FemtoSerializationInterface::fBinLow = {-1}
protected

Definition at line 31 of file FemtoSerializationInterface.h.

◆ fBinStart

Int_t Hal::FemtoSerializationInterface::fBinStart = {-1}
protected

Definition at line 33 of file FemtoSerializationInterface.h.

◆ fBinStop

Int_t Hal::FemtoSerializationInterface::fBinStop = {-1}
protected

Definition at line 34 of file FemtoSerializationInterface.h.

◆ fCounter

Int_t Hal::FemtoSerializationInterface::fCounter = {0}
protected

Definition at line 38 of file FemtoSerializationInterface.h.

◆ fDataType

EData Hal::FemtoSerializationInterface::fDataType = {EData::kUnkown}
protected

Definition at line 37 of file FemtoSerializationInterface.h.

◆ fOption

EOption Hal::FemtoSerializationInterface::fOption = {EOption::kFull}
protected

Definition at line 36 of file FemtoSerializationInterface.h.


The documentation for this class was generated from the following files: