UserUtils
Functions
DumpLHERunInfo.cc File Reference

Dumping contents of the LHE production information on screen. More...

#include "DataFormats/FWLite/interface/Handle.h"
#include "DataFormats/FWLite/interface/Run.h"
#include "SimDataFormats/GeneratorProducts/interface/LHERunInfoProduct.h"
#include "TFile.h"
#include <iostream>

Functions

int main (int argc, char *argv[])
 

Detailed Description

Author
Yi-Mu "Enoch" Chen

This is meant to be used with a single EDM file:

DumpLHERunInfo file.root

The LHE production information of the first run would be printed out. Notice that the "tag" (type of production information) would be printed before each line, so you can combine with grep commands to get specific parts of the production information.