Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Qiunan Zhang
cbmroot
Commits
d7b8325d
Commit
d7b8325d
authored
4 years ago
by
Pierre-Alain Loizeau
Browse files
Options
Downloads
Patches
Plain Diff
Apply format
parent
6864e354
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
macro/beamtime/mcbm2020/mcbm_build_and_reco_kronos.C
+13
-13
13 additions, 13 deletions
macro/beamtime/mcbm2020/mcbm_build_and_reco_kronos.C
reco/detectors/trd/CbmTrdClusterFinder.cxx
+2
-2
2 additions, 2 deletions
reco/detectors/trd/CbmTrdClusterFinder.cxx
with
15 additions
and
15 deletions
macro/beamtime/mcbm2020/mcbm_build_and_reco_kronos.C
+
13
−
13
View file @
d7b8325d
...
...
@@ -7,11 +7,11 @@
// --------------------------------------------------------------------------
void
mcbm_build_and_reco_kronos
(
UInt_t
uRunIdx
=
28
,
Int_t
nTimeslices
=
300
,
TString
outDir
=
"data/"
)
{
void
mcbm_build_and_reco_kronos
(
UInt_t
uRunIdx
=
28
,
Int_t
nTimeslices
=
300
,
TString
outDir
=
"data/"
)
{
UInt_t
uRunId
=
0
;
TString
inFile
=
"./data/unp_mcbm_0.root"
;
TString
inFile
=
"./data/unp_mcbm_0.root"
;
TString
parFileIn
=
"./data/unp_mcbm_params_0.root"
;
if
(
99999
!=
uRunIdx
)
{
std
::
vector
<
UInt_t
>
vuListRunId
=
{
...
...
@@ -36,12 +36,12 @@ void mcbm_build_and_reco_kronos(UInt_t uRunIdx = 28,
if
(
vuListRunId
.
size
()
<=
uRunIdx
)
return
kFALSE
;
uRunId
=
vuListRunId
[
uRunIdx
];
inFile
=
Form
(
"/lustre/cbm/users/ploizeau/mcbm2020/"
"unp_evt_data_7f229b3f_20201103/unp_mcbm_%u.root"
,
uRunId
);
inFile
=
Form
(
"/lustre/cbm/users/ploizeau/mcbm2020/"
"unp_evt_data_7f229b3f_20201103/unp_mcbm_%u.root"
,
uRunId
);
parFileIn
=
Form
(
"/lustre/cbm/users/ploizeau/mcbm2020/
"
unp_evt_data_7f229b3f_20201103
/
unp_mcbm_params_
%
u
.
root
",
uRunId);
"
unp_evt_data_7f229b3f_20201103
/
unp_mcbm_params_
%
u
.
root
",
uRunId);
} // if( 99999 != uRunIdx )
if (uRunId < 692 && 0 != uRunId) return kFALSE;
...
...
@@ -66,7 +66,7 @@ void mcbm_build_and_reco_kronos(UInt_t uRunIdx = 28,
// ----- In- and output file names ------------------------------------
TString geoFile = paramDir + "
mcbm2020_reco
.
geo
.
root
"; // Created in sim. run
TString parFileOut = Form("
.
/
data
/
reco_mcbm_evt_win_params_
%
u
.
root
", uRunId);
TString outFile = Form("
.
/
data
/
reco_mcbm_evt_win_
%
u
.
root
", uRunId);
TString outFile
= Form("
.
/
data
/
reco_mcbm_evt_win_
%
u
.
root
", uRunId);
// ------------------------------------------------------------------------
...
...
@@ -266,10 +266,10 @@ void mcbm_build_and_reco_kronos(UInt_t uRunIdx = 28,
// ----- Parameter database --------------------------------------------
std::cout << std::endl << std::endl;
std::cout << "
-
I
-
" << myName << "
:
Set
runtime
DB
" << std::endl;
FairRuntimeDb* rtdb = run->GetRuntimeDb();
FairParRootFileIo* parIo1 = new FairParRootFileIo();
FairRuntimeDb* rtdb
= run->GetRuntimeDb();
FairParRootFileIo* parIo1
= new FairParRootFileIo();
FairParAsciiFileIo* parIo2 = new FairParAsciiFileIo();
FairParRootFileIo* parIo3 = new FairParRootFileIo();
FairParRootFileIo* parIo3
= new FairParRootFileIo();
parIo1->open(parFileIn.Data(), "
READ
");
parIo3->open(parFileOut.Data(), "
RECREATE
");
rtdb->setFirstInput(parIo1);
...
...
This diff is collapsed.
Click to expand it.
reco/detectors/trd/CbmTrdClusterFinder.cxx
+
2
−
2
View file @
d7b8325d
...
...
@@ -172,8 +172,8 @@ InitStatus CbmTrdClusterFinder::Init() {
ioman
->
Register
(
"TrdCluster"
,
"TRD"
,
fClusters
,
IsOutputBranchPersistent
(
"TrdCluster"
));
if
(
!
IsTimeBased
()
&&
nullptr
==
dynamic_cast
<
TClonesArray
*>
(
ioman
->
GetObject
(
"CbmEvent"
)))
{
if
(
!
IsTimeBased
()
&&
nullptr
==
dynamic_cast
<
TClonesArray
*>
(
ioman
->
GetObject
(
"CbmEvent"
)))
{
LOG
(
warn
)
<<
GetName
()
<<
": Event mode selected but no event array found! Run in "
"time-based mode."
;
...
...
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