hlit-ana
0.0.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
HlitEvent.h
1
#ifndef HlitEvent_cxx
2
#define HlitEvent_cxx
3
4
#include <TObject.h>
5
#include <TClonesArray.h>
6
#include "HlitTrack.h"
7
14
15
class
HlitEvent
:
public
TObject {
16
17
public
:
18
HlitEvent
();
19
HlitEvent
(Long64_t
id
, Double_t vx = 0.0, Double_t vy = 0.0,
20
Double_t vz = 0.0);
21
virtual
~HlitEvent
();
22
64
65
Long64_t
GetID
()
const
{
return
fID
; }
66
Double_t
GetVx
()
const
{
return
fVx
; }
67
Double_t
GetVy
()
const
{
return
fVy
; }
68
Double_t
GetVz
()
const
{
return
fVz
; }
69
70
void
SetID
(Long64_t
id
) {
fID
= id; }
71
void
SetVx
(Double_t vx) {
fVx
= vx; }
72
void
SetVy
(Double_t vy) {
fVy
= vy; }
73
void
SetVz
(Double_t vz) {
fVz
= vz; }
74
75
Long64_t
GetNTrack
()
const
{
return
fNTracks
; }
76
HlitTrack
*
GetTrack
(Long64_t
id
) {
return
(
HlitTrack
*)
fTracks
->At(
id
); }
77
HlitTrack
*
AddTrack
();
78
79
virtual
void
Print
(Option_t *option =
""
)
const
;
80
virtual
void
Clear
(Option_t *option =
""
);
81
82
void
BuildVertexRandom
();
83
84
private
:
85
Long64_t
fID
;
86
Double_t
fVx
;
87
Double_t
fVy
;
88
Double_t
fVz
;
89
Int_t
fNTracks
;
90
92
TClonesArray *
fTracks
;
//->
93
94
// TODO
96
HlitEvent
(
const
HlitEvent
&);
97
HlitEvent
&
operator=
(
const
HlitEvent
&);
98
100
ClassDef(
HlitEvent
, 1);
102
};
103
104
#endif
HlitTrack
Track object.
Definition:
HlitTrack.h:13
HlitEvent::Clear
virtual void Clear(Option_t *option="")
Definition:
HlitEvent.cxx:61
HlitEvent::operator=
HlitEvent & operator=(const HlitEvent &)
not implemented
HlitEvent::GetVy
Double_t GetVy() const
Vertex y component.
Definition:
HlitEvent.h:67
HlitEvent::fVy
Double_t fVy
Vertex y.
Definition:
HlitEvent.h:87
HlitEvent::fVx
Double_t fVx
Vertex x.
Definition:
HlitEvent.h:86
HlitEvent::GetVx
Double_t GetVx() const
Vertex x component.
Definition:
HlitEvent.h:66
HlitEvent::GetTrack
HlitTrack * GetTrack(Long64_t id)
Definition:
HlitEvent.h:76
HlitEvent::SetID
void SetID(Long64_t id)
Definition:
HlitEvent.h:70
HlitEvent::GetID
Long64_t GetID() const
Event ID.
Definition:
HlitEvent.h:65
HlitEvent::fTracks
TClonesArray * fTracks
Array with all tracks.
Definition:
HlitEvent.h:92
HlitEvent::HlitEvent
HlitEvent()
Definition:
HlitEvent.cxx:9
HlitEvent
Event object.
Definition:
HlitEvent.h:15
HlitEvent::fNTracks
Int_t fNTracks
Number of tracks.
Definition:
HlitEvent.h:89
HlitEvent::fVz
Double_t fVz
Vertex z.
Definition:
HlitEvent.h:88
HlitEvent::fID
Long64_t fID
ID of event.
Definition:
HlitEvent.h:85
HlitEvent::BuildVertexRandom
void BuildVertexRandom()
Definition:
HlitEvent.cxx:74
HlitEvent::GetVz
Double_t GetVz() const
Vertex z component.
Definition:
HlitEvent.h:68
HlitEvent::SetVz
void SetVz(Double_t vz)
Definition:
HlitEvent.h:73
HlitEvent::SetVy
void SetVy(Double_t vy)
Definition:
HlitEvent.h:72
HlitEvent::~HlitEvent
virtual ~HlitEvent()
Definition:
HlitEvent.cxx:26
HlitEvent::AddTrack
HlitTrack * AddTrack()
Definition:
HlitEvent.cxx:35
HlitEvent::GetNTrack
Long64_t GetNTrack() const
Definition:
HlitEvent.h:75
HlitEvent::SetVx
void SetVx(Double_t vx)
Definition:
HlitEvent.h:71
HlitEvent::Print
virtual void Print(Option_t *option="") const
Definition:
HlitEvent.cxx:41
HlitBase
HlitEvent.h
Generated by
1.8.5