StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StEmcPool
StOnlineTriggerMonitoring
macros
saveTriggerLoad.C
1
/*
2
* saveTriggerLoad.C
3
* Update: 03/27/2014 Kevin Adkins
4
* Change previous access method of
5
* saveTrigger(...). Previously it was accessed
6
* via StOnlineTriggerMonitoring::saveTrigger(...)
7
* now declare StOnlineTriggerMonitoring member onltrg
8
* and use -> class access operator to call
9
* saveTrigger(...)
10
*
11
*/
12
13
void
saveTriggerLoad(
14
char
*timestamp =
"20150214.000001"
,
15
bool
status =
true
,
16
bool
pedestal =
true
,
17
bool
lut =
true
,
18
bool
saveDB =
false
,
19
bool
saveTables =
true
,
20
char
*tables_dir =
"tables.emconline_trg"
,
21
char
*saved_dir =
"last_config.emconline_trg"
,
22
char
*bemcStatusCopy =
"bemcStatus.txt"
,
23
char
*bceTable =
"bce_table.txt"
,
24
char
*bcwTable =
"bcw_table.txt"
25
) {
26
gROOT->Macro(
"loadMuDst.C"
);
27
gSystem->Load(
"StDbBroker"
);
28
gSystem->Load(
"St_db_Maker"
);
29
gSystem->Load(
"StDaqLib"
);
30
gSystem->Load(
"StOnlineTriggerMonitoring"
);
31
32
StOnlineTriggerMonitoring
*onltrg =
new
StOnlineTriggerMonitoring
();
33
onltrg->saveTrigger(timestamp, status, pedestal, lut, saveDB, saveTables, tables_dir, saved_dir, bemcStatusCopy, bceTable, bcwTable);
34
}
StOnlineTriggerMonitoring
Definition:
StOnlineTriggerMonitoring.h:6
Generated by
1.8.5