Compilation on Windows/Cygwin
[u/mrichter/AliRoot.git] / PWG0 / TPC / AliROCESDAnalysisSelector.h
CommitLineData
df71af87 1/* $Id$ */
2
3#ifndef AliROCESDAnalysisSelector_H
4#define AliROCESDAnalysisSelector_H
5
6#include "AliSelector.h"
7
2d9e89d4 8class AliTPCClusterHistograms;
9ecad4f3 9class AliESD;
df71af87 10class AliESDfriend;
0b3ccaa2 11class AliTPCseed;
df71af87 12
9ecad4f3 13class TObjArray;
14
9cc7192c 15//
16// TODO explain this
17//
df71af87 18
19class AliROCESDAnalysisSelector : public AliSelector {
20 public:
1d7991a5 21 enum { kTPCSectors = 72, kTPCHists = kTPCSectors * 2 };
9cc7192c 22
df71af87 23 AliROCESDAnalysisSelector();
24 virtual ~AliROCESDAnalysisSelector();
25
26 virtual void SlaveBegin(TTree* tree);
27 virtual void Init(TTree *tree);
28 virtual Bool_t Process(Long64_t entry);
29 virtual void SlaveTerminate();
30 virtual void Terminate();
31
899625a7 32 Int_t ProcessEvent(Long64_t entry, Bool_t detailedHistogram=kFALSE);
9ecad4f3 33
34 Bool_t AcceptTrack(const AliTPCseed* track, Int_t minRowsIncluded=0);
0b3ccaa2 35
df71af87 36 protected:
1d7991a5 37 AliESDfriend* fESDfriend; // ESD friend pointer
2d9e89d4 38
1d7991a5 39 AliTPCClusterHistograms* fClusterHistograms[kTPCHists]; // 0..71 histograms created with all clusters, 72..143 without edges
df71af87 40
41 private:
6c3d6245 42
9ecad4f3 43 TObjArray* fObjectsToSave;
44
45 Int_t fMinNumberOfRowsIsTrack;
46
df71af87 47 AliROCESDAnalysisSelector(const AliROCESDAnalysisSelector&);
48 AliROCESDAnalysisSelector& operator=(const AliROCESDAnalysisSelector&);
49
50 ClassDef(AliROCESDAnalysisSelector, 0);
51};
52
53#endif