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
EicSmearTask.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EicSmearTask.h
1
//
2
// AYK (ayk@bnl.gov), 2013/06/12
3
//
4
// Interface to eic-smear package;
5
//
6
7
#ifndef _EIC_SMEAR_TASK_
8
#define _EIC_SMEAR_TASK_
9
10
#include <TClonesArray.h>
11
12
#include <
FairTask.h
>
13
14
#include "
eicsmear/erhic/EventFactory.h
"
15
#include "
eicsmear/smear/EventDisFactory.h
"
16
17
class
TTree;
18
class
TFile;
19
class
TBranch;
20
21
class
EicSmearTask
:
public
FairTask
{
22
public
:
23
EicSmearTask
() {};
24
EicSmearTask
(TString _inFileName,
Smear::Detector
*rDetector = 0):
25
inFileName
(_inFileName),
mcTree
(0),
builder
(0),
detector
(rDetector) {};
26
~EicSmearTask
() {};
27
28
InitStatus
Init
();
29
30
void
SetParContainers
();
31
void
Exec
(Option_t* opt);
32
33
void
FinishTask
();
34
35
private
:
36
TString
inFileName
;
37
Smear::Detector
*
detector
;
38
39
TFile *
inFile
, *
outFile
;
40
TTree*
mcTree
, *
smearedTree
;
41
TBranch*
eventbranch
;
42
erhic::VirtualEventFactory
*
builder
;
43
44
TClonesArray *
fMCTracks
, *
fPidChargedCand
;
45
46
ClassDef
(
EicSmearTask
,12);
47
};
48
49
#endif
EicRoot
blob
master
eic
event
EicSmearTask.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration