26 #include "Stl3Util/base/St_l3_Coordinates.h"
27 #include "Stl3Util/base/St_l3_Coordinate_Transformer.h"
36 #include "Stl3Util/foreign/daqFormats.h"
37 #include "StDaqLib/TRG/trgStructures.h"
40 #include "Stl3Util/ftf/FtfGeneral.h"
41 #include "Stl3Util/ftf/FtfPara.h"
43 #include "Stl3Util/gl3/gl3Track.h"
44 #include "Stl3Util/gl3/gl3Hit.h"
45 #include "Stl3Util/gl3/gl3Sector.h"
46 #include "Stl3Util/gl3/gl3Histo.h"
53 gl3Event(
int mxHits=500000,
int mxTracks=20000,
58 int setup (
int mHits=600000,
int mTracks = 20000 );
61 short getBusy ( ) {
return busy; };
66 int getNTracks ( ) {
return nTracks; };
67 int getNMergedTracks ( ) {
return nMergedTracks; };
68 int getNBadTracks ( ) {
return nBadTracks; };
69 int getNHits ( ) {
return nHits ; };
74 {
return coordinateTransformer; };
81 void setHitProcessing (
int hitPro )
82 { hitProcessing = hitPro; };
84 void setMaxSectorNForTrackMerging (
int _in )
85 { maxSectorNForTrackMerging = _in; };
87 void setBField (
float _bField )
89 para.bField = _bField;
90 para.bFieldPolarity = int(_bField/fabs(_bField));
94 { coordinateTransformer = in; };
97 int readL3Data (
L3_P* buffer);
100 int readSectorHits (
char* buffer,
int nSectorTracks );
101 int readSectorTracks (
char* buffer );
105 int fillTracks (
int maxBytes,
char* buffer,
unsigned int token );
111 static const int NSECTORS = 24;
122 int maxSectorNForTrackMerging;
150 int minNoOfHitsOnTrackUsedForVertexCalc;
151 double minMomUsedForVertexCalc;
154 double getWeightedMean(
gl3Histo* hist,
double sigmaWidthBins);