#include "AliEMCALLoader.h"
#include "AliEMCAL.h"
#include "AliEMCALHit.h"
+#include "AliEMCALGetter.h"
ClassImp(AliEMCALLoader)
Clean(fgkECARecPointsName);
Clean(fgkTracksName);
Clean(fgkRecParticlesName);
+ CleanFolders() ;
+ // set to 0x0 the objgetter in AliGetter ... weird isn it !
+ AliEMCALGetter * gime = AliEMCALGetter::Instance() ;
+ if (gime)
+ gime->Reset() ;
}
//____________________________________________________________________________
//____________________________________________________________________________
Int_t AliEMCALLoader::PostHits()
{
+ // Post Hits
Int_t reval = AliLoader::PostHits();
if (reval)
{
index++ ;
}
}
+ tempo->Delete() ;
delete tempo;
}
else
//____________________________________________________________________________
Bool_t AliEMCALLoader::BranchExists(const TString& recName)
-{
+{
+ // Check is branch exists
if (fBranchTitle.IsNull()) return kFALSE;
TString dataname, zername ;
TTree* tree;
//____________________________________________________________________________
void AliEMCALLoader::CleanHits()
{
+ // Clean hits
AliLoader::CleanHits();
//Clear an array
TClonesArray* hits = Hits();
- if (hits) hits->Clear();
+ if (hits)
+ hits->Clear();
}
//____________________________________________________________________________
//____________________________________________________________________________
void AliEMCALLoader::MakeRecPointsArray()
{
+ // Make recpoints array
if ( ECARecPoints() == 0x0) {
if (GetDebug()>9)
printf("MakeRecPointsArray: Making array for ECA");