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