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
08ed1568
Commit
08ed1568
authored
1 week ago
by
David Emschermann
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix: Resolve TRD and MUCH mixup
parent
19cf3552
No related branches found
No related tags found
1 merge request
!2061
Bugfix: Resolve TRD and MUCH mixup
Pipeline
#33449
passed
1 week ago
Stage: package
Stage: verify
Stage: documentation
Stage: deploy
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
macro/mcbm/eventDisplay.C
+15
-7
15 additions, 7 deletions
macro/mcbm/eventDisplay.C
macro/run/eventDisplay.C
+16
-7
16 additions, 7 deletions
macro/run/eventDisplay.C
with
31 additions
and
14 deletions
macro/mcbm/eventDisplay.C
+
15
−
7
View file @
08ed1568
/* Copyright (C) 2008-20
19
GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
/* Copyright (C) 2008-20
25
GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
SPDX-License-Identifier: GPL-3.0-only
SPDX-License-Identifier: GPL-3.0-only
Authors: Andrey Lebedev, David Emschermann, Volker Friese, Mohammad Al-Turany [committer], Florian Uhlig */
Authors: Andrey Lebedev, David Emschermann [committer], Volker Friese, Mohammad Al-Turany, Florian Uhlig */
// clang-format off
void
eventDisplay
(
TString
dataset
=
"data/test"
)
void
eventDisplay
(
TString
dataset
=
"data/test"
)
{
{
...
@@ -31,26 +33,32 @@ void eventDisplay(TString dataset = "data/test")
...
@@ -31,26 +33,32 @@ void eventDisplay(TString dataset = "data/test")
FairMCPointDraw
*
MvdPoint
=
new
FairMCPointDraw
(
"MvdPoint"
,
kBlack
,
kFullSquare
);
FairMCPointDraw
*
MvdPoint
=
new
FairMCPointDraw
(
"MvdPoint"
,
kBlack
,
kFullSquare
);
FairMCPointDraw
*
StsPoint
=
new
FairMCPointDraw
(
"StsPoint"
,
kBlue
,
kFullSquare
);
FairMCPointDraw
*
StsPoint
=
new
FairMCPointDraw
(
"StsPoint"
,
kBlue
,
kFullSquare
);
FairMCPointDraw
*
RichPoint
=
new
FairMCPointDraw
(
"RichPoint"
,
kOrange
,
kFullSquare
);
FairMCPointDraw
*
RichPoint
=
new
FairMCPointDraw
(
"RichPoint"
,
kOrange
,
kFullSquare
);
FairMCPointDraw
*
RefPlanePoint
=
new
FairMCPointDraw
(
"RefPlanePoint"
,
kPink
,
kFullSquare
);
FairMCPointDraw
*
RefPlanePoint
=
new
FairMCPointDraw
(
"RefPlanePoint"
,
kPink
,
kFullSquare
);
FairMCPointDraw
*
TrdPoint
=
new
FairMCPointDraw
(
"MuchPoint"
,
kYellow
,
kFullSquare
);
FairMCPointDraw
*
MuchPoint
=
new
FairMCPointDraw
(
"MuchPoint"
,
kYellow
,
kFullSquare
);
FairMCPointDraw
*
MuchPoint
=
new
FairMCPointDraw
(
"TrdPoint"
,
kCyan
,
kFullSquare
);
// FairMCPointDraw* MustPoint = new FairMCPointDraw("MustPoint", kOrange, kFullSquare);
FairMCPointDraw
*
TrdPoint
=
new
FairMCPointDraw
(
"TrdPoint"
,
kGreen
,
kFullSquare
);
FairMCPointDraw
*
TofPoint
=
new
FairMCPointDraw
(
"TofPoint"
,
kRed
,
kFullSquare
);
FairMCPointDraw
*
TofPoint
=
new
FairMCPointDraw
(
"TofPoint"
,
kRed
,
kFullSquare
);
FairMCPointDraw
*
EcalPoint
=
new
FairMCPointDraw
(
"EcalPoint"
,
kYellow
,
kFullSquare
);
//
FairMCPointDraw* EcalPoint = new FairMCPointDraw("EcalPoint", kYellow, kFullSquare);
fMan
->
AddTask
(
Track
);
fMan
->
AddTask
(
Track
);
fMan
->
AddTask
(
MvdPoint
);
fMan
->
AddTask
(
MvdPoint
);
fMan
->
AddTask
(
StsPoint
);
fMan
->
AddTask
(
StsPoint
);
fMan
->
AddTask
(
RichPoint
);
fMan
->
AddTask
(
RichPoint
);
fMan
->
AddTask
(
RefPlanePoint
);
fMan
->
AddTask
(
RefPlanePoint
);
fMan
->
AddTask
(
MuchPoint
);
fMan
->
AddTask
(
MuchPoint
);
// fMan->AddTask(MustPoint);
fMan
->
AddTask
(
TrdPoint
);
fMan
->
AddTask
(
TrdPoint
);
fMan
->
AddTask
(
TofPoint
);
fMan
->
AddTask
(
TofPoint
);
fMan
->
AddTask
(
EcalPoint
);
//
fMan->AddTask(EcalPoint);
// fMan->Init(1,4,10000);
// fMan->Init(1,4,10000);
fMan
->
Init
(
1
,
5
,
10000
);
// make STS visible by default
fMan
->
Init
(
1
,
5
,
10000
);
// make STS visible by default
// fMan->Init(1,6,10000); // make MVD visible by default
// fMan->Init(1,6,10000); // make MVD visible by default
// fMan->Init(1,7,10000);
// make MVD visible by default
// fMan->Init(1,7,10000);
}
}
This diff is collapsed.
Click to expand it.
macro/run/eventDisplay.C
+
16
−
7
View file @
08ed1568
/* Copyright (C) 2008-20
19
GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
/* Copyright (C) 2008-20
25
GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
SPDX-License-Identifier: GPL-3.0-only
SPDX-License-Identifier: GPL-3.0-only
Authors: Andrey Lebedev, David Emschermann, Volker Friese, Mohammad Al-Turany
[committer]
, Florian Uhlig */
Authors: Andrey Lebedev, David Emschermann
[committer]
, Volker Friese, Mohammad Al-Turany, Florian Uhlig */
void
eventDisplay
(
TString
dataset
=
"data/test"
)
// clang-format off
void
eventDisplay
(
TString
dataset
=
"test"
)
//void eventDisplay(TString dataset = "data/test")
{
{
TString
inFile
=
dataset
+
".tra.root"
;
TString
inFile
=
dataset
+
".tra.root"
;
TString
parFile
=
dataset
+
".par.root"
;
TString
parFile
=
dataset
+
".par.root"
;
...
@@ -31,22 +34,28 @@ void eventDisplay(TString dataset = "data/test")
...
@@ -31,22 +34,28 @@ void eventDisplay(TString dataset = "data/test")
FairMCPointDraw
*
MvdPoint
=
new
FairMCPointDraw
(
"MvdPoint"
,
kBlack
,
kFullSquare
);
FairMCPointDraw
*
MvdPoint
=
new
FairMCPointDraw
(
"MvdPoint"
,
kBlack
,
kFullSquare
);
FairMCPointDraw
*
StsPoint
=
new
FairMCPointDraw
(
"StsPoint"
,
kBlue
,
kFullSquare
);
FairMCPointDraw
*
StsPoint
=
new
FairMCPointDraw
(
"StsPoint"
,
kBlue
,
kFullSquare
);
FairMCPointDraw
*
RichPoint
=
new
FairMCPointDraw
(
"RichPoint"
,
kOrange
,
kFullSquare
);
FairMCPointDraw
*
RichPoint
=
new
FairMCPointDraw
(
"RichPoint"
,
kOrange
,
kFullSquare
);
FairMCPointDraw
*
RefPlanePoint
=
new
FairMCPointDraw
(
"RefPlanePoint"
,
kPink
,
kFullSquare
);
FairMCPointDraw
*
RefPlanePoint
=
new
FairMCPointDraw
(
"RefPlanePoint"
,
kPink
,
kFullSquare
);
FairMCPointDraw
*
TrdPoint
=
new
FairMCPointDraw
(
"MuchPoint"
,
kYellow
,
kFullSquare
);
FairMCPointDraw
*
MuchPoint
=
new
FairMCPointDraw
(
"MuchPoint"
,
kYellow
,
kFullSquare
);
FairMCPointDraw
*
MuchPoint
=
new
FairMCPointDraw
(
"TrdPoint"
,
kCyan
,
kFullSquare
);
// FairMCPointDraw* MustPoint = new FairMCPointDraw("MustPoint", kOrange, kFullSquare);
FairMCPointDraw
*
TrdPoint
=
new
FairMCPointDraw
(
"TrdPoint"
,
kGreen
,
kFullSquare
);
FairMCPointDraw
*
TofPoint
=
new
FairMCPointDraw
(
"TofPoint"
,
kRed
,
kFullSquare
);
FairMCPointDraw
*
TofPoint
=
new
FairMCPointDraw
(
"TofPoint"
,
kRed
,
kFullSquare
);
FairMCPointDraw
*
EcalPoint
=
new
FairMCPointDraw
(
"EcalPoint"
,
kYellow
,
kFullSquare
);
//
FairMCPointDraw* EcalPoint = new FairMCPointDraw("EcalPoint", kYellow, kFullSquare);
fMan
->
AddTask
(
Track
);
fMan
->
AddTask
(
Track
);
fMan
->
AddTask
(
MvdPoint
);
fMan
->
AddTask
(
MvdPoint
);
fMan
->
AddTask
(
StsPoint
);
fMan
->
AddTask
(
StsPoint
);
fMan
->
AddTask
(
RichPoint
);
fMan
->
AddTask
(
RichPoint
);
fMan
->
AddTask
(
RefPlanePoint
);
fMan
->
AddTask
(
RefPlanePoint
);
fMan
->
AddTask
(
MuchPoint
);
fMan
->
AddTask
(
MuchPoint
);
// fMan->AddTask(MustPoint);
fMan
->
AddTask
(
TrdPoint
);
fMan
->
AddTask
(
TrdPoint
);
fMan
->
AddTask
(
TofPoint
);
fMan
->
AddTask
(
TofPoint
);
fMan
->
AddTask
(
EcalPoint
);
//
fMan->AddTask(EcalPoint);
// fMan->Init(1,4,10000);
// fMan->Init(1,4,10000);
...
...
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