///_________________________________________________________________________________
// --- ROOT system ---
-#include "TFile.h"
#include "TTree.h"
#include "TSystem.h"
-#include "TROOT.h"
-#include "TFolder.h"
-#include "TObjString.h"
-#include "TGeometry.h"
#include "TBenchmark.h"
// --- Standard library ---
// --- AliRoot header files ---
-#include "AliRun.h"
-#include "AliHeader.h"
-#include "AliStream.h"
#include "AliRunDigitizer.h"
#include "AliEMCALDigit.h"
#include "AliEMCAL.h"
const AliEMCALGeometry *geom = gime->EMCALGeometry() ;
- Int_t nEMC = 0 ;
- nEMC = geom->GetNPhi()*geom->GetNZ(); //max number of digits possible
+ Int_t nEMC = geom->GetNPhi()*geom->GetNZ(); //max number of digits possible
Int_t absID ;
// --- ROOT system ---
#include "TSystem.h"
-#include "TFile.h"
#include "TROOT.h"
// creates the Primaries container if needed
if ( !fPrimaries ) {
if (fgDebug)
- printf("Primaries: Creating a new TClonesArray for primaries") ;
+ Info("Primaries", "Creating a new TClonesArray for primaries") ;
fPrimaries = new TClonesArray("TParticle", 1000) ;
}
return fPrimaries ;
// Print usefull information about the getter
AliRunLoader * rl = AliRunLoader::GetRunLoader(fgEmcalLoader->GetTitle());
- printf("Print: gAlice file is %s -- version name is %s", (rl->GetFileName()).Data(), rl->GetEventFolder()->GetName() ) ;
+ ::Info("Print", "gAlice file is %s -- version name is %s", (rl->GetFileName()).Data(), rl->GetEventFolder()->GetName() ) ;
}
//____________________________________________________________________________
fNPrimaries = rl->Stack()->GetNtrack() ;
if (fgDebug)
- printf("ReadTreeK: Found %d particles in event # %d", fNPrimaries, EventNumber() ) ;
+ Info("ReadTreeK", "Found %d particles in event # %d", fNPrimaries, EventNumber() ) ;
// first time creates the container
//____________________________________________________________________________
AliEMCALSDigitizer * AliEMCALGetter::SDigitizer()
{
- // return pointer to SDigitizer Tree
+ // Return pointer to SDigitizer task
AliEMCALSDigitizer * rv ;
rv = dynamic_cast<AliEMCALSDigitizer *>(EmcalLoader()->SDigitizer()) ;
if (!rv) {