]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Schema evolution rule needed for old versions of trigger menu items to set correct...
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Oct 2010 00:39:12 +0000 (00:39 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Oct 2010 00:39:12 +0000 (00:39 +0000)
HLT/BASE/HLTbaseLinkDef.h

index fa7dd2b6fcc2e1862caec5cdd7b524d4bb6a8ad9..ad68886b7d96ea60d8b2663fc8f72a7e74f82e82 100644 (file)
 #pragma link C++ class AliHLTDomainEntry+;
 #pragma link C++ class AliHLTTriggerMenu+;
 #pragma link C++ class AliHLTTriggerMenuItem+;
+
+// For old versions of the trigger menu item we need to set the missing values to appropriate defaults.
+#pragma read sourceClass="AliHLTTriggerMenuItem" version="[1-3]" targetClass="AliHLTTriggerMenuItem"\
+  source="" target=""\
+  code="{\
+    newObj->DefaultResult(true);\
+    newObj->ScaleDown(1);\
+  }"
+
 #pragma link C++ class AliHLTTriggerMenuSymbol+;
 #pragma link C++ class AliHLTRunStatistics+;
 #pragma link C++ class AliHLTMisc+;