-
Notifications
You must be signed in to change notification settings - Fork 1
/
HTNeutronWallRootEvent.cpp
55 lines (50 loc) · 1.53 KB
/
HTNeutronWallRootEvent.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#include <HTNeutronWallRootEvent.h>
//________________________________________________
HTNeutronWallData::HTNeutronWallData(int num_bars) :
fmulti(0)
{
fnumbar =new Int_t [num_bars];
fLeft =new Short_t [num_bars];
fRight =new Short_t [num_bars];
ffastLeft =new Short_t [num_bars];
ffastRight =new Short_t [num_bars];
fTimeLeft =new Double_t[num_bars];
fTimeRight =new Double_t[num_bars];
fGeoMean =new Double_t[num_bars];
ffastGeoMean =new Double_t[num_bars];
}
//________________________________________________
HTNeutronWallData::HTNeutronWallData() :
fmulti(0)
{
fnumbar =new Int_t [25];
fLeft =new Short_t [25];
fRight =new Short_t [25];
ffastLeft =new Short_t [25];
ffastRight =new Short_t [25];
fTimeLeft =new Double_t[25];
fTimeRight =new Double_t[25];
fGeoMean =new Double_t[25];
ffastGeoMean =new Double_t[25];
}
//________________________________________________
HTNeutronWallData::~HTNeutronWallData()
{
delete [] fnumbar ;
delete [] fLeft ;
delete [] fRight ;
delete [] ffastLeft ;
delete [] ffastRight;
delete [] fTimeLeft ;
delete [] fTimeRight;
delete [] fGeoMean ;
delete [] ffastGeoMean;
}
//________________________________________________
HTNeutronWallRootEvent::HTNeutronWallRootEvent(int num_bars) :
fNumBars(num_bars),
fNeutronWall(fNumBars)
{}
//________________________________________________
HTNeutronWallRootEvent::~HTNeutronWallRootEvent()
{}