]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/icepack/iceconvert/IceCal2Root.h
31-may-2007 NvE Memberfunctions GetNdevices, GetIdDevice and ShowDevices of AliEvent
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / IceCal2Root.h
index 6921c9a53b0a1cc9b3f445a082a17cb235696ec6..4a3d77a1dac8f8d4bc4d03437434ef6021f7b895 100644 (file)
@@ -22,25 +22,28 @@ class IceCal2Root : public AliJob
  public :
   IceCal2Root(const char* name="IceCal2Root",const char* title=""); // Constructor
   virtual ~IceCal2Root();                                           // Destructor
-  void SetAmacalibFile(TString name); // Set name of the Amacalib input file
+  void SetAmacalibFile(TString name); // Set name of the Amacalib MuDaq input file
+  void SetTWRDaqFile(TString name);   // Set name of the TWRDaq calibration input file
   void SetOutputFile(TString name);   // Set output file for the ROOT data structures           
   TDatabasePDG* GetPDG();             // Provide pointer to the PDG database
-  AliObjMatrix* GetOMdbase();         // Provide pointer to the OM geometry, calib. etc... database
+  AliObjMatrix* GetOMdbase(TString name="MuDaq"); // Provide pointer to the requested OM database
   virtual void Exec(Option_t* opt);   // Perform the format conversion
 
  protected :
   ifstream fInput;         // Input stream for generic use of reading data
 
-  TString fAmacalFileName; // Name of the Amacalib input file
-  TString fBadomFileName;  // Name of the bad OM input file
+  TString fAmacalFileName; // Name of the Amacalib MuDaq input file
+  TString fTWRDaqFileName; // Name of the TWRDaq calibration input file
   TString fRootFileName;   // Name of the ROOT output file
   TFile* fOutfile;         // The ROOT output file
 
   TDatabasePDG* fPdg;      // Database with PDG information
-  AliObjMatrix* fOmdb;     // Database of all OM devices with their geometry, calib. etc... data
+  AliObjMatrix* fMuDaqdb;  // Database of all OM devices with their MuDaq geometry, calib. etc... data
+  AliObjMatrix* fTWRDaqdb; // Database of all OM devices with their TWRDaq geometry, calib. etc... data
 
-  void GetCalibData();     // Fill geometry, calibration and Xtalk parameters of all devices
+  void GetMuDaqData();     // Fill MuDaq geometry, calibration and Xtalk parameters of all devices
+  void GetTWRDaqData();    // Fill TWRDaq geometry and calibration parameters of all devices
 
- ClassDef(IceCal2Root,1) // Job for conversion of Amacalib ascii data into an AliObjMatrix OM dbase
+ ClassDef(IceCal2Root,2) // Job for conversion of (ascii) calibration data into an AliObjMatrix OM dbase
 };
 #endif