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
b606f002
Commit
b606f002
authored
3 years ago
by
Valentina Akishina
Browse files
Options
Downloads
Patches
Plain Diff
L1: mCBM tracking only with setup 2020_07_surveyed
parent
e01908fe
No related branches found
No related tags found
1 merge request
!605
L1: add broken triplets for mCBM
Pipeline
#14302
passed
3 years ago
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
external/InstallParameter.cmake
+1
-1
1 addition, 1 deletion
external/InstallParameter.cmake
macro/mcbm/mcbm_reco_event.C
+59
-58
59 additions, 58 deletions
macro/mcbm/mcbm_reco_event.C
with
60 additions
and
59 deletions
external/InstallParameter.cmake
+
1
−
1
View file @
b606f002
set
(
PARAMETER_VERSION
3152a1f1bf26858deb720b6e3510175c9e6ff9ce
)
set
(
PARAMETER_VERSION
a5565588cf8a62fd6f510fa77a25da74985a25b5
)
set
(
PARAMETER_SRC_URL
"https://git.cbm.gsi.de/CbmSoft/cbmroot_parameter.git"
)
...
...
This diff is collapsed.
Click to expand it.
macro/mcbm/mcbm_reco_event.C
+
59
−
58
View file @
b606f002
...
...
@@ -358,72 +358,73 @@ void mcbm_reco_event(Int_t nEvents = 10, TString dataset = "data/test", const ch
// ------------------------------------------------------------------------
// -------- L1 CA Track Finder ---------------------------------------
if
(
strcmp
(
setupName
,
"mcbm_beam_2021_07_surveyed"
)
==
0
)
{
CbmKF
*
kalman
=
new
CbmKF
();
run
->
AddTask
(
kalman
);
CbmL1
*
l1
=
new
CbmL1
();
l1
->
SetLegacyEventMode
(
1
);
l1
->
SetMcbmMode
();
l1
->
SetUseHitErrors
(
1
);
if
(
strcmp
(
setupName
,
"mcbm_beam_2021_07_surveyed"
)
==
0
)
l1
->
SetMissingHits
(
1
);
// --- Material budget file names
TString
mvdGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kMvd
,
mvdGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/mvd/mvd_matbudget_"
+
mvdGeoTag
+
".root"
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetMvdMaterialBudgetFileName
(
parFile
.
Data
());
}
TString
stsGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kSts
,
stsGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/sts/sts_matbudget_v19a.root"
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetStsMaterialBudgetFileName
(
parFile
.
Data
());
}
CbmKF
*
kalman
=
new
CbmKF
();
run
->
AddTask
(
kalman
);
CbmL1
*
l1
=
new
CbmL1
();
l1
->
SetLegacyEventMode
(
1
);
l1
->
SetMcbmMode
();
l1
->
SetUseHitErrors
(
1
);
if
(
strcmp
(
setupName
,
"mcbm_beam_2021_07_surveyed"
)
==
0
)
l1
->
SetMissingHits
(
1
);
// --- Material budget file names
TString
mvdGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kMvd
,
mvdGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/mvd/mvd_matbudget_"
+
mvdGeoTag
+
".root"
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetMvdMaterialBudgetFileName
(
parFile
.
Data
());
}
TString
stsGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kSts
,
stsGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/sts/sts_matbudget_v19a.root"
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetStsMaterialBudgetFileName
(
parFile
.
Data
());
}
TString
muchGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kMuch
,
muchGeoTag
))
{
TString
muchGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kMuch
,
muchGeoTag
))
{
// --- Parameter file name
TString
geoTag
;
setup
->
GetGeoTag
(
ECbmModuleId
::
kMuch
,
geoTag
);
Int_t
muchFlag
=
0
;
if
(
geoTag
.
Contains
(
"mcbm"
))
muchFlag
=
1
;
// --- Parameter file name
TString
geoTag
;
setup
->
GetGeoTag
(
ECbmModuleId
::
kMuch
,
geoTag
);
Int_t
muchFlag
=
0
;
if
(
geoTag
.
Contains
(
"mcbm"
))
muchFlag
=
1
;
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/much/much_"
+
geoTag
(
0
,
4
)
+
"_digi_sector.root"
;
std
::
cout
<<
"L1: Using parameter file "
<<
parFile
<<
std
::
endl
;
l1
->
SetMuchPar
(
parFile
);
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/much/much_"
+
geoTag
(
0
,
4
)
+
"_digi_sector.root"
;
std
::
cout
<<
"L1: Using parameter file "
<<
parFile
<<
std
::
endl
;
l1
->
SetMuchPar
(
parFile
);
TString
parFile2
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile2
=
parFile2
+
"/parameters/much/much_matbudget_"
+
geoTag
+
".root "
;
std
::
cout
<<
"Using material budget file "
<<
parFile2
<<
std
::
endl
;
l1
->
SetMuchMaterialBudgetFileName
(
parFile2
.
Data
());
}
TString
parFile2
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile2
=
parFile2
+
"/parameters/much/much_matbudget_"
+
geoTag
+
".root "
;
std
::
cout
<<
"Using material budget file "
<<
parFile2
<<
std
::
endl
;
l1
->
SetMuchMaterialBudgetFileName
(
parFile2
.
Data
());
}
TString
trdGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kTrd
,
trdGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/trd/trd_matbudget_"
+
trdGeoTag
+
".root "
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetTrdMaterialBudgetFileName
(
parFile
.
Data
());
}
TString
trdGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kTrd
,
trdGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/trd/trd_matbudget_"
+
trdGeoTag
+
".root "
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetTrdMaterialBudgetFileName
(
parFile
.
Data
());
}
TString
tofGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kTof
,
tofGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/tof/tof_matbudget_"
+
tofGeoTag
+
".root "
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetTofMaterialBudgetFileName
(
parFile
.
Data
());
}
TString
tofGeoTag
;
if
(
setup
->
GetGeoTag
(
ECbmModuleId
::
kTof
,
tofGeoTag
))
{
TString
parFile
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
parFile
=
parFile
+
"/parameters/tof/tof_matbudget_"
+
tofGeoTag
+
".root "
;
std
::
cout
<<
"Using material budget file "
<<
parFile
<<
std
::
endl
;
l1
->
SetTofMaterialBudgetFileName
(
parFile
.
Data
());
}
run
->
AddTask
(
l1
);
run
->
AddTask
(
l1
);
CbmL1GlobalTrackFinder
*
globalTrackFinder
=
new
CbmL1GlobalTrackFinder
();
FairTask
*
globalFindTracks
=
new
CbmL1GlobalFindTracksEvents
(
globalTrackFinder
);
run
->
AddTask
(
globalFindTracks
);
CbmL1GlobalTrackFinder
*
globalTrackFinder
=
new
CbmL1GlobalTrackFinder
();
FairTask
*
globalFindTracks
=
new
CbmL1GlobalFindTracksEvents
(
globalTrackFinder
);
run
->
AddTask
(
globalFindTracks
);
}
// ----- Parameter database --------------------------------------------
...
...
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