This is an old revision of the document!
To get event content to edmDumpEventContent of your AOD file
edmDumpEventContent 06688145-E89E-E211-9845-002590593876.root
For only info on certain type use regex
edmDumpEventContent 06688145-E89E-E211-9845-002590593876.root --regex gen
Type Module Label Process -------------------------------------------------------------------------------------- GenEventInfoProduct "generator" "" "SIM" vector<int> "genParticles" "" "SIM" vector<reco::GenJet> "ak5GenJets" "" "SIM" vector<reco::GenJet> "ak7GenJets" "" "SIM" vector<reco::GenJet> "kt4GenJets" "" "SIM" vector<reco::GenJet> "kt6GenJets" "" "SIM" vector<reco::GenMET> "genMetCalo" "" "SIM" vector<reco::GenMET> "genMetCaloAndNonPrompt" "" "SIM" vector<reco::GenMET> "genMetTrue" "" "SIM" vector<reco::GenParticle> "genParticles" "" "SIM" vector<reco::Track> "generalTracks" "" "RECO"
You then need you own analyzer. Check out Writing your own EDAnalyzer
Google your class reference to see the functions of the class. For instance “reco::GenParticle reference” gives you the page reco::GenParticle class reference