BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
monitor_msc.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_msc
(
Int_t
periodID = 9,
7
TString
dirName =
"."
,
8
TString
refDir =
"."
,
9
TString
decoAddr =
"localhost:5556"
,
10
Int_t
webPort = 9002)
11
{
12
BmnMonitor
* bm =
new
BmnMonitor
();
13
14
uint64_t setup = 0
// flags to determine BM@N setup
15
// | BIT(kBC) // TRIGGERS
16
// | BIT(kSILICON) // SILICON
17
// | BIT(kGEM) // GEM
18
// | BIT(kTOF1) // TOF-400
19
// | BIT(kTOF) // TOF-700
20
// | BIT(kTOF701) // TOF-701
21
// | BIT(kDCH) // DCH
22
// // | BIT(kZDC) // ZDC
23
// // | BIT(kECAL) // ECAL
24
// | BIT(kCSC) // CSC
25
// | BIT(kSCWALL) // SCWALL
26
// // | BIT(kFHCAL) // FHCAL
27
// | BIT(kHODO) // HODO
28
// | BIT(kNDET) // Neutron Calorimeter Prototype
29
// | BIT(kHGND) // Neutron Calorimeter
30
// | BIT(kSiBT) // SiBD
31
// | BIT(kVSP) // VSP
32
|
BIT
(
kMSC
)
// Scalers and other spill data
33
;
34
bm->
SetDetectorSetup
(setup);
35
bm->
SetHistFileNameAdd
(
"MSC"
);
36
bm->
SetPeriodID
(periodID);
37
bm->
SetNItersToUpdate
(1e5);
38
bm->
SetSlowMode
(
false
);
39
bm->
MonitorStreamZ
(dirName, refDir, decoAddr, webPort);
40
delete
bm;
41
}
Int_t
int Int_t
BIT
#define BIT(n)
kMSC
@ kMSC
Definition
BmnDetectorList.h:39
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::SetNItersToUpdate
void SetNItersToUpdate(uint64_t val)
Definition
BmnMonitor.h:53
BmnMonitor::SetSlowMode
void SetSlowMode(bool val)
Definition
BmnMonitor.h:55
BmnMonitor::SetDetectorSetup
void SetDetectorSetup(uint64_t setup)
Definition
BmnMonitor.h:51
BmnMonitor::SetPeriodID
void SetPeriodID(Int_t v)
Definition
BmnMonitor.h:43
BmnMonitor::SetHistFileNameAdd
void SetHistFileNameAdd(TString add)
Definition
BmnMonitor.h:49
TString
monitor_msc
void monitor_msc(Int_t periodID=9, TString dirName=".", TString refDir=".", TString decoAddr="localhost:5556", Int_t webPort=9002)
Definition
monitor_msc.C:6
macro
monitor
monitor_msc.C
Generated on
for BmnRoot by
1.17.0