BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnHodoStrip.cxx
Go to the documentation of this file.
1#include "BmnHodoStrip.h"
2
3#include "BmnHodoDigit.h"
4
5#include <utility>
6
8 : FairHit()
9 , fStripId(0)
10 , fSignal(0.f)
11 , fIntegral(0.f)
13{}
14
16 : FairHit(other)
17 , fStripId(other.fStripId)
18 , fSignal(other.fSignal)
19 , fIntegral(other.fIntegral)
21 , fDigits(other.fDigits)
22{}
23
25 : FairHit(std::move(other))
26 , fStripId(other.fStripId)
27 , fSignal(other.fSignal)
28 , fIntegral(other.fIntegral)
30 , fDigits(std::move(other.fDigits))
31{}
32
34{
35 if (this != &other) {
36 FairHit::operator=(other);
37 fStripId = other.fStripId;
38 fSignal = other.fSignal;
39 fIntegral = other.fIntegral;
41 fDigits = other.fDigits;
42 }
43 return *this;
44}
45
47{
48 if (this != &other) {
49 FairHit::operator=(std::move(other));
50 fStripId = other.fStripId;
51 fSignal = other.fSignal;
52 fIntegral = other.fIntegral;
53 fPileUpStatus = other.fPileUpStatus;
54 fDigits = std::move(other.fDigits);
55 }
56 return *this;
57}
58
60{
61 fStripId = 0;
62 fSignal = 0.f;
63 fIntegral = 0.f;
65 fDigits.clear();
66 TVector3 zero;
67 SetPosition(zero);
68 SetPositionError(zero);
69 SetRefIndex(-1);
70}
71
73{
74 fSignal = 0.f;
75 fIntegral = 0.f;
77 fDigits.clear();
78}
79
80void BmnHodoStrip::Print(Option_t* option) const {}
const char Option_t
BmnHodoStrip & operator=(const BmnHodoStrip &)
PileUp fPileUpStatus
virtual void Print(Option_t *option="") const
uint8_t fStripId
std::vector< BmnHodoDigit * > fDigits
Definition json.hpp:4446