Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
7932739c
Commit
7932739c
authored
1 year ago
by
Sergei Zharko
Committed by
Sergey Gorbunov
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
QA: Added event-builder type to the parameters of the run_qa function
parent
96f252cd
No related branches found
No related tags found
1 merge request
!1595
QA: Added event-builder type to the parameters of the run_qa function
Pipeline
#26688
failed
1 year ago
Stage: package
Stage: verify
Stage: documentation
Changes
3
Pipelines
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
core/qa/CbmQaTask.h
+5
-1
5 additions, 1 deletion
core/qa/CbmQaTask.h
macro/run/run_qa.C
+7
-5
7 additions, 5 deletions
macro/run/run_qa.C
reco/L1/qa/CbmCaOutputQa.cxx
+811
-811
811 additions, 811 deletions
reco/L1/qa/CbmCaOutputQa.cxx
with
823 additions
and
817 deletions
core/qa/CbmQaTask.h
+
5
−
1
View file @
7932739c
...
...
@@ -101,6 +101,11 @@ class CbmQaTask : public FairTask, public CbmQaIO {
/// \return false Some of the objects are inconsistent
bool
CompareQaObjects
();
/// \brief Disables event-by-event execution
///
/// By default, if the branch
void
DisableEventMode
();
/// \brief FairTask: Defines action of the task in the event/TS
void
Exec
(
Option_t
*
/*option*/
)
override
;
...
...
@@ -155,7 +160,6 @@ class CbmQaTask : public FairTask, public CbmQaIO {
/// \brief Sets name of the setup
void
SetSetupName
(
const
char
*
setup
)
{
fsSetupName
=
setup
;
}
protected
:
/// \brief De-initialize the task
virtual
void
DeInit
()
{}
...
...
This diff is collapsed.
Click to expand it.
macro/run/run_qa.C
+
7
−
5
View file @
7932739c
...
...
@@ -38,11 +38,11 @@
#endif
void
run_qa
(
TString
data
=
"test"
,
TString
setup
=
"sis100_electron"
,
Int_t
nEvents
=
-
1
,
TString
dataTra2
=
""
,
TString
dataTra3
=
""
,
TString
configName
=
""
);
TString
dataTra3
=
""
,
TString
configName
=
""
,
TString
sEvBuildRaw
=
""
);
void
run_qa
(
TString
dataTra
,
TString
dataRaw
,
TString
dataReco
,
TString
dataPar
,
TString
dataSink
,
TString
setup
=
"sis100_electron"
,
Int_t
nEvents
=
-
1
,
TString
dataTra2
=
""
,
TString
dataTra3
=
""
,
TString
configName
=
""
)
TString
configName
=
""
,
TString
sEvBuildRaw
=
""
)
{
gROOT
->
SetBatch
(
kTRUE
);
...
...
@@ -89,7 +89,7 @@ void run_qa(TString dataTra, TString dataRaw, TString dataReco, TString dataPar,
// ------------------------------------------------------------------------
// ----- Some global switches -----------------------------------------
//
Bool_t
e
ventBased = !sEvBuildRaw.IsNull();
Bool_t
bE
ventBased
Reco
=
!
sEvBuildRaw
.
IsNull
();
bool
bUseMvd
=
geo
->
IsActive
(
ECbmModuleId
::
kMvd
);
bool
bUseSts
=
geo
->
IsActive
(
ECbmModuleId
::
kSts
);
bool
bUseRich
=
geo
->
IsActive
(
ECbmModuleId
::
kRich
);
...
...
@@ -259,6 +259,7 @@ void run_qa(TString dataTra, TString dataRaw, TString dataReco, TString dataPar,
caParFile
.
ReplaceAll
(
".root"
,
".L1Parameters.dat"
);
auto
*
pCaOutputQa
=
new
cbm
::
ca
::
OutputQa
(
verbose
,
bUseMC
);
pCaOutputQa
->
SetProcessFullTs
(
!
bEventBasedReco
);
pCaOutputQa
->
SetStsTrackingMode
();
pCaOutputQa
->
ReadParameters
(
caParFile
.
Data
());
if
(
configName
.
Length
()
!=
0
)
{
...
...
@@ -335,7 +336,8 @@ void run_qa(TString dataTra, TString dataRaw, TString dataReco, TString dataPar,
// ------------------------------------------------------------------------
}
void
run_qa
(
TString
data
,
TString
setup
,
Int_t
nEvents
,
TString
dataTra2
,
TString
dataTra3
,
TString
configName
)
void
run_qa
(
TString
data
,
TString
setup
,
Int_t
nEvents
,
TString
dataTra2
,
TString
dataTra3
,
TString
configName
,
TString
sEvBuildRaw
)
{
run_qa
(
data
,
data
,
data
,
data
,
data
,
setup
,
nEvents
,
dataTra2
,
dataTra3
,
configName
);
run_qa
(
data
,
data
,
data
,
data
,
data
,
setup
,
nEvents
,
dataTra2
,
dataTra3
,
configName
,
sEvBuildRaw
);
}
This diff is collapsed.
Click to expand it.
reco/L1/qa/CbmCaOutputQa.cxx
+
811
−
811
View file @
7932739c
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment