1 void fastClusterCreate() {
3 /////////////////////////////////////////////////////////////////////////
5 // Creates cluster from the hit information (fast simulator).
6 // An additional hit-tree is added to the input file.
8 /////////////////////////////////////////////////////////////////////////
10 // Dynamically link some shared libs
11 if (gClassTable->GetID("AliRun") < 0) {
12 gROOT->LoadMacro("loadlibs.C");
16 // Input (and output) file name
17 Char_t *alifile = "galice_r_v0.root";
19 // Create the clusterizer
20 AliTRDclusterizerV0 *Clusterizer =
21 new AliTRDclusterizerV0("clusterizer","fast clusterizer class");
23 // Open the AliRoot file
24 Clusterizer->Open(alifile);
27 Clusterizer->MakeCluster();
29 // Write the cluster into the input file
30 Clusterizer->WriteCluster();
32 // Save the clusterizer class in the AliROOT file