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