28 #include <CLHEP/Vector/LorentzVector.h> 77 std::pair<lorentzVector,lorentzVector> genPair;
92 std::cout <<
"ERROR: no generator info found" << std::endl;
97 if( (genPair.first == emptyVec) || (genPair.second == emptyVec) ) {
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
T getParameter(std::string const &) const
static std::pair< lorentzVector, lorentzVector > findGenMuFromRes(const reco::GenParticleCollection *genParticles)
edm::EDGetTokenT< reco::GenParticleCollection > genParticlesToken_
reco::Particle::LorentzVector lorentzVector
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::HepMCProduct > evtMCToken_
bool filter(edm::Event &, const edm::EventSetup &) override
~MuScleFitGenFilter() override
unsigned int eventsPassingTheFilter_
T const * product() const
std::string genParticlesName_
static std::vector< int > resfind
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
unsigned int totalEvents_
MuScleFitGenFilter(const edm::ParameterSet &)