EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
digitization.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file digitization.C
1
2
void
digitization
()
3
{
4
// Load basic libraries;
5
gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C"
);
6
7
EicRunAna
*fRun =
new
EicRunAna
();
8
fRun->
SetInputFile
(
"simulation.root"
);
9
fRun->
SetOutputFile
(
"digitization.root"
);
10
11
// Call standard digitizing routine for our FWDST detector; assume 20x20um^2 pixels;
12
// NB: may add more EicTrackingDigiHitProducer routines here if want to use your
13
// own custom set of detectors;
14
EicTrackingDigiHitProducer
*fwdst =
15
new
EicTrackingDigiHitProducer
(
"FWDGT"
,
EicDigiHitProducer::Smear
);
16
fwdst->
DefineKfNodeTemplateXY
(0.0050, 0.0050);
17
fRun->
AddTask
(fwdst);
18
19
// Initialize and run digitization; exit at the end;
20
fRun->
Run
();
21
}
// digitization()
EicRoot
blob
master
examples
tracking
config.4
digitization.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration