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
//
3
// Converts MC points to hits in silicon layers; cell-type and gaussian
4
// smearing possible; "ideal" model (one hit per MC point);
5
//
6
7
void
digitization
()
8
{
9
// Load basic libraries;
10
gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C"
);
11
12
EicRunAna
*fRun =
new
EicRunAna
();
13
fRun->
SetInputFile
(
"simulation.root"
);
14
fRun->
SetOutputFile
(
"digitization.root"
);
15
16
EicTrackingDigiHitProducer
*
lqst
=
17
new
EicTrackingDigiHitProducer
(
"LQST"
,
EicDigiHitProducer::Smear
);
18
lqst->
DefineKfNodeTemplateXY
(20 *
eic::um
, 20 *
eic::um
);
19
fRun->
AddTask
(lqst);
20
21
// Initialize and run digitization; exit at the end;
22
fRun->
Run
();
23
}
// digitization()
EicRoot
blob
master
pCDR-2018
lqst
digitization.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration