ER10Heto8HeEventHeader.cxx
1 |
// ----- EREXP1811EventHeader source file -----
|
---|---|
2 |
// ----- Created 03/16 by V. Schetinin -----
|
3 |
// -------------------------------------------------------------------------
|
4 |
#include "ER10Heto8HeEventHeader.h" |
5 |
|
6 |
#include "FairLogger.h" |
7 |
|
8 |
void ER10Heto8HeEventHeader::SetData(const TVector3& position, const TLorentzVector& He8b, |
9 |
const TLorentzVector& H3, const TLorentzVector& H1, |
10 |
const TLorentzVector& He8d,
|
11 |
const TLorentzVector& He10, const TLorentzVector& n1, |
12 |
const TLorentzVector& n2) {
|
13 |
fReactionPos = position; |
14 |
fHe8b = He8b; |
15 |
fH3 = H3; |
16 |
fH1 = H1; |
17 |
fHe8d = He8d; |
18 |
fHe10 = He10; |
19 |
fn1 = n1; |
20 |
fn2 = n2; |
21 |
} |
22 |
// -------------------------------------------------------------------------
|
23 |
void ER10Heto8HeEventHeader::Clear() {
|
24 |
fHe8b.SetXYZM(0, 0, 0, 0); |
25 |
fH3.SetXYZM(0, 0, 0, 0); |
26 |
fH1.SetXYZM(0, 0, 0, 0); |
27 |
fHe8d.SetXYZM(0, 0, 0, 0); |
28 |
fHe10.SetXYZM(0, 0, 0, 0); |
29 |
fn1.SetXYZM(0, 0, 0, 0); |
30 |
fn2.SetXYZM(0, 0, 0, 0); |
31 |
fTrigger = 0;
|
32 |
fTriggerPriority = 0;
|
33 |
} |
34 |
// -------------------------------------------------------------------------
|
35 |
|
36 |
ClassImp(ER10Heto8HeEventHeader) |