241 while ((acqpar = (
KVACQParam*)next_rawpar())) {
245 if (acqpar->
GetNbBits() <= 8) leaf +=
"1";
250 #if ROOT_VERSION_CODE > ROOT_VERSION(5,25,4)
251 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,1)
269 parlist->
SetName(
"ParameterList");
321 TString what_scale =
gEnv->
GetValue(
"KVGANILDataReader.ScalerBuffersManagement",
"kSkipScaler");
322 what_scale.
Prepend(
"GTGanilData::");
338 Error(
"OpenFile",
"File cannot be opened: %s",
348 Error(
"OpenFile",
"File cannot be opened: %s",
393 while ((daq_par = (
GTDataPar*) next())) {
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
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 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.
const TList * GetListOfDataParameters() const
void SetFileName(const TString filename)
Bool_t IsOpen(void) const
bool IsScalerBuffer(void) const
Int_t GetEventCount() const
GTScalers * GetScalers(void)
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
GANIL VXI/VME acquisition parameter.
void SetNbBits(UChar_t n)
UShort_t ** ConnectData()
Short_t GetCoderData() const
UChar_t GetNbBits() const
Bool_t Fired(Option_t *what="") const
virtual void SetNumber(UInt_t num)
static TPluginHandler * LoadPlugin(const Char_t *base, const Char_t *uri="0")
Reads GANIL acquisition files (EBYEDAT)
virtual KVACQParam * CheckACQParam(const TSeqCollection *, const Char_t *)
Int_t GetEventCount() const
static KVGANILDataReader * Open(const Char_t *filename, Option_t *opt="")
void init()
default initialisations
virtual void SetUserTree(TTree *, Option_t *="arrays")
void ConnectRawDataParameters(const TSeqCollection *list_acq_params=nullptr)
Bool_t HasScalerBuffer() const
void FillFiredParameterList()
clears and then fills list fFired with all fired acquisition parameters in event
Int_t GetNumberOfScalers() const
Int_t GetScalerStatus(Int_t index) const
virtual 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()
const KVSeqCollection * GetRawDataParameters() const
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
KVHashList * fFired
list of fired parameters in one event
KVHashList * fExtParams
list of data parameters in file not defined by gMultiDetArray
KVHashList * fParameters
list of all data parameters contained in file
Extended version of ROOT THashList.
virtual void SetOwner(Bool_t enable=kTRUE)
virtual void Clear(Option_t *option="")
virtual void SetCleanup(Bool_t enable=kTRUE)
virtual void Add(TObject *obj)
virtual void Delete(Option_t *option="")
virtual TObject * FindObject(const char *name) const
void SetName(const char *name)
virtual Int_t GetEntries() const
virtual const char * GetValue(const char *name, const char *dflt) const
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
virtual void Add(TObject *obj)
virtual const char * GetName() const
virtual void SetTitle(const char *title="")
virtual void SetName(const char *name)
virtual void AddAt(TObject *obj, Int_t idx)
virtual void Error(const char *method, const char *msgfmt,...) const
Longptr_t ExecPlugin(int nargs, const T &... params)
const char * Data() const
TString & Prepend(char c, Ssiz_t rep=1)
void Form(const char *fmt,...)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
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)