KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVFAZIARawEvent.h
Go to the documentation of this file.
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"
18 class KVFAZIARawEvent : public TObject {
19 protected:
24 public:
25  KVFAZIARawEvent(Int_t ntot);
27  virtual ~KVFAZIARawEvent();
28 public:
29  void Copy(TObject& obj) const;
30  void Clear(Option_t* = "");
31  KVSignal* AddNewSignal(KVString name, KVString title);
33  {
34  return fSignals;
35  }
36  void SetNumber(Int_t num)
37  {
38  fNumber = num;
39  }
40  Int_t GetNumber() const
41  {
42  return fNumber;
43  }
45  {
46  fNumberOfBlocks = num;
47  }
49  {
50  return fNumberOfBlocks;
51  }
53  {
54  return fValues;
55  }
56  const Char_t* GetFPGAEnergy(Int_t blk, Int_t qua, Int_t tel, TString signaltype, Int_t idx = 0);
57 
58  ClassDef(KVFAZIARawEvent, 2) //Handle list of signals and additional information coming from acquisition file
59 };
60 
61 #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:72