ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtData
AtPatternEvent.cxx
Go to the documentation of this file.
1
#include "
AtPatternEvent.h
"
2
3
#include "
AtHit.h
"
// for AtHit
4
5
#include <Rtypes.h>
6
7
#include <string>
// for string
8
9
ClassImp
(
AtPatternEvent
);
10
11
AtPatternEvent::AtPatternEvent
(
const
char
*name) :
AtBaseEvent
(name) {}
12
13
AtPatternEvent::AtPatternEvent
(
const
AtPatternEvent
©) :
AtBaseEvent
(copy), fTrackCand(copy.fTrackCand)
14
{
15
for
(
const
auto
&hit : copy.
fNoise
)
16
fNoise
.push_back(hit->Clone());
17
}
18
19
AtPatternEvent
&
AtPatternEvent::operator=
(
AtPatternEvent
object
)
20
{
21
swap
(*
this
,
object
);
22
return
*
this
;
23
}
24
25
void
AtPatternEvent::Clear
(Option_t *opt)
26
{
27
AtBaseEvent::Clear
(opt);
28
fTrackCand
.clear();
29
fNoise
.clear();
30
}
AtPatternEvent
Definition:
AtPatternEvent.h:19
AtPatternEvent::swap
friend void swap(AtPatternEvent &first, AtPatternEvent &second)
Definition:
AtPatternEvent.h:37
ClassImp
ClassImp(AtPatternEvent)
AtPatternEvent::operator=
AtPatternEvent & operator=(const AtPatternEvent object)
Definition:
AtPatternEvent.cxx:19
AtPatternEvent::AtPatternEvent
AtPatternEvent(const char *name="AtPatternEvent")
Definition:
AtPatternEvent.cxx:11
AtHit.h
AtBaseEvent
Base class for all event types in ATTPCROOT.
Definition:
AtBaseEvent.h:20
AtPatternEvent.h
AtBaseEvent::Clear
void Clear(Option_t *opt) override
Definition:
AtBaseEvent.cxx:13
AtPatternEvent::fNoise
HitVector fNoise
Definition:
AtPatternEvent.h:25
AtPatternEvent::Clear
void Clear(Option_t *opt=nullptr) override
Definition:
AtPatternEvent.cxx:25
AtPatternEvent::fTrackCand
std::vector< AtTrack > fTrackCand
Definition:
AtPatternEvent.h:24
Generated on Sat Nov 11 2023 15:30:37 for ATTPCROOT by
1.8.18