Elaborating split mode to write data only to the split files
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.h
CommitLineData
92862013 1#ifndef ALIPHOSTRACKSEGMENTMAKER_H
2#define ALIPHOSTRACKSEGMENTMAKER_H
d15a28e7 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6ad0bfa0 6/* $Id$ */
7
b2a60966 8//_________________________________________________________________________
9// Algorithm Base class to construct PHOS track segments
10// Associates EMC and PPSD clusters
11// Unfolds the EMC cluster
12//
2731cd1e 13//*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
d15a28e7 14
15// --- ROOT system ---
2731cd1e 16#include "TTask.h"
8d0f3f77 17class TFile ;
d15a28e7 18
19// --- Standard library ---
0e294f24 20#include <iostream.h>
d15a28e7 21
22// --- AliRoot header files ---
23
d15a28e7 24
2731cd1e 25class AliPHOSClusterizer ;
26class AliPHOSGeometry ;
27
28class AliPHOSTrackSegmentMaker : public TTask {
d15a28e7 29
30public:
31
6ad0bfa0 32 AliPHOSTrackSegmentMaker() ;
fbf811ec 33 AliPHOSTrackSegmentMaker(const char* headerFile, const char* name, const Bool_t toSplit) ;
d15a28e7 34
8d0f3f77 35 virtual ~ AliPHOSTrackSegmentMaker() ;
d15a28e7 36
79bf6a2f 37 virtual void Exec(Option_t * option){cout << "Not Defined" << endl ; }
fbf811ec 38 // virtual char* GetRecPointsBranch ()const{cout << "Not Defined" << endl ; return 0 ; }
39 // virtual char* GetTrackSegmentsBranch ()const{cout << "Not Defined" << endl ; return 0 ; }
79bf6a2f 40 virtual const Int_t GetTrackSegmentsInRun() const {cout << "Not Defined" << endl ; return 0 ; }
2731cd1e 41
79bf6a2f 42 virtual void Print(Option_t * option)const {cout << "Not Defined" << endl ; }
2731cd1e 43 // virtual void Set... // method to choose recPoints: along z only, along x ...???
79bf6a2f 44 // virtual void SetChoosingAlgirithm(){cout << "Not Defined" << endl ; return 0 ; }
45 // virtual void SetMaxEmcCpvDistance(Float_t r) {cout << "Not Defined" << endl ; return 0 ; }
fbf811ec 46 // virtual void SetRecPointsBranch(const char * title){cout << "Not Defined" << endl ; }
47 // virtual void SetTrackSegmentsBranch(const char * title){cout << "Not Defined" << endl ; }
48 // virtual void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") const ;
79bf6a2f 49 virtual const char * Version() const {cout << "Not Defined" << endl ; return 0 ; }
50 virtual void WriteTrackSegments(Int_t event){cout << "Not Defined" << endl ; }
b2a60966 51
8d0f3f77 52protected:
53
54 TFile * fSplitFile ; //! file in which TrackSegments will eventually be stored
fbf811ec 55 Bool_t fToSplit ; //! Do we work in the split mode
56
508efc0a 57 ClassDef( AliPHOSTrackSegmentMaker,1) // Algorithm class to make PHOS track segments (Base Class)
d15a28e7 58
59};
60
92862013 61#endif // ALIPHOSTRACKSEGMENTMAKER_H