1 //_________________________________________________________________________
2 // Macro to create the tag files from:
3 // i) AliESDs that are stored locally.
4 // ii) AliESDs that are stored in the CAF.
5 // iii)AliESDs that are stored in alien.
6 // The tag files are stored according to the value set in the SetStorage method
8 // SetStorage(0) --> store the tags locally
9 // SetStorage(1) --> store the tags in the grid
10 // else the program will abort!!!
12 // As a final step the user can create a single merged tag file.
13 //_________________________________________________________________________
15 //___________________________________//
16 //create an AliTagCreator object
17 AliESDTagCreator *t = new AliESDTagCreator();
19 //___________________________________//
20 //_____ Storage of the tag files:____//
21 //________0-->local, 1-->alien_______//
22 //___________________________________//
24 //Define the grid's path where the tag files will be stored
25 //t->SetGridPath("Tags/output");
26 //Define the SE where the tag files will be stored
27 //t->SetSE("ALICE::CERN::se01");
29 //___________________________________//
30 //________Locally stored ESDs________//
31 //___________________________________//
32 //create the tag files for the locally stored ESDs
33 t->ReadLocalCollection("../PDC07");
35 //___________________________________//
36 //___________Merge the tags__________//
37 //___________________________________//
38 //Merge the tags and store the merged file