]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/ITS/AliMeanVertexPreprocessorOffline.h
Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / PWGPP / ITS / AliMeanVertexPreprocessorOffline.h
CommitLineData
e0ea2e34 1#ifndef ALI_MEANVERTEX_PREPROCESSOROFFLINE_H
45d77489 2#define ALI_MEANVERTEX_PREPROCESSOROFFLINE_H
e0ea2e34 3
4/* Copyright(c) 1998-2011, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliMeanVertexPreprocessor.h $ */
8
9
10// Mean vertex preprocessor.
11// Davide Caffarri
12//
13#include "TNamed.h"
a9f9c69b 14class AliCDBStorage;
e0ea2e34 15
16class AliMeanVertexPreprocessorOffline: public TNamed
17{
18 public:
19 AliMeanVertexPreprocessorOffline();
20 virtual ~AliMeanVertexPreprocessorOffline();
21
a9f9c69b 22 void ProcessOutput(const char *filename, AliCDBStorage *db, Int_t runNb);
4d14c5b5 23 Int_t GetStatus();
e0ea2e34 24
25 private:
26 AliMeanVertexPreprocessorOffline(const AliMeanVertexPreprocessorOffline & proc); // copy constructor
27 AliMeanVertexPreprocessorOffline& operator=(const AliMeanVertexPreprocessorOffline&); //operator
28
4d14c5b5 29 enum EStatusCode_t {
30 kOk,
31 kInputError, /* open file error, missing histos */
32 kLowStatistics, /* too low statistics */
33 kStoreError, /* problems storing OCDB */
34 kWriteMeanVertexSPD, /*write MeanVertex computed online*/
35 kUseOfflineSPDvtx, /*write SPD vtx offline*/
36 kLumiRegCovMatrixProblem, /*lumi region or cov matrix computation problems, default values set*/
37 kNStatusCodes
38 };
39
40 Int_t fStatus; /* status code */
41 static const Char_t *fgkStatusCodeName[kNStatusCodes];
42
43 ClassDef(AliMeanVertexPreprocessorOffline, 2);
e0ea2e34 44};
45
46#endif