// read out chamber from the reconstructed clusters.
//
// TODO:
-//
+//
//
//
#include <AliLog.h>
+// uncomment if working with version after release that has new cluster scheme
+//#define NEWALIROOT
//____________________________________________________________________
ClassImp(AliTPCClusterHistograms)
}
//____________________________________________________________________
-const char* AliTPCClusterHistograms::FormDetectorName(Int_t detector, Bool_t edgeSuppression, const char* comment)
+TString AliTPCClusterHistograms::FormDetectorName(Int_t detector, Bool_t edgeSuppression, const char* comment)
{
//
// creates a readable name from the detector number
Float_t totalQtot = 0;
Int_t nClusters = 0;
for (Int_t clusterID = 0; clusterID < 160; clusterID++) {
- AliTPCclusterMI* cluster = seed->GetClusterPointer(clusterID);
+ AliTPCclusterMI* cluster = 0;
+#ifdef NEWALIROOT
+ cluster = seed->GetClusterPointer(clusterID);
+#endif
if (!cluster)
continue;