Skip to content
Snippets Groups Projects
Commit 314bb6c5 authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves: Committed by Marco Cattaneo
Browse files

Replace savannah bugs by corresponding JIRA tasks (@pkoppenb)

parent dcb62060
No related branches found
No related tags found
1 merge request!784Replace savannah bugs by corresponding JIRA tasks (@pkoppenb)
Pipeline #1929042 passed
......@@ -31,7 +31,7 @@
* A.Golutvin, P.Koppenburg have been used in the design.
*
* The file contains the functions, requested by Rob Lambert
* (see <a href="http://savannah.cern.ch/bugs/?47745">LoKi's Savannah portal #47745</a>)
* (see <a href="https://its.cern.ch/jira/browse/LHCBPS-1352">LoKi's Savannah portal #47745 - now JIRA 1352</a>)
*
* All these functors are to be used within CombineParticles framework only
* and surely completely useless for the regular Loki or Bender application
......
......@@ -35,8 +35,8 @@
* A.Golutvin, P.Koppenburg have been used in the design.
*
* The file contains the functions, requested by Rob Lambert
* (see <a href="http://savannah.cern.ch/bugs/?47745">LoKi's Savannah portal #47745</a>)
*
* (see <a href="https://its.cern.ch/jira/browse/LHCBPS-1352">LoKi's Savannah portal #47745 - now JIRA 1352</a>)
*
* All these functors are to be used within CombineParticles framework only
* and surely completely useless for the regular Loki or Bender application
*
......
......@@ -137,9 +137,10 @@ StatusCode BestPIDParticleMaker::makeParticles( Particle::Vector & parts ){
if ( !track )
return Error( "Charged ProtoParticle has null track reference !" );
if (track->states().empty()){
Warning("Track has empty states. This is likely to be bug https://savannah.cern.ch/bugs/index.php?70979");
continue ;
if ( track->states().empty() ) {
Warning( "Track has empty states. This is likely to be bug https://its.cern.ch/jira/browse/LHCBPS-391" )
.ignore();
continue;
}
TrackTally & tally = trackTally( track->type() );
......
......@@ -167,10 +167,10 @@ StatusCode CombinedParticleMaker::makeParticles( LHCb::Particle::Vector & parts
// Select tracks
if (msgLevel(MSG::VERBOSE)) verbose() << "Trying Track " << track->key() << endmsg;
if (track->states().empty())
{
Warning("Track has empty states. This is likely to be bug https://savannah.cern.ch/bugs/index.php?70979").ignore();
continue ;
if ( track->states().empty() ) {
Warning( "Track has empty states. This is likely to be bug https://its.cern.ch/jira/browse/LHCBPS-391" )
.ignore();
continue;
}
if ( !trSel()->accept(*track) ) continue;
if (msgLevel(MSG::VERBOSE))
......
......@@ -100,13 +100,14 @@ StatusCode NoPIDsParticleMaker::makeParticles
if (msgLevel(MSG::VERBOSE)) verbose() << "Trying PP " << *pp << endmsg;
const LHCb::Track* ptrack = pp->track();
if ( 0==ptrack ) {
Warning("Charged protoparticle with no Track found. Ignoring.");
continue ;
if ( 0 == ptrack ) {
Warning( "Charged protoparticle with no Track found. Ignoring." ).ignore();
continue;
}
if (ptrack->states().empty()){
Warning("Track has empty states. This is likely to be bug https://savannah.cern.ch/bugs/index.php?70979");
continue ;
if ( ptrack->states().empty() ) {
Warning( "Track has empty states. This is likely to be bug https://its.cern.ch/jira/browse/LHCBPS-391" )
.ignore();
continue;
}
// if ( 0 == pp -> charge () ) { continue ; } // CONTINUE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment