]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/icepack/IceCleanHits.h
0b06257a3251653f49cf4ff7bf15f6fea21696bf
[u/mrichter/AliRoot.git] / RALICE / icepack / IceCleanHits.h
1 #ifndef IceCleanHits_h
2 #define IceCleanHits_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 "IceAOM.h"
16 #include "IceIDOM.h"
17 #include "IceTDOM.h"
18
19 class IceCleanHits : public TTask
20 {
21  public :
22   IceCleanHits(const char* name="",const char* title=""); // Constructor
23   virtual ~IceCleanHits();                                // Destructor
24   virtual void Exec(Option_t* opt);                       // Hit cleaning
25   void SetAdcRangeA(Float_t min,Float_t max=999999);      // Set Amanda ADC range (in PE)
26   void SetTotRangeAE(Float_t min,Float_t max=2000);       // Set Amanda electrical TOT range (in ns)
27   void SetTotRangeAO(Float_t min,Float_t max=2000);       // Set Amanda optical TOT range (in ns)
28   void SetIsolationA(Float_t rmax,Float_t dtmax);         // Set Amanda isolation radius (in m) and dt (in ns)
29   void SetTwindowA(Float_t dtmax);                        // Set Amanda maximal trigger window (in ns)
30
31  protected :
32   IceEvent* fEvt;    // Pointer to the current event structure
33   Float_t fAdcminA;  // Minimum Amanda ADC value in PE
34   Float_t fAdcmaxA;  // Maximum Amanda ADC value in PE
35   Float_t fTotminAE; // Minimum Amanda electrical TOT value in ns
36   Float_t fTotmaxAE; // Maximum Amanda electrical TOT value in ns
37   Float_t fTotminAO; // Minimum Amanda optical TOT value in ns
38   Float_t fTotmaxAO; // Maximum Amanda optical TOT value in ns
39   Float_t fRmaxA;    // Maximum Amanda isolation radius in m
40   Float_t fDtmaxA;   // Maximum Amanda isolation dt in ns
41   Float_t fTwinA;    // Maximum Amanda hit time difference from the trigger time
42   void Amanda();     // Cleaning of Amanda modules
43   void InIce();      // Cleaning of IceCube InIce DOMs
44   void IceTop();     // Cleaning of IceTop DOMs
45
46  ClassDef(IceCleanHits,1) // TTask derived class to perform hit cleaning
47 };
48 #endif