KaliVeda
Toolkit for HIC analysis
KVFAZIARawEvent.h
1 
4 #ifndef __KVFAZIARAWEVENT_H
5 #define __KVFAZIARAWEVENT_H
6 
7 #include "TObject.h"
8 #include "TClonesArray.h"
9 
10 #include "KVSignal.h"
11 #include "KVString.h"
12 #include "KVNameValueList.h"
19 class KVFAZIARawEvent : public TObject {
20 protected:
25 public:
26  KVFAZIARawEvent(Int_t ntot);
28  virtual ~KVFAZIARawEvent();
29 public:
30  void Copy(TObject& obj) const;
31  void Clear(Option_t* = "");
32  KVSignal* AddNewSignal(KVString name, KVString title);
34  {
35  return fSignals;
36  }
37  void SetNumber(Int_t num)
38  {
39  fNumber = num;
40  }
41  Int_t GetNumber() const
42  {
43  return fNumber;
44  }
46  {
47  fNumberOfBlocks = num;
48  }
50  {
51  return fNumberOfBlocks;
52  }
54  {
55  return fValues;
56  }
57  const Char_t* GetFPGAEnergy(Int_t blk, Int_t qua, Int_t tel, TString signaltype, Int_t idx = 0);
58 
59  ClassDef(KVFAZIARawEvent, 2) //Handle list of signals and additional information coming from acquisition file
60 };
61 
62 #endif
int Int_t
char Char_t
const char Option_t
#define ClassDef(name, id)
Obsolete raw data class for FAZIA.
void Copy(TObject &obj) const
TClonesArray * fSignals
array where signals are storred
void SetNumber(Int_t num)
Int_t GetNumberOfBlocks() const
KVNameValueList * fValues
list of values
Int_t GetNumber() const
void SetNumberOfBlocks(Int_t num)
KVNameValueList * GetValues() const
TClonesArray * GetSignals() const
KVSignal * AddNewSignal(KVString name, KVString title)
KVFAZIARawEvent()
Default constructor.
void Clear(Option_t *="")
Info("Clear","IsCalled");.
virtual ~KVFAZIARawEvent()
Destructor.
Int_t fNumberOfBlocks
number of blocks stored in the acquisition event
Int_t fNumber
event number
const Char_t * GetFPGAEnergy(Int_t blk, Int_t qua, Int_t tel, TString signaltype, Int_t idx=0)
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73