UserUtils
Functions
DumpGenParticles.cc File Reference

Dumping the generator level particle topology to the screen. More...

#include "UserUtils/Common/interface/ArgumentExtender.hpp"
#include "UserUtils/Common/interface/STLUtils/OStreamUtils.hpp"
#include "UserUtils/Common/interface/STLUtils/VectorUtils.hpp"
#include "UserUtils/EDMUtils/interface/ParseEDM.hpp"
#include "UserUtils/PhysUtils/interface/MCHelper.hpp"
#include "DataFormats/FWLite/interface/ChainEvent.h"
#include "DataFormats/FWLite/interface/Handle.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "TFile.h"

Functions

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

Detailed Description

Author
Yi-Mu Chen

User the function as:

DumpGenparticles -i MyEDMFiles.root

For a single EDM events, the list of particles information is dumped onto the screen in the following columns.

Only a single event is diplayed for a single command call. You can specify the event to be displayed either using the --event input options via a standard EDM event id format (--event="1:0:1234") or by using the --eventidx option to specify which event in the file to use. In case the that particle is saved at a different EDM tag (this program assumes the MINIAOD data tier), you can specify the EDM tag using the --tag input option.

For the current existing options, call the program with the --help options.