Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CutMonitorRequest.cxx
1#include "CutMonitorRequest.h"
2namespace Hal {
4 switch (dim) {
5 case 'y': return fYConf; break;
6 case 'z': return fZConf; break;
7 default: return fXConf; break;
8 }
9 }
10
11 CutMonitorRequest::CutMonitorRequest(const CutMonAxisConf& x) : fDim(1) { fXConf = x; }
12
13 CutMonitorRequest::CutMonitorRequest(const CutMonAxisConf& x, const CutMonAxisConf& y) : fDim(2) {
14 fXConf = x;
15 fYConf = y;
16 }
17
18 CutMonitorRequest::CutMonitorRequest(const CutMonAxisConf& x, const CutMonAxisConf& y, const CutMonAxisConf& z) : fDim(3) {
19 fXConf = x;
20 fYConf = y;
21 fZConf = z;
22 }
23
24 void CutMonAxisConf::FixCutNo(Int_t no) {
25 if (fCutNo == -1) fCutNo = no;
26 }
27} // namespace Hal
CutMonAxisConf GetConf(Char_t axis) const