#include "AliHLTProcessor.h"
#include "AliHLTDataTypes.h"
-class TH1F;
-class TH2F;
-
/**
* @class AliHLTITSVertexerSPDComponent
struct AliHLTITSVZCluster{
float fX, fY, fZ;
};
-
- /** magnetic field */
- double fSolenoidBz; // see above
- Bool_t fProduceHistos;// flag to produce histogramms(def = 1)
- Int_t fAutoCalibration;// n of events for recalibration of run vertex(-1=no, def = 1000);
-
- double fDefRunVtx[3];// default vertex position
- double fFullTime; //* total time for DoEvent() [s]
- double fRecoTime; //* total reconstruction time [s]
- Long_t fNEvents; //* number of reconstructed events
- double fRunVtx[4]; //!
- double fRunVtxNew[4]; //!
-
- TH2F *fHistoVertexXY;//!
- TH1F *fHistoVertexX;//!
- TH1F *fHistoVertexY;//!
- TH1F *fHistoVertexZ;//!
-
- /** set configuration parameters **/
- void SetDefaultConfiguration();
- int ReadConfigurationString( const char* arguments );
- int ReadCDBEntry( const char* cdbEntry, const char* chainId );
- int Configure( const char* cdbEntry, const char* chainId, const char *commandLine );
-
- ClassDef( AliHLTITSVertexerSPDComponent, 0 );
-
+
+ Double_t fZRange;// Z range for the vertex seearch
+ Double_t fZBinSize; // size of the Z bin [cm]
+ double fRunVtx[3];// default vertex position
+ double fFullTime; //* total time for DoEvent() [s]
+ double fRecoTime; //* total reconstruction time [s]
+ Long_t fNEvents; //* number of reconstructed events
+ double *fSum[9]; // coefficients for the LSM method
+ double *fSumW; // sum of weights per Z bin
+ int *fSumN; // N entries per Z bin
+ double fZMin; // Z of the first bin ( == -fZRange)
+ int fNZBins; // N of bins
+
+ /** set configuration parameters **/
+ void SetDefaultConfiguration();
+ int ReadConfigurationString( const char* arguments );
+ int ReadCDBEntry( const char* cdbEntry, const char* chainId );
+ int Configure( const char* cdbEntry, const char* chainId, const char *commandLine );
+
+ ClassDef( AliHLTITSVertexerSPDComponent, 0 );
+
};
#endif