NCFS-Pack
A generic (astro)particle physics analysis framework
 
Loading...
Searching...
No Matches
IceXtalk.h
Go to the documentation of this file.
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#include "TSystem.h"
8#include "TROOT.h"
9#include "TTask.h"
10#include "TString.h"
11#include "TFile.h"
12
13#include "NcJob.h"
14#include "IceEvent.h"
15#include "IceAOM.h"
16
18
19class IceXtalk : public TTask
20{
21 public :
22 IceXtalk(const char* name="",const char* title=""); // Constructor
23 virtual ~IceXtalk(); // Destructor
24 virtual void Exec(Option_t* opt); // Cross talk hit correction
25 void SetOMdbase(NcObjMatrix* omdb); // Set the OM dbase object
26 void SetCalibFile(TString name); // Set ROOT calibration input file
27 void SetMinProb(Float_t pmin); // Set minimal probability to induce cross talk
28 void SetXtalkPE(Float_t pe); // Set nominal Xtalk signal in photo-electrons
29
30 protected :
31 TFile* fCalfile; // The (optional) calibration input file in ROOT format
32 NcObjMatrix* fOmdb; // The OM database object
33 Float_t fPmin; // The minimal probability to induce cross talk
34 Float_t fPe; // The nominal Xtalk signal in photo-electron equivalent
35
36 ClassDef(IceXtalk,4) // TTask derived class to perform cross talk hit correction
37};
38#endif
Float_t fPmin
Definition IceXtalk.h:33
Float_t fPe
Definition IceXtalk.h:34
NcObjMatrix * fOmdb
Definition IceXtalk.h:32
virtual ~IceXtalk()
Definition IceXtalk.cxx:106
IceXtalk(const char *name="", const char *title="")
Definition IceXtalk.cxx:92
void SetCalibFile(TString name)
Definition IceXtalk.cxx:133
void SetXtalkPE(Float_t pe)
Definition IceXtalk.cxx:168
virtual void Exec(Option_t *opt)
Definition IceXtalk.cxx:179
TFile * fCalfile
Definition IceXtalk.h:31
void SetOMdbase(NcObjMatrix *omdb)
Definition IceXtalk.cxx:121
void SetMinProb(Float_t pmin)
Definition IceXtalk.cxx:157
Handling of a matrix structure of objects.
Definition NcObjMatrix.h:13