eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
Main Page
Related Pages
Classes
Files
File List
File Members
EventDisFactory.h
Go to the documentation of this file.
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_
Smear::Detector
Definition:
Detector.h:44
Smear::EventDisFactory::EventDisFactory
EventDisFactory(const Detector &, TBranch &)
Definition:
EventDisFactory.cxx:37
Smear::EventFactory
Definition:
EventFactory.h:30
Smear::EventDisFactory::GetEvBufferPtr
erhic::VirtualEvent * GetEvBufferPtr()
Definition:
EventDisFactory.h:59
erhic::VirtualEvent
Abstract base class for a physics event.
Definition:
VirtualEvent.h:25
EventSmear.h
Smear::EventDisFactory::~EventDisFactory
virtual ~EventDisFactory()
Definition:
EventDisFactory.cxx:34
erhic::EventDis
Definition:
EventDis.h:37
Detector.h
Smear::EventDisFactory::Create
virtual Event * Create()
Definition:
EventDisFactory.cxx:43
EventFactory.h
Smear::EventDisFactory
Definition:
EventDisFactory.h:30
Smear::Event
Definition:
EventSmear.h:29
eic-smear
include
eicsmear
smear
EventDisFactory.h
Generated on Thu Jul 24 2014 15:18:39 for eic-smear by
1.8.7