Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

fmwk/JobControl/Exception.h File Reference

#include "JobControl/CmdLine.h"
#include <cstdlib>
#include <iostream>
#include <cassert>
#include <string>

Go to the source code of this file.

Namespaces

namespace  jobc

Classes

class  jobc::Exception
 A standard exception to be thrown by reconstruction code. More...

Defines

#define assert_jobc(expr, msg)


Define Documentation

#define assert_jobc expr,
msg   ) 
 

Value:

if ((expr) == 0) {                                                 \
    if (jobc::CmdLine::Instance().DumpOnException() == 2) {        \
      std::cout<<msg<<"\nIn "<<__FILE__<<":"<<__LINE__<<std::endl; \
      assert(expr);                                                \
    }                                                              \
  else throw jobc::Exception(#expr, msg, __FILE__, __LINE__);      \
  }

Definition at line 18 of file fmwk/JobControl/Exception.h.

Referenced by rawdata::RawDigit::ADC(), SAnaNtup::Add(), mcchk::GenCheck::Ana(), sim::HitProfile::Component(), sim::HitProfile::Fraction(), sim::MCDigitInfo::GetProfile(), cmap::IPNDCMap::Instance(), cmap::NDCMap::Instance(), cmap::FDCMap::Instance(), sim::HitProfile::NComponents(), sim::MCDigitInfo::NormalizeFraction(), photrans::SimpleTransport::Reco(), novamc::NOVAMC::Reco(), demo::Object::SetDemoVal(), sim::HitProfile::SetFraction(), rsim::SimpleReadout::Simulate(), rsim::FarReadout::Simulate(), rawdata::RawDigit::TDC(), and sim::HitProfile::TrackId().


Generated on Sat Oct 11 02:35:29 2008 for NOvA Offline by  doxygen 1.3.9.1