/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ */
+
//_________________________________________________________________________
// Class designed to convert raw data to aliroot format. We assume, that
// prototype is situated in the center of 3 PHOS module and convert prototype
// --- Standard library ---
-#include <unistd.h>
+#include <stdio.h>
// --- AliRoot header files ---
#include "AliPHOSDigit.h"
#include "AliPHOSConTableDB.h"
#include "AliPHOSBeamTestEvent.h"
#include "AliPHOSRaw2Digits.h"
-#include "AliPHOSv1.h"
-#include "../EVGEN/AliGenBox.h"
#include "AliRun.h"
ClassImp(AliPHOSRaw2Digits)
//____________________________________________________________________________
AliPHOSRaw2Digits::AliPHOSRaw2Digits(AliPHOSRaw2Digits & r2d):TTask(r2d.GetName(), r2d.GetTitle())
{
+ // cpy ctor
fInName=r2d.fInName ;
fMK1 = r2d.fMK1 ;
}
//____________________________________________________________________________
-void AliPHOSRaw2Digits::Exec(Option_t * option){
+void AliPHOSRaw2Digits::Exec(const Option_t *){
//This is steering method performing all the conversion
if(!fIsInitialized) //need initialization
}
//____________________________________________________________________________
-Bool_t AliPHOSRaw2Digits::StartRootFiles(void ){
+Bool_t AliPHOSRaw2Digits::StartRootFiles(void ) const {
// //Create PHOS geometry, sets magnetic field to zero,
// //create Generator - to store target position,
// //opens out file, creates TreeE
gAlice->TreeE()->Fill();
}
//____________________________________________________________________________
-void AliPHOSRaw2Digits::Print(Option_t * option)const{
+void AliPHOSRaw2Digits::Print(const Option_t *)const{
//prints current configuration and status.
printf("----------AliPHOSRaw2Digits---------- \n") ;