QwAnalysis
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
QwTrackingDataserver.cc
Go to the documentation of this file.
1
#include "
QwTrackingDataserver.h
"
2
3
// Qweak Tracking headers
4
#include "
QwTypes.h
"
5
#include "
QwTrackingTreeRegion.h
"
6
7
// Qweak hit container
8
#include "
QwHitContainer.h
"
9
10
QwTrackingDataserver::QwTrackingDataserver
(
const
char
* name) :
VQwDataserver
(name)
11
{
12
// Initialize QwHitContainer
13
fEventBuffer
.
OpenDataFile
(398);
14
15
// Instantiate hit list
16
fHitList
=
new
QwHitContainer
;
17
}
18
19
QwTrackingDataserver::~QwTrackingDataserver
()
20
{
21
delete
fHitList
;
22
}
23
24
void
QwTrackingDataserver::NextEvent
()
25
{
26
// get next event
27
fEventBuffer
.
GetEvent
();
28
29
// this will load the QwHitContainer from set of hits read from ASCII file qweak.event
30
fHitList
->clear();
31
32
//fEventBuffer.GetHitList (*fHitList);
33
// sort the array
34
fHitList
->sort();
35
// now we decode our QwHitContainer list and piece together with the
36
// rcTreeRegion multi-dimension array.
37
//fEventBuffer.ProcessHitContainer(*fHitList);
38
}
39
40
QwHitContainer
*
QwTrackingDataserver::GetHitList
()
41
{
42
return
fHitList
;
43
}
QwTrackingDataserver::fEventBuffer
QwEventBuffer fEventBuffer
Definition:
QwTrackingDataserver.h:18
QwTrackingTreeRegion.h
QwTrackingDataserver::GetHitList
QwHitContainer * GetHitList()
Definition:
QwTrackingDataserver.cc:40
QwTrackingDataserver::QwTrackingDataserver
QwTrackingDataserver(const char *)
Definition:
QwTrackingDataserver.cc:10
VQwDataserver
Definition:
VQwDataserver.h:9
QwEventBuffer::OpenDataFile
Int_t OpenDataFile(UInt_t current_run, Short_t seg)
Definition:
QwEventBuffer.cc:1078
QwTrackingDataserver::~QwTrackingDataserver
virtual ~QwTrackingDataserver()
Definition:
QwTrackingDataserver.cc:19
QwEventBuffer::GetEvent
Int_t GetEvent()
Definition:
QwEventBuffer.cc:419
QwTypes.h
QwTrackingDataserver.h
QwTrackingDataserver::fHitList
QwHitContainer * fHitList
Definition:
QwTrackingDataserver.h:19
QwHitContainer
Definition:
QwHitContainer.h:29
QwTrackingDataserver::NextEvent
void NextEvent()
Definition:
QwTrackingDataserver.cc:24
QwHitContainer.h
Tracking
src
QwTrackingDataserver.cc
Generated on Sun Sep 24 2017 04:33:20 for QwAnalysis by
1.8.5