1 void slowClusterCreate() {
3 /////////////////////////////////////////////////////////////////////////
5 // Creates cluster from the digit information.
7 /////////////////////////////////////////////////////////////////////////
9 // Dynamically link some shared libs
10 if (gClassTable->GetID("AliRun") < 0) {
11 gROOT->LoadMacro("loadlibs.C");
13 cout << "Loaded shared libraries" << endl;
16 // Input (and output) file name
17 Char_t *alifile = "galice_r_v1.root";
19 // Create the clusterizer
20 AliTRDclusterizerV1 *Clusterizer =
21 new AliTRDclusterizerV1("clusterizer","slow clusterizer class");
23 // Open the AliRoot file
24 Clusterizer->Open(alifile);
27 Clusterizer->ReadDigits();
30 Clusterizer->MakeCluster();
32 // Write the cluster into the input file
33 Clusterizer->WriteCluster();
35 // Save the clusterizer class in the AliROOT file