]>
Commit | Line | Data |
---|---|---|
deeffe5c | 1 | #ifndef IceXtalk_h |
2 | #define IceXtalk_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" | |
64b63904 | 12 | #include "TFile.h" |
deeffe5c | 13 | |
14 | #include "AliJob.h" | |
15 | #include "IceEvent.h" | |
16 | #include "IceAOM.h" | |
17 | ||
18 | class IceXtalk : public TTask | |
19 | { | |
20 | public : | |
21 | IceXtalk(const char* name="",const char* title=""); // Constructor | |
22 | virtual ~IceXtalk(); // Destructor | |
23 | virtual void Exec(Option_t* opt); // Cross talk hit correction | |
24 | void SetOMdbase(AliObjMatrix* omdb); // Set the OM dbase object | |
25 | void SetCalibFile(TString name); // Set ROOT calibration input file | |
26 | void SetMinProb(Float_t pmin); // Set minimal probability to induce cross talk | |
27 | void SetXtalkPE(Float_t pe); // Set nominal Xtalk signal in photo-electrons | |
28 | ||
29 | protected : | |
30 | TFile* fCalfile; // The (optional) calibration input file in ROOT format | |
31 | AliObjMatrix* fOmdb; // The OM database object | |
32 | Float_t fPmin; // The minimal probability to induce cross talk | |
33 | Float_t fPe; // The nominal Xtalk signal in photo-electron equivalent | |
34 | ||
64b63904 | 35 | ClassDef(IceXtalk,2) // TTask derived class to perform cross talk hit correction |
deeffe5c | 36 | }; |
37 | #endif |