Skip to content
Snippets Groups Projects
Commit e69f4b35 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

v7r1

parent 376f01df
No related branches found
No related tags found
No related merge requests found
Showing
with 88 additions and 134 deletions
# $Id: requirements,v 1.16 2009-05-08 14:21:17 cattanem Exp $
# $Id: requirements,v 1.17 2009-05-22 13:02:58 cattanem Exp $
# ============================================================================
# Created : 2004-10-25
# Maintainer : Olivier Deschamps odescham@in2p3.fr
# ============================================================================
package CaloMoniDst
version v3r6
version v3r7
# =============== structure ==================================================
branches cmt doc src options
......
v3r6
v3r7
! $Id: release.notes,v 1.38 2009-05-08 14:21:17 cattanem Exp $
! $Id: release.notes,v 1.41 2009-06-03 13:07:23 cattanem Exp $
! -----------------------------------------------------------------------------
! Package : Calo/CaloMoniDst
! Responsible : Olivier Deschamps odescham@in2p3.fr
! Purpose : Calo monitoring of Dst tape
! -----------------------------------------------------------------------------
!========================== CaloMoniDst v3r7 2009-06-03 =======================
! 2009-06-03 - Marco Cattaneo
- Fix for windows, do not use fabs with int argument, use abs
- Use _snprintf, not snprintf on windows
! 2009-05-22 - Marco Cattaneo
- Fix invalid matrix indices in computation of "shape" in CaloPhotonChecker.cpp
!========================== CaloMoniDst v3r6 2009-05-08 =======================
! 2009-05-05 - Olivier Deschamps for Aurelien Martens
- CaloEFlowAlg.cpp : add protection
......
// $Id: CaloEMuChecker.cpp,v 1.1 2009-04-21 14:19:32 odescham Exp $
// $Id: CaloEMuChecker.cpp,v 1.2 2009-06-03 13:07:23 cattanem Exp $
// Include files
// from Gaudi
......@@ -205,7 +205,7 @@ bool CaloEMuChecker::acceptMu(const LHCb::ProtoParticle *proto) const
if ( !proto->info( LHCb::ProtoParticle::InAccEcal, false ) ) return false;
if ( !proto->info( LHCb::ProtoParticle::InAccHcal, false ) ) return false;
if ( int(fabs(static_cast<MoniVarsMC *>(m_var)->mcid)) != int(fabs(m_muID)) ) return false;
if ( int(abs(static_cast<MoniVarsMC *>(m_var)->mcid)) != int(abs(m_muID)) ) return false;
return true;
}
......@@ -216,7 +216,7 @@ bool CaloEMuChecker::acceptMu(const LHCb::ProtoParticle *proto) const
bool CaloEMuChecker::acceptE(const LHCb::ProtoParticle *proto) const
{
if ( !proto->info( LHCb::ProtoParticle::InAccEcal, false ) ) return false;
if ( int(fabs(static_cast<MoniVarsMC *>(m_var)->mcid)) != int(fabs(m_eID)) ) return false;
if ( int(abs(static_cast<MoniVarsMC *>(m_var)->mcid)) != int(abs(m_eID)) ) return false;
return true;
}
......
// $Id: CaloEMuMonitor.cpp,v 1.2 2009-04-24 13:44:08 cattanem Exp $
// $Id: CaloEMuMonitor.cpp,v 1.3 2009-06-03 13:07:23 cattanem Exp $
// Include files
// from Gaudi
......@@ -9,6 +9,7 @@
// from gsl
#include "gsl/gsl_cdf.h"
// =====================================================================
/** @file
*
......@@ -134,8 +135,13 @@ void CaloEMuMonitor::bookMonitoringHistograms(){
return;
}
char buf[64]; snprintf(buf, sizeof(buf)-1, "tanh(CaloEcalChi2 / %f)", m_chi2eNorm);
m_refPar["tanhe"].htitle = buf;
char buf[64];
#ifdef _WIN32
_snprintf(buf, sizeof(buf)-1, "tanh(CaloEcalChi2 / %f)", m_chi2eNorm);
#else
snprintf(buf, sizeof(buf)-1, "tanh(CaloEcalChi2 / %f)", m_chi2eNorm);
#endif
m_refPar["tanhe"].htitle = buf;
}
// book monitoring histograms
......
......@@ -532,7 +532,7 @@ StatusCode CaloPhotonChecker::execute()
}
debug() << " - Chi2 ="<<chi2<<endmsg;
// Shower Shape
double shape=hypo->position()->spread()(1,1)+hypo->position()->spread()(2,2);
double shape=hypo->position()->spread()(0,0)+hypo->position()->spread()(1,1);
debug()<<" - Shower Shape="<<shape<<endmsg;
//Spd hit and Prs deposit
......
# $Id: requirements,v 1.40 2009-05-08 14:25:26 cattanem Exp $
# $Id: requirements,v 1.41 2009-05-15 12:53:38 cattanem Exp $
# =============================================================================
# Created : 2006-05-28
# Maintainer : Vanya BELYAEV ibelyaev@physics.syr.edu
# =============================================================================
package CaloPIDs
version v4r16
version v4r17
# =============== structure ===================================================
branches cmt doc src options
......
v4r16
v4r17
! $Id: release.notes,v 1.67 2009-05-08 14:25:26 cattanem Exp $
! $Id: release.notes,v 1.69 2009-05-25 14:16:14 cattanem Exp $
!------------------------------------------------------------------------------
! Package : Calo/CaloPIDs
! Responsible : Olivier Deschamps odescham@in2p3.fr
! Purpose : Calorimeter PIDs
!------------------------------------------------------------------------------
!========================== CaloPIDs v4r17 2009-05-25 =========================
! 2009-05-15 - Marco Cattaneo
- Fix untested StatusCode on Warning() and Error() calls
- Replace endreq with endmsg
!========================== CaloPIDs v4r16 2009-05-08 =========================
! 2009-04-16 - Olivier Deschamps
- fix unchecked StatusCode
......
// $Id: BremMatchAlg.cpp,v 1.7 2008-06-30 15:37:34 odescham Exp $
// ============================================================================
// CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.7 $
// ============================================================================
// $Log: not supported by cvs2svn $
// Revision 1.6 2008/05/13 12:25:51 odescham
// restore _setProperty()
//
// Revision 1.5 2008/01/24 10:22:42 vegorych
// _setProperty was removed, AddNeigbours warning was solved
//
// Revision 1.4 2007/08/24 21:25:18 odescham
// fix uncheck. StatusCodes
//
// Revision 1.3 2006/06/21 18:43:29 ibelyaev
// fix 'Brem' problem & speed-up it a bit
//
// Revision 1.2 2006/06/20 18:17:48 odescham
// minor update to please ChargedProtoPAlg
//
// Revision 1.1 2006/06/18 18:35:27 ibelyaev
// the firstcommmit for DC06 branch
//
// $Id: BremMatchAlg.cpp,v 1.8 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Include files
// ============================================================================
......@@ -101,7 +79,6 @@ StatusCode BremMatchAlg::execute ()
//
Assert ( !m_tracks .empty() , "No Input tracks" ) ;
Assert ( !m_calos .empty() , "No Input Clusters" ) ;
//if(sc.isFailure())warning() << "Asserting FAILED " << endreq;
//
typedef LHCb::RelationWeighted2D<LHCb::Track,LHCb::CaloHypo,float> Table ;
......
// $Id: CaloBremMatch.cpp,v 1.5 2008-05-13 12:25:51 odescham Exp $
// ============================================================================
// CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $
// ============================================================================
// $Log: not supported by cvs2svn $
// Revision 1.4 2008/01/24 10:22:42 vegorych
// _setProperty was removed, AddNeigbours warning was solved
//
// Revision 1.3 2007/08/24 21:25:18 odescham
// fix uncheck. StatusCodes
//
// Revision 1.2 2006/06/21 18:43:29 ibelyaev
// fix 'Brem' problem & speed-up it a bit
//
// $Id: CaloBremMatch.cpp,v 1.6 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Include files
// ============================================================================
......@@ -185,10 +172,9 @@ StatusCode CaloBremMatch::match
// allowed z ?
if ( state->z() > 4.0 * Gaudi::Units::meter )
{
Error ( "No appropriate states are found, see 'debug'") ;
print ( debug() , trObj ) ;
m_tBad = trObj ;
return StatusCode::FAILURE ;
return Error ( "No appropriate states are found, see 'debug'") ;
}
}
// use the linear extrapolator
......
// $Id: CaloEnergyForTrack.cpp,v 1.3 2008-06-03 15:49:56 odescham Exp $
// ============================================================================
// CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $
// ============================================================================
// $Log: not supported by cvs2svn $
// Revision 1.2 2008/01/24 10:22:42 vegorych
// _setProperty was removed, AddNeigbours warning was solved
//
// Revision 1.1 2006/06/18 18:35:27 ibelyaev
// the firstcommmit for DC06 branch
//
// $Id: CaloEnergyForTrack.cpp,v 1.4 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Include files
// ============================================================================
......@@ -112,7 +102,7 @@ StatusCode CaloEnergyForTrack::initialize()
}
//
if ( propsPrint() || msgLevel ( MSG::DEBUG ) )
{ info() << "State Location is set to '" << m_location << "'" << endreq ; }
{ info() << "State Location is set to '" << m_location << "'" << endmsg ; }
//
if ( m_planes.empty() ) { return Error ( "Empty list of Calo-planes" ) ; }
//
......
......@@ -127,7 +127,7 @@ CaloPhotonEstimatorTool::~CaloPhotonEstimatorTool()
// ============================================================================
StatusCode CaloPhotonEstimatorTool::initialize ()
{
debug() << "==> Initialize CaloPhotonEstimatorTool" << endreq;
debug() << "==> Initialize CaloPhotonEstimatorTool" << endmsg;
/// initialize the base class
StatusCode sc = GaudiTool::initialize ();
......@@ -138,21 +138,21 @@ StatusCode CaloPhotonEstimatorTool::initialize ()
SmartDataPtr<DeCalorimeter> detecal (detSvc(),m_nameOfECAL);
if(!detecal)
error() <<"Unable to retrieve ECAL detector "
<<m_nameOfECAL<<endreq;
<<m_nameOfECAL<<endmsg;
if (!detecal){ return StatusCode::FAILURE ;}
// SPD
SmartDataPtr<DeCalorimeter> detspd (detSvc(),m_nameOfSPD);
if(!detspd)
error() <<"Unable to retrieve SPD detector "
<<m_nameOfSPD<<endreq;
<<m_nameOfSPD<<endmsg;
if (!detspd){ return StatusCode::FAILURE ; }
// PRS
SmartDataPtr<DeCalorimeter> detprs (detSvc(),m_nameOfPRS);
if(!detprs)
error()<<"Unable to retrieve PRS detector "
<<m_nameOfPRS<<endreq;
<<m_nameOfPRS<<endmsg;
if (!detprs){ return StatusCode::FAILURE ; }
// Convert Detectors to DeCalorimeter
......@@ -201,7 +201,7 @@ StatusCode CaloPhotonEstimatorTool::initialize ()
unsigned int nEbin=m_eBin.size()+1;
m_histoSvc = svc<IHistogramSvc> ( "HistogramDataSvc", true );
debug()G<<"HistogramDataSvc is loaded properly!!"<<endreq;
debug()G<<"HistogramDataSvc is loaded properly!!"<<endmsg;
m_signalEPrs=makeHisto
(int(m_binningEPrs[ 0 ]),m_binningEPrs[ 1 ],m_binningEPrs[ 2 ],
......@@ -276,7 +276,7 @@ StatusCode CaloPhotonEstimatorTool::initialize ()
*/
// General WARNING
warning() << "Vertex location HARD-CODED : IP(0.,0.,0.)"<<endreq;
warning() << "Vertex location HARD-CODED : IP(0.,0.,0.)"<<endmsg;
return StatusCode::SUCCESS ;
};
......@@ -303,7 +303,7 @@ double CaloPhotonEstimatorTool::likelihood(const LHCb::CaloHypo* hypo ) const
if( 1 != hypo->clusters().size() ){
debug() <<"Number of clusters != 1"<<endreq;
debug() <<"Number of clusters != 1"<<endmsg;
return -1.;
}
......@@ -376,11 +376,11 @@ double CaloPhotonEstimatorTool::likelihood(const LHCb::CaloHypo* hypo ) const
if( !Gaudi::Math::intersection<LineType,Gaudi::Plane3D
,Gaudi::XYZPoint>( line , m_planeSpd , spdPoint , mu) )
warning() << " CAN NOT EXTRAPOLATE TO THE SPD PLANE " << endreq;
warning() << " CAN NOT EXTRAPOLATE TO THE SPD PLANE " << endmsg;
if( !Gaudi::Math::intersection<LineType,Gaudi::Plane3D
,Gaudi::XYZPoint>( line , m_planePrs , prsPoint , mu) )
warning() << " CAN NOT EXTRAPOLATE TO THE Prs PLANE " << endreq;
warning() << " CAN NOT EXTRAPOLATE TO THE Prs PLANE " << endmsg;
}
const LHCb::CaloCellID cellSpd = m_detSpd->Cell( spdPoint );
......@@ -454,14 +454,14 @@ double CaloPhotonEstimatorTool::likelihood(const LHCb::CaloHypo* hypo ) const
estimator=(signal+backgr>0.)?signal/(signal+backgr):-1.;
debug() <<"Photon Candidate :"<<endreq;
debug() <<" -E ="<<energy<<endreq;
debug() <<" -Et ="<<et<<endreq;
debug() <<" -Spd hit ="<<eSpd<<endreq;
debug() <<" -EPrs ="<<ePrs<<endreq;
debug() <<" -Chi2 ="<<chi2<<endreq;
debug() <<" -ShShape ="<<shape<<endreq;
debug() <<" => estimator="<<estimator<<endreq;
debug() <<"Photon Candidate :"<<endmsg;
debug() <<" -E ="<<energy<<endmsg;
debug() <<" -Et ="<<et<<endmsg;
debug() <<" -Spd hit ="<<eSpd<<endmsg;
debug() <<" -EPrs ="<<ePrs<<endmsg;
debug() <<" -Chi2 ="<<chi2<<endmsg;
debug() <<" -ShShape ="<<shape<<endmsg;
debug() <<" => estimator="<<estimator<<endmsg;
// if (m_monitoring) {m_likelihood->fill(estimator, 1.);}
......@@ -501,7 +501,7 @@ std::vector<IHistogram1D*> CaloPhotonEstimatorTool::makeHisto(
for (unsigned int i=0; i<n; ++i){
IHistogram1D* histo;
sprintf(histoname,"%s #%i",hname.c_str(),nhisto+i);
// debug() <<"Processing Histo ..."<<histoname<<endreq;
// debug() <<"Processing Histo ..."<<histoname<<endmsg;
histo = m_histoSvc->book( dir ,
nhisto+i ,
......
// $Id: CaloSingleGammaTool.cpp,v 1.3 2008-06-26 13:07:04 jpalac Exp $
// $Id: CaloSingleGammaTool.cpp,v 1.4 2009-05-15 12:53:38 cattanem Exp $
// ===========================================================================
// Include files
// GaudiKernel
......@@ -56,24 +56,24 @@ CaloSingleGammaTool::~CaloSingleGammaTool(){}
// ============================================================================
StatusCode CaloSingleGammaTool::initialize ()
{
debug() << "==> Initialize" << endreq;
debug() << "==> Initialize" << endmsg;
/// initialize the base class
StatusCode sc = GaudiTool::initialize ();
if ( sc.isFailure() ) return sc; // error printed already by GaudiAlgorithm
// ECAL
SmartDataPtr<DeCalorimeter> detecal (detSvc(),m_nameOfECAL);
if(!detecal)error()<<"Unable to retrieve ECAL detector " <<m_nameOfECAL<<endreq;
if(!detecal)error()<<"Unable to retrieve ECAL detector " <<m_nameOfECAL<<endmsg;
if(!detecal){ return StatusCode::FAILURE ;}
// SPD
SmartDataPtr<DeCalorimeter> detspd (detSvc(),m_nameOfSPD);
if(!detspd)error()<<"Unable to retrieve SPD detector "<<m_nameOfSPD<<endreq;
if(!detspd)error()<<"Unable to retrieve SPD detector "<<m_nameOfSPD<<endmsg;
if(!detspd){ return StatusCode::FAILURE ; }
// PRS
SmartDataPtr<DeCalorimeter> detprs (detSvc(),m_nameOfPRS);
if(!detprs)error()<<"Unable to retrieve PRS detector "<<m_nameOfPRS<<endreq;
if(!detprs)error()<<"Unable to retrieve PRS detector "<<m_nameOfPRS<<endmsg;
if(!detprs){ return StatusCode::FAILURE ; }
// Convert Detectors to DeCalorimeter
......@@ -141,7 +141,7 @@ double CaloSingleGammaTool::likelihood(const LHCb::CaloHypo* hypo ) const
// fix by V.B. Many thanks to G.Corti .
if( 0 == pos )
{
Warning(" likelihood(): CaloPosition* points to NULL");
Warning(" likelihood(): CaloPosition* points to NULL").ignore();
return lhood ;
}
......@@ -161,11 +161,11 @@ double CaloSingleGammaTool::likelihood(const LHCb::CaloHypo* hypo ) const
if(!Gaudi::Math::intersection<LineType,Gaudi::Plane3D,Gaudi::XYZPoint>
( line , m_planeSpd , spdPoint , mu) )
warning() << " CAN NOT EXTRAPOLATE TO THE SPD PLANE " << endreq;
warning() << " CAN NOT EXTRAPOLATE TO THE SPD PLANE " << endmsg;
if(!Gaudi::Math::intersection<LineType,Gaudi::Plane3D,Gaudi::XYZPoint>
( line , m_planePrs , prsPoint , mu))
warning() << " CAN NOT EXTRAPOLATE TO THE Prs PLANE " << endreq;
warning() << " CAN NOT EXTRAPOLATE TO THE Prs PLANE " << endmsg;
}
else{
spdPoint = m_planeSpd.ProjectOntoPlane( position );
......
// $Id: CaloTrack2IDAlg.cpp,v 1.4 2008-06-30 15:37:34 odescham Exp $
// $Id: CaloTrack2IDAlg.cpp,v 1.5 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Include files
// ============================================================================
......@@ -73,9 +73,9 @@ StatusCode CaloTrack2IDAlg::initialize ()
//
m_tool = tool<ICaloTrackIdEval> ( m_toolName , this ) ;
//
if ( m_inputs.empty() ) { Warning ( "empty 'Inputs'-list" ) ; }
if ( m_output.empty() ) { Warning ( "empty 'Output'-value" ) ; }
if ( m_filter.empty() ) { Warning ( "empty 'Filter'-value" ) ; }
if ( m_inputs.empty() ) { Warning ( "empty 'Inputs'-list" ).ignore() ; }
if ( m_output.empty() ) { Warning ( "empty 'Output'-value" ).ignore() ; }
if ( m_filter.empty() ) { Warning ( "empty 'Filter'-value" ).ignore() ; }
//
return StatusCode::SUCCESS ;
} ;
......@@ -129,7 +129,7 @@ StatusCode CaloTrack2IDAlg::execute ()
StatusCode sc = m_tool->process ( track , value ) ;
if ( sc.isFailure() )
{
Warning ( " Failure from the tool, skip the track!", sc ) ;
Warning ( " Failure from the tool, skip the track!", sc ).ignore() ;
continue ; // CONTINUE
}
// make a relations (fast, efficient, call for i_sort is mandatory!)
......
// $Id: CaloTrackMatchAlg.cpp,v 1.2 2008-06-30 15:37:34 odescham Exp $
// $Id: CaloTrackMatchAlg.cpp,v 1.3 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $
// ============================================================================
// $Log: not supported by cvs2svn $
// Revision 1.1 2006/06/18 18:35:28 ibelyaev
// the firstcommmit for DC06 branch
//
// CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $
// ============================================================================
// Include files
// ============================================================================
......@@ -56,11 +51,11 @@ StatusCode CaloTrackMatchAlg::initialize()
StatusCode sc = CaloTrackAlg::initialize();
if ( sc.isFailure() ) { return sc ; }
//
if ( m_tracks .empty() ) { Warning ( "empty 'Tracks'-list" ) ; }
if ( m_calos .empty() ) { Warning ( "empty 'Calos'-list" ) ; }
if ( m_output .empty() ) { Warning ( "empty 'Output'-value" ) ; }
if ( m_toolName .empty() ) { Warning ( "empty 'Tool'-value" ) ; }
if ( m_filter .empty() ) { Warning ( "empty 'Filter'-value" ) ; }
if ( m_tracks .empty() ) { Warning ( "empty 'Tracks'-list" ).ignore() ; }
if ( m_calos .empty() ) { Warning ( "empty 'Calos'-list" ).ignore() ; }
if ( m_output .empty() ) { Warning ( "empty 'Output'-value" ).ignore() ; }
if ( m_toolName .empty() ) { Warning ( "empty 'Tool'-value" ).ignore() ; }
if ( m_filter .empty() ) { Warning ( "empty 'Filter'-value" ).ignore() ; }
//
return StatusCode::SUCCESS;
} ;
......
// $Id: CaloTrackMatchAlg.h,v 1.5 2009-04-16 14:25:36 odescham Exp $
// $Id: CaloTrackMatchAlg.h,v 1.6 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
#ifndef CALOTRACKMATCHALG_H
#define CALOTRACKMATCHALG_H 1
......@@ -142,11 +142,11 @@ inline StatusCode CaloTrackMatchAlg::doTheJob ( TABLE* table ) const
for ( Inputs::const_iterator i = m_tracks.begin() ; m_tracks.end() != i ; ++i ){
if( !exist<Tracks>(*i) ){
debug() << " Container " << *i << " has not been found " << endreq;
debug() << " Container " << *i << " has not been found " << endmsg;
continue;
}
const Tracks* c = get<Tracks> ( *i) ;
debug() << " Found " << c->size() << "tracks in " << *i << endreq;
debug() << " Found " << c->size() << "tracks in " << *i << endmsg;
if ( 0 == c ) { continue ; }
// loop over all tracks in container
for ( Tracks::const_iterator it = c->begin() ; c->end() != it ; ++it ){
......
// $Id: InBremAcceptance.cpp,v 1.6 2008-05-13 12:25:51 odescham Exp $
// $Id: InBremAcceptance.cpp,v 1.7 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Include files
// ============================================================================
......@@ -81,7 +81,7 @@ bool InBremAcceptance::inAcceptance ( const LHCb::Track* track) const
// allowed z ?
if ( state->z() > 4.0 * Gaudi::Units::meter )
{
Error ( "No appropriate states are found, see 'debug'") ;
Error ( "No appropriate states are found, see 'debug'").ignore() ;
print ( debug() , track ) ;
return false ;
}
......
// $Id: InCaloAcceptance.cpp,v 1.7 2009-04-16 14:25:36 odescham Exp $
// $Id: InCaloAcceptance.cpp,v 1.8 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Include files
// ============================================================================
......@@ -101,7 +101,7 @@ StatusCode InCaloAcceptance::initialize()
if ( propsPrint() || msgLevel ( MSG::DEBUG ) )
{
info() << "State to be used for aceptance check is '"
<< m_loc << "'" << endreq ;
<< m_loc << "'" << endmsg ;
}
return StatusCode::SUCCESS ;
};
......
// $Id: InCaloAcceptanceAlg.cpp,v 1.4 2009-04-16 14:25:36 odescham Exp $
// ============================================================================
// CVS tag $Name: not supported by cvs2svn $, version $Revsion:$
// ============================================================================
// $Log: not supported by cvs2svn $
// Revision 1.3 2008/06/30 15:37:34 odescham
// prepare for HLT processing
//
// Revision 1.2 2007/08/24 21:25:18 odescham
// fix uncheck. StatusCodes
//
// Revision 1.1 2006/06/18 18:35:29 ibelyaev
// the firstcommmit for DC06 branch
//
// $Id: InCaloAcceptanceAlg.cpp,v 1.5 2009-05-15 12:53:38 cattanem Exp $
// ============================================================================
// Boost
// ============================================================================
......@@ -70,8 +57,8 @@ StatusCode InCaloAcceptanceAlg::initialize()
StatusCode sc = CaloTrackAlg::initialize();
if ( sc.isFailure() ) { return sc ; }
//
if ( m_inputs.empty() ) { Warning ( "Empty 'Inputs'-list" ) ; }
if ( m_output.empty() ) { Warning ( "Empty 'Output'-value" ) ; }
if ( m_inputs.empty() ) { Warning ( "Empty 'Inputs'-list" ).ignore() ; }
if ( m_output.empty() ) { Warning ( "Empty 'Output'-value" ).ignore() ; }
//
m_tool = tool<IInAcceptance> ( m_toolName , this ) ;
//
......@@ -116,7 +103,7 @@ StatusCode InCaloAcceptanceAlg::execute()
table -> i_push ( track , result ) ; // ATTENTION: i-push is used
}
} ;
if ( 0 == nTracks ) { Warning("No good tracks have been selected") ; }
if ( 0 == nTracks ) { Warning("No good tracks have been selected").ignore() ; }
// MANDATORY: i_sort after i_push
table -> i_sort () ;
......
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