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
EventDisFactory.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventDisFactory.h
1
10
#ifndef INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
11
#define INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
12
13
#include "
eicsmear/smear/Detector.h
"
14
#include "
eicsmear/smear/EventSmear.h
"
15
#include "
eicsmear/smear/EventFactory.h
"
16
17
class
TBranch;
18
19
namespace
erhic {
20
21
class
EventDis;
22
23
}
// namespace erhic
24
25
namespace
Smear {
26
30
class
EventDisFactory
:
public
EventFactory
<Smear::Event> {
31
public
:
35
virtual
~EventDisFactory
();
36
42
EventDisFactory
(
const
Detector
&, TBranch&);
43
50
virtual
Event
*
Create
();
51
52
erhic::VirtualEvent
*
GetEvBufferPtr
();
53
54
protected
:
55
Detector
mDetector
;
56
erhic::EventDis
*
mMcEvent
;
57
};
58
59
inline
erhic::VirtualEvent
*
EventDisFactory::GetEvBufferPtr
() {
60
return
mMcEvent
;
61
}
62
63
}
// namespace Smear
64
65
#endif // INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
eic-smear
blob
master
include
eicsmear
smear
EventDisFactory.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration