]>
Commit | Line | Data |
---|---|---|
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 | ||
19 | class 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 | |
30672a96 | 28 | void SetTrackName(TString s); // Set (alternative) name for the produced tracks |
29 | void SetCharge(Float_t charge);// Set user defined charge for the produced tracks | |
06a7401e | 30 | void SetPenalty(Float_t val); // Set penalty value in dB for the minimiser outside the allowed range |
c29371c1 | 31 | void FitFCN(Int_t&,Double_t*,Double_t&,Double_t*,Int_t); // The minimisation FCN |
32 | ||
33 | protected : | |
34 | Int_t fFirst; // Flag to denote first invokation of the processor | |
35 | Int_t fPrint; // Flag to denote the fitter (Minuit) printlevel | |
36 | Int_t fSelhits; // Flag to denote which hits to be used | |
37 | IceEvent* fEvt; // Pointer to the current event structure | |
38 | TObjArray* fUseNames; // The first guess classnames to be used | |
39 | TArrayI* fUseNtk; // The max. numbers of the various first guess tracks to be used | |
40 | AliTrack* fTrack; // Pointer to the first guess track being processed | |
41 | TObjArray* fHits; // The various hits to be used in the fitting process | |
42 | TFitter* fFitter; // Pointer to the minimisation processor | |
d6860cf1 | 43 | TString fTrackname; // The name identifier for the produced tracks |
30672a96 | 44 | Float_t fCharge; // User defined charge of the produced tracks |
06a7401e | 45 | Float_t fPenalty; // User defined penalty value in dB for the minimiser outside the allowed range |
c29371c1 | 46 | |
06a7401e | 47 | ClassDef(IcePandel,4) // TTask derived class to perform Pandel fitting |
c29371c1 | 48 | }; |
49 | #endif |