6 produces<reco::GenParticleCollection>();
30 for(reco::GenParticleCollection::const_iterator
t=src.begin();
t!=src.end(); ++
t){
32 bool hasTopMother =
false;
33 for(
unsigned idx=0;
idx<
t->numberOfMothers(); ++
idx)
38 for(
unsigned idx=0;
idx<
t->numberOfMothers(); ++
idx){
40 t->mother(
idx)->vertex(),
t->mother(
idx)->pdgId(),
42 std::auto_ptr<reco::GenParticle> ptr( cand );
43 sel.push_back( *ptr );
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
TopInitSubset(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
void fillOutput(const reco::GenParticleCollection &, reco::GenParticleCollection &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Abs< T >::type abs(const T &t)
RefProd< PROD > getRefBeforePut()
edm::EDGetTokenT< reco::GenParticleCollection > srcToken_
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
volatile std::atomic< bool > shutdown_flag false