]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/icepack/IcePandel.h
07-mar-2006 NvE Facility introduced in IceDwalk and IcePandel to modify the name...
[u/mrichter/AliRoot.git] / RALICE / icepack / IcePandel.h
CommitLineData
c29371c1 1#ifndef IcePandel_h
2#define IcePandel_h
3
4// Copyright(c) 2003, IceCube Experiment at the South Pole, All rights reserved.
5// See cxx source for full Copyright notice.
6
7// $Id$
8
9#include "TROOT.h"
10#include "TTask.h"
11#include "TString.h"
12#include "TObjString.h"
13#include "TFitter.h"
14
15#include "AliJob.h"
16#include "IceEvent.h"
17#include "IceGOM.h"
18
19class IcePandel : public TTask
20{
21 public :
22 IcePandel(const char* name="",const char* title=""); // Constructor
23 virtual ~IcePandel(); // Destructor
24 virtual void Exec(Option_t* opt); // Perform the fitting procedure
25 void SetPrintLevel(Int_t level); // Set the fitter (Minuit) printlevel
26 void UseTracks(TString classname,Int_t n=-1); // Specify first guess tracks to be used
27 void SelectHits(Int_t mode=1); // Specify which hits to be used
d6860cf1 28 void SetTrackName(TString s); // Set (alternative) name for the produced tracks
c29371c1 29 void FitFCN(Int_t&,Double_t*,Double_t&,Double_t*,Int_t); // The minimisation FCN
30
31 protected :
32 Int_t fFirst; // Flag to denote first invokation of the processor
33 Int_t fPrint; // Flag to denote the fitter (Minuit) printlevel
34 Int_t fSelhits; // Flag to denote which hits to be used
35 IceEvent* fEvt; // Pointer to the current event structure
36 TObjArray* fUseNames; // The first guess classnames to be used
37 TArrayI* fUseNtk; // The max. numbers of the various first guess tracks to be used
38 AliTrack* fTrack; // Pointer to the first guess track being processed
39 TObjArray* fHits; // The various hits to be used in the fitting process
40 TFitter* fFitter; // Pointer to the minimisation processor
d6860cf1 41 TString fTrackname; // The name identifier for the produced tracks
c29371c1 42
d6860cf1 43 ClassDef(IcePandel,2) // TTask derived class to perform Pandel fitting
c29371c1 44};
45#endif