KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDBTape.cpp
1/***************************************************************************
2$Id: KVDBTape.cpp,v 1.7 2006/10/19 14:32:43 franklan Exp $
3
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 ***************************************************************************/
10#include "KVDBTape.h"
11#include "KVDBRun.h"
12
14
15
16
18
22
23
24
26
28{
29
30 SetNumber(tape_number);
31 Char_t name[80];
32 sprintf(name, "Tape %d", tape_number);
34 SetTitle("Data storage tape");
35 KVDBKey* key = AddKey("Runs", "List Of Runs");
37}
38
39
40
42
46
47
48
51
53{
54 //add run to list of runs stored on this tape
55 AddLink("Runs", run);
56}
57
58
int Int_t
char Char_t
constexpr Bool_t kTRUE
char name[80]
Cross-reference in a KVDataBase.
Definition KVDBKey.h:38
virtual void SetUniqueStatus(Bool_t unique)
Definition KVDBKey.h:73
virtual void SetNumber(Int_t n)
Definition KVDBRecord.h:77
virtual Bool_t AddKey(KVDBKey *key, Bool_t check=kTRUE)
virtual Bool_t AddLink(const Char_t *key_name, KVDBRecord *rec, Bool_t linkback=kTRUE)
Description of an experimental run in database ,,.
Definition KVDBRun.h:36
Database entry describing a data storage tape used to store raw data.
Definition KVDBTape.h:25
virtual ~KVDBTape()
Definition KVDBTape.cpp:43
void AddRun(KVDBRun *run)
add run to list of runs stored on this tape
Definition KVDBTape.cpp:52
virtual void SetTitle(const char *title="")
virtual void SetName(const char *name)
ClassImp(TPyArg)