AMSDST
Main Page
Classes
Files
File List
File Members
source
myMC.h
Go to the documentation of this file.
1
// Authors: M.Duranti - INFN di Perugia
2
#ifndef myMC_h
3
#define myMC_h
4
#include "TObject.h"
5
6
class
myMC
:
public
TObject {
7
public
:
9
myMC
();
11
~myMC
();
12
13
Double32_t
Momentum
;
14
Double32_t
MomentumSigned
;
15
Double32_t
Charge
;
16
17
Double32_t
Dir
[3];
18
Double32_t
Coo
[3];
19
20
Double32_t
Theta
;
21
Double32_t
costheta
;
22
Double32_t
cossqtheta
;
23
Double32_t
sintheta
;
24
Double32_t
Phi
;
25
Double32_t
sinphi
;
26
27
virtual
void
Clear
(Option_t* option=
""
);
28
private
:
29
virtual
void
init
();
30
31
public
:
32
ClassDef
(
myMC
,5);
33
};
34
35
#ifdef _WITHGBATCH_
36
#include "
gbatch.h
"
37
38
class
myMCFiller:
public
myMC
{
39
public
:
41
myMCFiller();
43
~myMCFiller();
44
45
MCEventgR* mcevent;
46
47
void
Fill(MCEventgR* _mcevent);
48
49
virtual
void
Clear
(Option_t* option=
""
);
50
private
:
51
virtual
void
init
();
52
53
public
:
54
ClassDef
(myMCFiller,1);
55
};
56
57
#endif //#ifdef _WITHGBATCH_
58
59
#endif
Generated on Tue Dec 29 2015 23:02:50 for AMSDST by
1.8.3