]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PHOS/AliPHOSTrackSegmentMaker.h
Setting default CDB storage
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.h
... / ...
CommitLineData
1#ifndef ALIPHOSTRACKSEGMENTMAKER_H
2#define ALIPHOSTRACKSEGMENTMAKER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8/* History of cvs commits:
9 *
10 * $Log$
11 */
12
13//_________________________________________________________________________
14// Algorithm Base class to construct PHOS track segments
15// Associates EMC and CPV clusters
16// Unfolds the EMC cluster
17//
18//*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
19
20// --- ROOT system ---
21#include "TTask.h"
22#include "AliConfig.h"
23class TFile ;
24
25// --- Standard library ---
26//#include <iostream>
27
28// --- AliRoot header files ---
29
30
31class AliPHOSClusterizer ;
32class AliPHOSGeometry ;
33class AliESD ;
34
35class AliPHOSTrackSegmentMaker : public TTask {
36
37public:
38
39 AliPHOSTrackSegmentMaker();
40 AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
41 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; }
42 virtual ~ AliPHOSTrackSegmentMaker() ;
43
44 virtual Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
45
46 virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; }
47 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
48 void SetEventFolderName(TString name) { fEventFolderName = name ; }
49 void SetESD(AliESD *esd) { fESD = esd; }
50
51 virtual void WriteTrackSegments() = 0;
52
53protected:
54 TString fEventFolderName ; // event folder name
55 Int_t fFirstEvent; // first event to process
56 Int_t fLastEvent; // last event to process
57 AliESD * fESD; //! ESD object
58
59 ClassDef( AliPHOSTrackSegmentMaker,4) // Algorithm class to make PHOS track segments (Base Class)
60};
61
62#endif // ALIPHOSTRACKSEGMENTMAKER_H