/// You must also make a link of some OCDB entries to have the mapping loaded
/// correctly :
///
-/// cd $ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestCDB
+/// <pre>
+/// cd $ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB
/// mkdir -p MUON/Calib
/// cd MUON/Calib
/// ln -si $ALICE_ROOT/OCDB/MUON/Calib/MappingData .
+/// </pre>
///
/// and Align/Baseline if you'd like to test GMS subprocessor :
///
-/// cd $ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestCDB
-/// mkdir -p MUON/Align/Baseline
+/// <pre>
+/// cd $ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB
+/// mkdir -p MUON/Align
/// cd MUON/Align
/// ln -si $ALICE_ROOT/OCDB/MUON/Align/Baseline .
+/// </pre>
///
/// The input data has to be created first by other processes (or is created
/// here by CreateDCSAliasMap() for tracker HV).
/// The sourceDirectory is there to "emulate" what the real preprocessor will
/// find on the FXS, and is assumed to have the following structure :
/// <pre>
+/// CONFIG/
+/// LDC0.config
+/// LDC1.config
+/// LDC2.config
+/// LDC3.config
/// GAINS/
/// LDC0.gain
/// LDC1.gain
AliTestShuttle* shuttle = new AliTestShuttle(runNumber, 0, 1);
- const char* inputCDB = "local://$ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestCDB";
- //const char* inputCDB = "alien://folder=/alice/testdata/2008/TS08a/OCDB";
+ const char* inputCDB = "local://$ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB";
AliTestShuttle::SetMainCDB(inputCDB);
AliTestShuttle::SetMainRefStorage("local://$ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestReference");
if ( rt.Contains("PHYSICS") )
{
// Create DCS aliases
- UInt_t startTime, endTime;
-
TMap* dcsAliasMap = CreateDCSAliasMap(inputCDB, runNumber);
if ( dcsAliasMap )
// In real life the parameters will be retrieved automatically from the run logbook;
shuttle->SetInputRunType(runType);
+ shuttle->AddInputRunParameter("totalEvents","20");
+
// Create the preprocessor that should be tested, it registers itself automatically to the shuttle
new AliMUONTrackerPreprocessor(shuttle);
new AliMUONTriggerPreprocessor(shuttle);
{
Float_t value = 0;
if(sDetName.Contains("TRACKER")){
- value = random.Gaus(1750,62.5);
- if ( aliasName == "MchHvLvLeft/Chamber00Left/Quad2Sect1.actual.vMon") value = 500;
+ if ( aliasName.Contains("vMon"))
+ {
+ value = random.Gaus(1750,62.5);
+ if ( aliasName == "MchHvLvLeft/Chamber00Left/Quad2Sect1.actual.vMon") value = 500;
+ }
+ else
+ {
+ value = random.Gaus(10,2);
+ if ( aliasName == "MchHvLvLeft/Chamber00Left/Quad2Sect1.actual.iMon") value = 50;
+ }
}
else if(aliasName.Contains("iMon")){
value = random.Gaus(2.,0.4);