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
ac2ebc92
Commit
ac2ebc92
authored
2 years ago
by
Pierre-Alain Loizeau
Committed by
Florian Uhlig
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[mCBM reco 22] Fix active geo check for TRD2D to run w/o TRD1D
parent
b093be8c
No related branches found
No related tags found
1 merge request
!1511
Mcbm fixes in digi event builder and in macros, cherry-picked from !1145
Pipeline
#26409
failed
1 year ago
Stage: package
Stage: verify
Stage: documentation
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
macro/beamtime/mcbm2022/mcbm_reco.C
+5
-4
5 additions, 4 deletions
macro/beamtime/mcbm2022/mcbm_reco.C
with
5 additions
and
4 deletions
macro/beamtime/mcbm2022/mcbm_reco.C
+
5
−
4
View file @
ac2ebc92
...
@@ -42,7 +42,7 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
...
@@ -42,7 +42,7 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
// --- Logger settings ----------------------------------------------------
// --- Logger settings ----------------------------------------------------
TString
logLevel
=
"INFO"
;
//"INFO";
TString
logLevel
=
"INFO"
;
//"INFO";
TString
logVerbosity
=
"
VERY
LOW"
;
//"VERYLOW";
TString
logVerbosity
=
"LOW"
;
//"VERYLOW";
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
...
@@ -148,7 +148,7 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
...
@@ -148,7 +148,7 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
bSTS
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kSts
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kSts
,
kFALSE
);
bSTS
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kSts
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kSts
,
kFALSE
);
bMUCH
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kMuch
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kMuch
,
kFALSE
);
bMUCH
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kMuch
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kMuch
,
kFALSE
);
bRICH
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kRich
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kRich
,
kFALSE
);
bRICH
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kRich
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kRich
,
kFALSE
);
bTRD
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd
,
kFALSE
);
(
bTRD
||
bTRD2d
)
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd
,
kFALSE
);
bTRD2d
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd2d
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd2d
,
kFALSE
);
bTRD2d
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd2d
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kTrd2d
,
kFALSE
);
bTOF
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kTof
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kTof
,
kFALSE
);
bTOF
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kTof
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kTof
,
kFALSE
);
bPSD
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kPsd
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kPsd
,
kFALSE
);
bPSD
?
geoSetup
->
SetActive
(
ECbmModuleId
::
kPsd
,
kTRUE
)
:
geoSetup
->
SetActive
(
ECbmModuleId
::
kPsd
,
kFALSE
);
...
@@ -412,7 +412,8 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
...
@@ -412,7 +412,8 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
// === local TRD Reconstruction ===
// === local TRD Reconstruction ===
// =========================================================================
// =========================================================================
if
(
bTRD
&&
geoSetup
->
IsActive
(
ECbmModuleId
::
kTrd
))
{
if
((
bTRD
&&
geoSetup
->
IsActive
(
ECbmModuleId
::
kTrd
))
||
(
bTRD2d
&&
(
geoSetup
->
IsActive
(
ECbmModuleId
::
kTrd2d
)
||
geoSetup
->
IsActive
(
ECbmModuleId
::
kTrd
))))
{
CbmTrdClusterFinder
*
trdCluster
;
CbmTrdClusterFinder
*
trdCluster
;
Double_t
triggerThreshold
=
0.5e-6
;
// SIS100
Double_t
triggerThreshold
=
0.5e-6
;
// SIS100
...
@@ -467,7 +468,7 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
...
@@ -467,7 +468,7 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
Int_t
RefSel
=
0
;
Int_t
RefSel
=
0
;
Double_t
dDeadtime
=
50
.;
Double_t
dDeadtime
=
50
.;
Int_t
iSel2
=
500
;
Int_t
iSel2
=
500
;
Bool_t
bOut
=
k
FALS
E
;
Bool_t
bOut
=
k
TRU
E
;
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
gROOT
->
LoadMacro
(
srcDir
+
"/macro/beamtime/mcbm2022/ini_tof_clusterizer.C"
);
gROOT
->
LoadMacro
(
srcDir
+
"/macro/beamtime/mcbm2022/ini_tof_clusterizer.C"
);
...
...
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