Coding conventions (F.Carminati)
[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"
88cb7938 17#include "AliConfig.h"
18class TFile ;
d15a28e7 19
20// --- Standard library ---
e957fea8 21//#include <iostream>
d15a28e7 22
23// --- AliRoot header files ---
24
d15a28e7 25
2731cd1e 26class AliPHOSClusterizer ;
27class AliPHOSGeometry ;
06e774ed 28class AliESD ;
2731cd1e 29
30class AliPHOSTrackSegmentMaker : public TTask {
d15a28e7 31
32public:
33
88cb7938 34 AliPHOSTrackSegmentMaker();
e191bb57 35 AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
a8c47ab6 36 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; }
8d0f3f77 37 virtual ~ AliPHOSTrackSegmentMaker() ;
d15a28e7 38
21cd0c07 39 virtual const Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
2731cd1e 40
88cb7938 41 virtual void Print()const {Warning("Print", "Not Defined" ) ; }
eabde521 42 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
43 void SetEventFolderName(TString name) { fEventFolderName = name ; }
06e774ed 44 void SetESD(AliESD *esd) { fESD = esd; }
b9791748 45
90cceaf6 46 virtual void WriteTrackSegments() = 0;
8d0f3f77 47
88cb7938 48protected:
49 TString fEventFolderName ; // event folder name
eabde521 50 Int_t fFirstEvent; // first event to process
51 Int_t fLastEvent; // last event to process
06e774ed 52 AliESD * fESD; //! ESD object
d15a28e7 53
eabde521 54 ClassDef( AliPHOSTrackSegmentMaker,4) // Algorithm class to make PHOS track segments (Base Class)
d15a28e7 55};
56
92862013 57#endif // ALIPHOSTRACKSEGMENTMAKER_H