Compilation on Windows/Cygwin
[u/mrichter/AliRoot.git] / PWG0 / TPC / AliROCClusterAnalysisSelector.h
CommitLineData
fe8871b7 1/* $Id$ */
2
3#ifndef AliROCClusterAnalysisSelector_H
4#define AliROCClusterAnalysisSelector_H
5
6#include "AliSelectorRL.h"
7
8class AliTPCClusterHistograms;
9
10class TObjArray;
11
12//
13// TODO explain this
14//
15
16class AliROCClusterAnalysisSelector : public AliSelectorRL {
17 public:
18 enum { kTPCSectors = 72, kTPCHists = kTPCSectors * 2 };
19
20 AliROCClusterAnalysisSelector();
21 virtual ~AliROCClusterAnalysisSelector();
22
23 virtual void SlaveBegin(TTree* tree);
24 virtual void Init(TTree *tree);
25 virtual Bool_t Process(Long64_t entry);
26 virtual void SlaveTerminate();
27 virtual void Terminate();
28
29 Int_t ProcessEvent(Long64_t entry, Bool_t detailedHistogram=kFALSE, const Char_t* label="");
30
31
32 protected:
33
34 AliTPCClusterHistograms* fClusterHistograms[kTPCHists]; // 0..71 histograms created with all clusters, 72..143 without edges
35
36 private:
37
38 Int_t fNMaxObjectsToSave;
39 TObjArray* fObjectsToSave;
40
41
42 AliROCClusterAnalysisSelector(const AliROCClusterAnalysisSelector&);
43 AliROCClusterAnalysisSelector& operator=(const AliROCClusterAnalysisSelector&);
44
45 ClassDef(AliROCClusterAnalysisSelector, 0);
46};
47
48#endif