BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnTimeDetQa.h
Go to the documentation of this file.
1
#include "
BmnQaHistoManager.h
"
2
3
#include <BmnOfflineQaSteering.h>
4
#include <
TH1F.h
>
5
#include <
TNamed.h
>
6
7
#ifndef BMNTIMEDETQA_H
8
#define BMNTIMEDETQA_H 1
9
10
using namespace
std
;
11
12
class
BmnTimeDetQa
:
public
TNamed
13
{
14
public
:
15
/** Default constructor **/
16
BmnTimeDetQa
() {};
17
BmnTimeDetQa
(
TString
, UInt_t);
18
19
/** Destructor **/
20
virtual
~BmnTimeDetQa
() {};
21
22
// Setters
23
24
// Getters
25
26
BmnQaHistoManager
*
GetManager
() {
return
fHistoManager
; }
27
28
private
:
29
BmnOfflineQaSteering
*
fSteering
;
30
BmnQaHistoManager
*
fHistoManager
;
31
32
void
CommonInfo
(
TString
detName)
33
{
34
fHistoManager
->Create1<
TH1F
>(
35
Form
(
"%s_1d, Distribution of times"
, detName.
Data
()),
Form
(
"%s, Distribution of times"
, detName.
Data
()),
36
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of times"
, detName.
Data
()))[0],
37
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of times"
, detName.
Data
()))[1],
38
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of times"
, detName.
Data
()))[2]);
39
40
fHistoManager
->Create1<
TH1F
>(
41
Form
(
"%s_1d, Distribution of planes"
, detName.
Data
()),
Form
(
"%s, Distribution of planes"
, detName.
Data
()),
42
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of planes"
, detName.
Data
()))[0],
43
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of planes"
, detName.
Data
()))[1],
44
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of planes"
, detName.
Data
()))[2]);
45
}
46
47
void
MwpcDchInfo
(
TString
detName)
48
{
49
fHistoManager
->Create1<
TH1F
>(
50
Form
(
"%s_1d, Distribution of wires"
, detName.
Data
()),
Form
(
"%s, Distribution of wires"
, detName.
Data
()),
51
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of wires"
, detName.
Data
()))[0],
52
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of wires"
, detName.
Data
()))[1],
53
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of wires"
, detName.
Data
()))[2]);
54
}
55
56
void
TofInfo
(
TString
detName)
57
{
58
fHistoManager
->Create1<
TH1F
>(
59
Form
(
"%s_1d, Distribution of strips"
, detName.
Data
()),
Form
(
"%s, Distribution of strips"
, detName.
Data
()),
60
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of strips"
, detName.
Data
()))[0],
61
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of strips"
, detName.
Data
()))[1],
62
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of strips"
, detName.
Data
()))[2]);
63
fHistoManager
->Create1<
TH1F
>(
64
Form
(
"%s_1d, Distribution of amplitudes"
, detName.
Data
()),
65
Form
(
"%s, Distribution of amplitudes"
, detName.
Data
()),
66
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of amplitudes"
, detName.
Data
()))[0],
67
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of amplitudes"
, detName.
Data
()))[1],
68
fSteering
->GetAxisAttributes(
Form
(
"%s_1d, Distribution of amplitudes"
, detName.
Data
()))[2]);
69
}
70
71
ClassDef
(
BmnTimeDetQa
, 1);
72
};
73
74
#endif
BmnQaHistoManager.h
ClassDef
#define ClassDef(name, id)
TH1F.h
TNamed.h
Form
char * Form(const char *fmt,...)
BmnOfflineQaSteering
Definition
BmnOfflineQaSteering.h:22
BmnQaHistoManager
Definition
BmnQaHistoManager.h:10
BmnTimeDetQa
Definition
BmnTimeDetQa.h:13
BmnTimeDetQa::MwpcDchInfo
void MwpcDchInfo(TString detName)
Definition
BmnTimeDetQa.h:47
BmnTimeDetQa::CommonInfo
void CommonInfo(TString detName)
Definition
BmnTimeDetQa.h:32
BmnTimeDetQa::GetManager
BmnQaHistoManager * GetManager()
Definition
BmnTimeDetQa.h:26
BmnTimeDetQa::~BmnTimeDetQa
virtual ~BmnTimeDetQa()
Destructor.
Definition
BmnTimeDetQa.h:20
BmnTimeDetQa::BmnTimeDetQa
BmnTimeDetQa(TString, UInt_t)
BmnTimeDetQa::TofInfo
void TofInfo(TString detName)
Definition
BmnTimeDetQa.h:56
BmnTimeDetQa::fSteering
BmnOfflineQaSteering * fSteering
Definition
BmnTimeDetQa.h:29
BmnTimeDetQa::fHistoManager
BmnQaHistoManager * fHistoManager
Definition
BmnTimeDetQa.h:30
BmnTimeDetQa::BmnTimeDetQa
BmnTimeDetQa()
Default constructor.
Definition
BmnTimeDetQa.h:16
TH1F
TNamed
TString
TString::Data
const char * Data() const
std
Definition
json.hpp:4446
QA
offline
BmnTimeDetQa.h
Generated on
for BmnRoot by
1.17.0