KaliVeda
Toolkit for HIC analysis
KVSQLROOTIDGridManager.cpp
1 #include "KVSQLROOTIDGridManager.h"
2 
3 #include <KVUnownedList.h>
4 
6 
7 
8 
12  : KVIDGridManager(),
13  fGridDB(grid_db)
14 {
15  // Open the given (full path) to grid database
16 }
17 
18 
19 
24 
26 {
27  // Load into memory all identification grids which are valid for the run.
28  //
29  // Any previously loaded grids are first deleted.
30 
31  Clear();
32  KVIDGraph::SetAutoAdd(kFALSE);//otherwise we end up with all grids appearing twice
33  fGridDB.FillListOfObjectsWithSelection(GetGrids(), "", "Runlist", run);
35 }
36 
37 
unsigned int UInt_t
constexpr Bool_t kFALSE
constexpr Bool_t kTRUE
static void SetAutoAdd(Bool_t yes=kTRUE)
Definition: KVIDGraph.h:100
Handles a stock of identification grids to be used by one or more identification telescopes.
KVList * GetGrids()
void Clear(Option_t *opt="")
Delete all grids and empty list, ready to start anew.
void FillListOfObjectsWithSelection(KVSeqCollection *list, const KVString &where)
ID grid manager using KVSQLROOTFile backend.
ClassImp(TPyArg)