4#include "KVGANILDataReader.h"
5#include "GTGanilData.h"
6#include "GTOneScaler.h"
232 if (acqpar->
GetNbBits() <= 8) leaf +=
"1";
237#if ROOT_VERSION_CODE > ROOT_VERSION(5,25,4)
238#if ROOT_VERSION_CODE < ROOT_VERSION(5,26,1)
256 parlist->
SetName(
"ParameterList");
304 TString what_scale =
gEnv->
GetValue(
"KVGANILDataReader.ScalerBuffersManagement",
"kSkipScaler");
305 what_scale.
Prepend(
"GTGanilData::");
321 Error(
"OpenFile",
"File cannot be opened: %s",
331 Error(
"OpenFile",
"File cannot be opened: %s",
362 while ((daq_par = (
GTDataPar*) next())) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
char * Form(const char *fmt,...)
R__EXTERN TSystem * gSystem
Classes handling VME/VXI parameters in GANIL DAQ data.
Read GANIL formatted tapes or files.
void ConnectFired(const Int_t index, Bool_t **p) const
Connect a pointer to a data to the defined index in the Data Array.
GTScalers * GetScalers(void)
void Connect(const Int_t index, UShort_t **p) const
Connect a pointer to a data to the defined index in the Data Array.
Int_t GetRunNumber(void) const
Returns current run number.
void SetFileName(const TString filename)
Bool_t IsOpen(void) const
bool IsScalerBuffer(void) const
Int_t GetEventCount() const
const TList * GetListOfDataParameters() const
void SetScalerBuffersManagement(const ScalerWhat_t sc)
ScalerWhat_t
What to do with scaler buffer.
@ kAutoWriteScaler
have to take care of it.
UInt_t GetStatus(void) const
UInt_t GetCount(void) const
const GTOneScaler * GetScalerPtr(Int_t index) const
Return a constant pointer to the Scaler Index.
Int_t GetNbChannel(void) const
virtual void SetNumber(UInt_t num)
static TPluginHandler * LoadPlugin(const Char_t *base, const Char_t *uri="0")
GANIL VXI/VME 16 bit (maximum) EBYEDAT acquisition parameter.
UShort_t ** ConnectData()
UChar_t GetNbBits() const
void SetNbBits(UChar_t n)
Reads GANIL acquisition files (EBYEDAT)
Int_t GetEventCount() const
void ConnectRawDataParameters()
static KVGANILDataReader * Open(const Char_t *filename, Option_t *opt="")
void init()
default initialisations
virtual void SetUserTree(TTree *, Option_t *="arrays")
Bool_t HasScalerBuffer() const
void FillFiredParameterList()
clears and then fills list fFired with all fired acquisition parameters in event
const KVSeqCollection & GetRawDataParameters() const
Int_t GetNumberOfScalers() const
Int_t GetScalerStatus(Int_t index) const
GTGanilData * NewGanTapeInterface(Option_t *dataset)
virtual Bool_t GetNextEvent()
Int_t GetRunNumberReadFromFile() const
GTGanilData * fGanilData
object used to read GANIL acquisition file
virtual GTGanilData * GetGanTapeInterface()
void OpenFile(const Char_t *, Option_t *dataset)
TTree * fUserTree
user TTree to fill with data
virtual ~KVGANILDataReader()
Destructor.
UInt_t GetScalerCount(Int_t index) const
KVUniqueNameList fFired
list of fired parameters in one event
KVUniqueNameList fParameters
list of all data parameters contained in file
virtual void SetOwner(Bool_t enable=kTRUE)
virtual void Clear(Option_t *option="")
virtual void Add(TObject *obj)
void SetName(const char *name)
virtual Int_t GetEntries() const
virtual const char * GetValue(const char *name, const char *dflt) const
void Add(TObject *obj) override
virtual void SetTitle(const char *title="")
const char * GetName() const override
virtual void SetName(const char *name)
void AddAt(TObject *obj, Int_t idx) override
virtual void Error(const char *method, const char *msgfmt,...) const
Longptr_t ExecPlugin(int nargs)
const char * Data() const
TString & Prepend(char c, Ssiz_t rep=1)
void Form(const char *fmt,...)
virtual const char * BaseName(const char *pathname)
virtual Bool_t SetAlias(const char *aliasName, const char *aliasFormula)
virtual TList * GetUserInfo()
virtual void SetAutoFlush(Long64_t autof=-30000000)
virtual Int_t Branch(const char *folder, Int_t bufsize=32000, Int_t splitlevel=99)
const char * GetUrl(Bool_t withDeflt=kFALSE) const
void SetOptions(const char *opt)
TFile * OpenFile(const TString &fin)