Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /DataFormats/L1TGlobal/README.md is written in an unsupported language. File is not indexed.

0001 #  DataFormats/L1TGlobal
0002 
0003 ## `GlobalObjectMapRecord`
0004 
0005 The class `GlobalObjectMapRecord` is part of the RAW data, and any changes must be backwards compatible. In order to ensure it can be read by all future CMSSW releases, there is a `TestGlobalObjectMapRecordFormat` unit test, which makes use of the `TestReadGlobalObjectMapRecord` analyzer and the `TestWriteGlobalObjectMapRecord` producer. The unit test checks that the object can be read properly from
0006 
0007 * a file written by the same release
0008 * files written by (some) earlier releases
0009 
0010 If the persistent format of class `GlobalObjectMapRecord` gets changed in the future, please adjust the `TestReadGlobalObjectMapRecord` and `TestWriteGlobalObjectMapRecord` modules accordingly. It is important that every member container has some content in this test. Please also add new files to the [https://github.com/cms-data/DataFormats-L1TGlobal/](https://github.com/cms-data/DataFormats-L1TGlobal/) repository, and update the `TestGlobalObjectMapRecord` unit test to read the newly created files. There should be one file written with split level 0 and one with split level 99. The file name should contain the release or pre-release with which it was written and the split level.