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