1 #if !defined(__CINT__) || defined(__MAKECINT__)
3 #include "AliITSgeom.h"
4 #include "AliITSclustererV2.h"
9 void AliITSRawClusterer(const char* fileNameParam = "its.digits.root",
10 const char* fileNameClusters = "its.clusters.root")
13 TFile* file = TFile::Open(fileNameParam);
14 AliRun* gAlice = (AliRun*) file->Get("gAlice");
15 AliITS* its = (AliITS*) gAlice->GetModule("ITS");
16 AliITSgeom* geom = (AliITSgeom*) its->GetITSgeom();
17 AliITSclustererV2 clusterer(geom);
19 TFile* out = TFile::Open(fileNameClusters, "recreate");
22 clusterer.Digits2Clusters(out);