]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/icepack/IceLinefit.h
15-nov-2007 NvE Processor IceLinefit updated to treat also InIce DOMs.
[u/mrichter/AliRoot.git] / RALICE / icepack / IceLinefit.h
1 #ifndef IceLinefit_h
2 #define IceLinefit_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
13 #include "AliJob.h"
14 #include "IceEvent.h"
15 #include "IceGOM.h"
16
17 class IceLinefit : public TTask
18 {
19  public :
20   IceLinefit(const char* name="IceLinefit",const char* title="Linefit reconstruction"); // Constructor
21   virtual ~IceLinefit();                                // Destructor
22   virtual void Exec(Option_t* opt);                     // Linefit reconstruction
23   void SetMaxModA(Int_t nmax);   // Set max. number of good fired Amanda modules for events to be processed
24   void SetMinModA(Int_t nmin);   // Set min. number of good fired Amanda modules for events to be processed
25   void SetMaxHitsA(Int_t nmax);  // Set max. number of good hits per Amanda module to be processed
26   void SetMaxModI(Int_t nmax);   // Set max. number of good fired InIce DOMs for events to be processed
27   void SetMinModI(Int_t nmin);   // Set min. number of good fired InIce DOMs for events to be processed
28   void SetMaxHitsI(Int_t nmax);  // Set max. number of good hits per InIce DOM to be processed
29   void SetTrackName(TString s);  // Set (alternative) name for the produced first guess tracks
30   void SetCharge(Float_t charge);// Set user defined charge for the produced first guess tracks
31
32  protected :
33   IceEvent* fEvt;    // Pointer to the current event
34   Int_t fMaxmodA;    // The max. number of good fired Amanda modules for events to be processed
35   Int_t fMinmodA;    // The min. number of good fired Amanda modules for events to be processed
36   Int_t fMaxhitsA;   // The maximum number of good hits per Amanda module to be processed
37   Int_t fMaxmodI;    // The max. number of good fired InIce DOMs for events to be processed
38   Int_t fMinmodI;    // The min. number of good fired InIce DOMs for events to be processed
39   Int_t fMaxhitsI;   // The maximum number of good hits per InIce DOM to be processed
40   TString fTrackname;// The name identifier for the produced first guess tracks
41   Float_t fCharge;   // User defined charge of the produced first guess tracks
42   void Amanda();     // Linefit reconstruction for Amanda OMs
43   void InIce();      // Linefit reconstruction for InIce DOMs
44
45  ClassDef(IceLinefit,4) // TTask derived class to perform linefit reconstruction
46 };
47 #endif