3 // This class runs the test preprocessor
4 // It uses AliTestShuttle to simulate a full Shuttle process
6 void TestTRIGGERPreprocessor()
9 gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so");
11 // Defining shuttle instance (run number, start time, end time)
12 AliTestShuttle* shuttle = new AliTestShuttle(7, 0, 1);
15 AliTestShuttle::SetMainCDB("local://$ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestCDB");
16 AliTestShuttle::SetMainRefStorage("local://$ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestReference");
18 // Adding test input files
19 shuttle->AddInputFile(AliTestShuttle::kDCS, "TRI", "PITConditions", "", "$ALICE_ROOT/TRIGGER/ShuttleInput/pit_dumpFileSep08.txt");
21 shuttle->AddInputFile(AliTestShuttle::kDCS, "TRI", "TofFeeLightMap", "", "$ALICE_ROOT/TRIGGER/ShuttleInput/TOFFEElight.20101028.133932.8000");
23 // Adding Trigger mask
24 shuttle->SetInputTriggerDetectorMask("0100001");
25 printf("Test OCDB storage Uri: %s\n", AliShuttleInterface::GetMainCDB().Data());
26 printf("Test Reference storage Uri: %s\n", AliShuttleInterface::GetMainRefStorage().Data());
29 shuttle->SetInputRunType("PHYSICS");
31 // Defining Preprocessor
32 AliPreprocessor* test = new AliTRIPreprocessor(shuttle);
34 // Test the preprocessor