38 #include "HepMC/GenEvent.h"
39 #include "HepMC/GenVertex.h"
40 #include "HepMC/GenParticle.h"
56 #include <TDirectory.h>
116 std::map<std::string, TH1*>
h;
117 std::map<std::string, TDirectory*>
hdir;
std::vector< simPrimaryVertex > getSimPVs(const edm::Handle< edm::HepMCProduct > evtMC, std::string suffix)
std::vector< int > genVertex
bool isCharged(const HepMC::GenParticle *p)
bool isFinalstateParticle(const HepMC::GenParticle *p)
std::map< std::string, TDirectory * > hdir
void printSimTrks(const edm::Handle< edm::SimTrackContainer > simVtrks)
simPrimaryVertex(double x1, double y1, double z1)
std::vector< int > finalstateParticles
std::vector< int > simTrackIndex
edm::ESHandle< ParticleDataTable > pdt
std::vector< std::string > vtxSample_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::string recoTrackProducer_
const reco::Vertex * recVtx
bool isResonance(const HepMC::GenParticle *p)
std::map< std::string, TH1 * > h
void printRecVtxs(const edm::Handle< reco::VertexCollection > recVtxs)
PrimaryVertexAnalyzer(const edm::ParameterSet &)
std::vector< std::string > suffixSample_
bool matchVertex(const simPrimaryVertex &vsim, const reco::Vertex &vrec)
void printSimVtxs(const edm::Handle< edm::SimVertexContainer > simVtxs)