AMSDST
Main Page
Classes
Files
File List
File Members
source
myStatus.h
Go to the documentation of this file.
1
// Authors: M.Duranti, D.D'Urso - INFN di Perugia
2
#ifndef myStatus_h
3
#define myStatus_h
4
5
#include "TObject.h"
6
7
class
myStatus
:
public
TObject {
8
public
:
10
myStatus
();
12
virtual
~myStatus
();
13
14
UShort_t
IsValidTime
();
15
16
static
UShort_t
CodeRigidity
(Double_t R,
bool
IsRigidity=
true
);
17
18
static
UShort_t
CodeCharge
(Double_t Q);
19
20
static
UShort_t
CodeBDT
(Double_t BDT);
21
22
static
UShort_t
CodeLikeL
(Double_t LikeL);
23
25
ULong_t
fStatus
;
26
28
UChar_t
GeneralStatus
;
29
31
UChar_t
Rigidity
;
32
34
UChar_t
EcalInfo
;
35
37
UChar_t
LogLTrd
;
38
40
UChar_t
TrkCharge
;
41
43
UChar_t
QTof
;
44
46
UChar_t
Detector
;
47
49
Long64_t
EntryNumber
;
51
UChar_t
TreeNumber
;
52
53
virtual
void
Clear
(Option_t* option=
""
);
54
private
:
55
virtual
void
init
();
56
57
ClassDef
(
myStatus
,1);
58
};
59
60
#ifdef _WITHGBATCH_
61
#include "
gbatch.h
"
62
class
myStatusFiller:
public
myStatus
{
63
public
:
65
myStatusFiller();
67
~myStatusFiller();
68
69
void
Fill(
int
i_part_max_r,
int
i_part_max_qbh,
int
i_part_max_e,
int
i_part_max_r_trd);
70
71
void
StoreRigidity(Double_t R_inn, Double_t R_max);
72
73
void
StoreDetectorAcceptance(
int
i_part_max_r);
74
75
bool
IsInsideLayer(
int
jlayer, AMSPoint point,
float
margin);
76
77
bool
InTrdAcceptance(TrTrackR* this_trk,
int
id_maxspan);
78
79
virtual
void
Clear
(Option_t* option=
""
);
80
private
:
81
virtual
void
init
();
82
83
ClassDef
(myStatusFiller,1);
84
};
85
86
#endif //#ifdef _WITHGBATCH_
87
88
#endif
Generated on Tue Dec 29 2015 23:02:50 for AMSDST by
1.8.3