Difference: SWGuideCondSystemLayout (17 vs. 18)

Revision 182010-05-18 - VincenzoInnocente

Line: 1 to 1
 
META TOPICPARENT name="SWGuideCondDB"

Conditions System layout and How to create conditions objects

Complete: 3
Line: 99 to 99
 

How to create a classes_def.xml

The classes_def.xml file guides the Seal dictionary generator to select which simbols to be put in the data dictionary. It must contain the names of the classes that you want to store and any of its constituents. In addition, you will likely need to mention any of the class template instantiations.
Deleted:
<
<
You will have also to declare explicitly the classes required by the data wrapper used by the condcore.
 For top level classes is good practice to declare the class version explicitly. For data members that need to be stored as blob the mapping shall be declared. classes in Framework/StdDictionaries do not need to be declared. Example:
Line: 113 to 112
 
Deleted:
<
<

 
Deleted:
<
<
 
Line: 129 to 121
 

How to create classes.h

This file should include the header of each top level persistable class(the compiler will include automatically all the embedded classes).
Changed:
<
<
Instances of template top level classes shall be instantiated explicity (including the data wrappers).
>
>
Instances of template top level classes shall be instantiated explicity.
 For example:
#include "CondFormats/Common/interface/PayloadWrapper.h"
Line: 139 to 131
  struct dictionary { BitArray<9> c; };
Changed:
<
<
struct wrappers { pool::PolyPtr p1; cond::DataWrapper d1; pool::PolyPtr p4; cond::DataWrapper d4; pool::PolyPtr<BitArray<9> > p6; cond::DataWrapper<BitArray<9> > d6; };
>
>
 }

Build everything

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback