BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
monitor.C
Go to the documentation of this file.
1
// c5n17: Top-0 #21320; Top-1 #21321
2
// c5n18: Top-2 #21322; Top-3 #21323
3
// c5n19: Top-4 #21324; Top-5 #21325
4
// c5n20: Top-6 #21326; Top-7 #21327
5
6
void
monitor
(
Int_t
periodID = 9,
7
TString
dirName =
"."
,
8
TString
refDir =
"."
,
9
TString
decoAddr =
"localhost:5555"
,
10
Int_t
webPort = 9000)
11
{
12
#if ROOT_VERSION_CODE < ROOT_VERSION(5, 99, 99)
13
gROOT
->LoadMacro(
"$VMCWORKDIR/macro/run/bmnloadlibs.C"
);
14
#endif
15
// bmnloadlibs();
16
// gSystem->Load("libBmnMonitor");
17
BmnMonitor
* bm =
new
BmnMonitor
();
18
19
uint64_t setup = 0
// flags to determine BM@N setup
20
|
BIT
(
kBC
)
// TRIGGERS
21
|
BIT
(
kSILICON
)
// SILICON
22
|
BIT
(
kGEM
)
// GEM
23
|
BIT
(
kTOF1
)
// TOF-400
24
|
BIT
(
kTOF
)
// TOF-700
25
|
BIT
(
kTOF701
)
// TOF-701
26
|
BIT
(
kDCH
)
// DCH
27
// | BIT(kZDC) // ZDC
28
// | BIT(kECAL) // ECAL
29
|
BIT
(
kCSC
)
// CSC
30
|
BIT
(
kSCWALL
)
// SCWALL
31
// | BIT(kFHCAL) // FHCAL
32
|
BIT
(
kHODO
)
// HODO
33
|
BIT
(
kNDET
)
// Neutron Calorimeter Prototype
34
|
BIT
(
kHGND
)
// Neutron Calorimeter
35
|
BIT
(
kSiBT
)
// SiBD
36
|
BIT
(
kVSP
)
// VSP
37
// | BIT(kMSC) // Scalers and other spill data
38
;
39
bm->
SetDetectorSetup
(setup);
40
41
bm->
SetPeriodID
(periodID);
42
bm->
MonitorStreamZ
(dirName, refDir, decoAddr, webPort);
43
delete
bm;
44
}
Int_t
int Int_t
BIT
#define BIT(n)
gROOT
#define gROOT
kBC
@ kBC
Definition
BmnDetectorList.h:31
kSILICON
@ kSILICON
Definition
BmnDetectorList.h:25
kNDET
@ kNDET
Definition
BmnDetectorList.h:35
kGEM
@ kGEM
Definition
BmnDetectorList.h:15
kTOF
@ kTOF
Definition
BmnDetectorList.h:18
kVSP
@ kVSP
Definition
BmnDetectorList.h:21
kHGND
@ kHGND
Definition
BmnDetectorList.h:36
kTOF1
@ kTOF1
Definition
BmnDetectorList.h:16
kSCWALL
@ kSCWALL
Definition
BmnDetectorList.h:32
kCSC
@ kCSC
Definition
BmnDetectorList.h:24
kTOF701
@ kTOF701
Definition
BmnDetectorList.h:19
kDCH
@ kDCH
Definition
BmnDetectorList.h:17
kSiBT
@ kSiBT
Definition
BmnDetectorList.h:28
kHODO
@ kHODO
Definition
BmnDetectorList.h:33
BmnMonitor
Definition
BmnMonitor.h:35
BmnMonitor::MonitorStreamZ
void MonitorStreamZ(TString dir, TString refDir="", TString decoAddr="localhost", Int_t webPort=9000)
Definition
BmnMonitor.cxx:104
BmnMonitor::SetDetectorSetup
void SetDetectorSetup(uint64_t setup)
Definition
BmnMonitor.h:51
BmnMonitor::SetPeriodID
void SetPeriodID(Int_t v)
Definition
BmnMonitor.h:43
TString
monitor
void monitor(Int_t periodID=9, TString dirName=".", TString refDir=".", TString decoAddr="localhost:5555", Int_t webPort=9000)
Definition
monitor.C:6
macro
monitor
monitor.C
Generated on
for BmnRoot by
1.17.0