]>
Commit | Line | Data |
---|---|---|
df71af87 | 1 | /* $Id$ */ |
2 | ||
3 | #ifndef AliROCESDAnalysisSelector_H | |
4 | #define AliROCESDAnalysisSelector_H | |
5 | ||
6 | #include "AliSelector.h" | |
7 | ||
2d9e89d4 | 8 | class AliTPCClusterHistograms; |
9ecad4f3 | 9 | class AliESD; |
df71af87 | 10 | class AliESDfriend; |
0b3ccaa2 | 11 | class AliTPCseed; |
df71af87 | 12 | |
9ecad4f3 | 13 | class TObjArray; |
14 | ||
9cc7192c | 15 | // |
16 | // TODO explain this | |
17 | // | |
df71af87 | 18 | |
19 | class 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 | ||
9ecad4f3 | 32 | Int_t ProcessEvent(Bool_t detailedHistogram=kFALSE, const Char_t* label=""); |
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 |