R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
testNeulandDigitizer.C
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3
* Copyright (C) 2019-2025 Members of R3B Collaboration *
4
* *
5
* This software is distributed under the terms of the *
6
* GNU General Public Licence (GPL) version 3, *
7
* copied verbatim in the file "LICENSE". *
8
* *
9
* In applying this license GSI does not waive the privileges and immunities *
10
* granted to it by virtue of its status as an Intergovernmental Organization *
11
* or submit itself to any jurisdiction. *
12
******************************************************************************/
13
14
void
testNeulandDigitizer
()
15
{
16
TStopwatch timer;
17
timer.Start();
18
19
FairLogger::GetLogger()->SetLogScreenLevel(
"debug"
);
20
21
FairRunAna run;
22
run.SetSource(
new
FairFileSource(
"test.simu.root"
));
23
run.SetSink(
new
FairRootFileSink(
"test.digi.root"
));
24
25
auto
io =
new
FairParRootFileIo();
26
io->open(
"test.para.root"
);
27
run.GetRuntimeDb()->setFirstInput(io);
28
29
run.AddTask(
new
R3BNeulandDigitizer
(
R3BNeulandDigitizer::Options::neulandTamex
));
30
run.AddTask(
new
R3BNeulandClusterFinder
());
31
run.AddTask(
new
R3BNeulandPrimaryInteractionFinder
());
32
run.AddTask(
new
R3BNeulandPrimaryClusterFinder
());
33
34
run.Init();
35
run.Run(0, 0);
36
37
timer.Stop();
38
cout <<
"Macro finished successfully."
<< endl;
39
cout <<
"Real time: "
<< timer.RealTime() <<
"s, CPU time: "
<< timer.CpuTime() <<
"s"
<< endl;
40
}
R3BNeulandClusterFinder
Definition
R3BNeulandClusterFinder.h:35
R3BNeulandDigitizer
NeuLAND digitizing finder task.
Definition
R3BNeulandDigitizer.h:51
R3BNeulandDigitizer::Options::neulandTamex
@ neulandTamex
Definition
R3BNeulandDigitizer.h:55
R3BNeulandPrimaryClusterFinder
Definition
R3BNeulandPrimaryClusterFinder.h:22
R3BNeulandPrimaryInteractionFinder
Definition
R3BNeulandPrimaryInteractionFinder.h:27
testNeulandDigitizer
void testNeulandDigitizer()
Definition
testNeulandDigitizer.C:14
neuland
test
testNeulandDigitizer.C
Generated by
1.13.2