Skip to content

Commit

Permalink
fix few denug compilation isseus
Browse files Browse the repository at this point in the history
  • Loading branch information
VinInn authored and fwyzard committed Aug 1, 2016
1 parent b4cc75a commit 7ae12a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions RecoParticleFlow/PFTracking/plugins/GoodSeedProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ GoodSeedProducer::produce(Event& iEvent, const EventSetup& iSetup)
auto const & Tj=*(tjCollection.product());

LogDebug("GoodSeedProducer")<<"Number of tracks in collection "
<<tracksContainers_[istr] <<" to be analyzed "
<<"tracksContainers_[" << istr << "] to be analyzed "
<<Tj.size();

//loop over the track collection
Expand Down Expand Up @@ -423,7 +423,8 @@ GoodSeedProducer::produce(Event& iEvent, const EventSetup& iSetup)
GoodPreId= GoodTkId | GoodMatching;

myPreId.setFinalDecision(GoodPreId);


#ifdef EDM_ML_DEBUG
if(GoodPreId)
LogDebug("GoodSeedProducer")<<"Track (pt= "<<Tk[i].pt()<<
"GeV/c, eta= "<<Tk[i].eta() <<
Expand All @@ -432,8 +433,10 @@ GoodSeedProducer::produce(Event& iEvent, const EventSetup& iSetup)
LogDebug("GoodSeedProducer")<<"Track (pt= "<<Tk[i].pt()<<
"GeV/c, eta= "<<Tk[i].eta() <<
") preidentified only for track properties";

#endif

} // end of !disablePreId_


if (GoodPreId){
//NEW SEED with n hits
Expand Down
2 changes: 1 addition & 1 deletion RecoParticleFlow/PFTracking/plugins/PFV0Producer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PFV0Producer::produce(Event& iEvent, const EventSetup& iSetup)
for (unsigned int il=0; il<V0list_.size(); il++){
Handle<VertexCompositeCandidateCollection> V0coll;
iEvent.getByToken(V0list_[il],V0coll);
LogDebug("PFV0Producer")<<V0list_[il]<<" contains "<<V0coll->size()<<" V0 candidates ";
LogDebug("PFV0Producer")<< "V0list_[" << il <<"] contains "<<V0coll->size()<<" V0 candidates ";
for (unsigned int iv=0;iv<V0coll->size();iv++){
VertexCompositeCandidateRef V0(V0coll, iv);
vector<TrackRef> Tracks;
Expand Down

0 comments on commit 7ae12a9

Please sign in to comment.