MEtoEDM and EDMtoME converters

Complete: 3

Analyzer integration

To include Validation code making use of the DQM infrastructure into automated CMS.RelVal running, the use of MEtoEDMConverter has to be used to store the ME information in the Run Tree of the EDM file. This producer needs to be run last in the sequence after all analyzers have been run, so it will have access to all MEs registered with the central DQMStore singleton. In the case of parallel processing of a job, the stored information will be merged for histogram based MEs. For TObjString based MEs, the initial information stored in the object will be preserved. It can also gather information across runs, so if you want only a single run in your final file, make sure you are only processing over a dataset with a single run. TObjString information will be that stored with the first run.

Information can be extracted from the EDM file via the EDMtoMEConvterter analyzer which will produce a standard DQM output root file based on the contents in the Run tree of the EDM file produced with MEtoEDMConverter (all analyzer output in a single file, therefore the need for the naming convention using the analyzer as the head directory). It can accept as argument a list of final merged EDM files and will properly merge the contents of the histogram based MEs. Once again, TObjString based MEs are never merged and retain the value first set for the object in the first file.

Example

An example code that makes use of the DQMStore and creates one of each type of monitor element (filled with random information) can be found in

Validation/GlobalHits/src/GlobalHitsTester.cc

Example configuration files to run the process exist in Validation/GlobalHits/test:

  • TestValidation.cfg: runs the DQM based GlobalHitsTester analyzer along with MEtoEDMConverter.
  • EDMtoMEConverter.cfg runs over the output of the first cfg file to reconstitute the DQM output root file.

Code location

  • MEtoEDM and EDMtoME converters in CVS

Review status

Responsible: Main.VictorBazterra

Reviewer/Editor and Date (copy from screen) Comments
Main.VictorBazterra - 14 Mar 2008 Page creation.
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-03-14 - VictorBazterra
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

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