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(), recobase::Prong::Cluster(), sim::HitProfile::Component(), sim::HitProfile::Fraction(), sim::TruthFilter::GetFilteredHits(), sim::MCDigitInfo::GetProfile(), sim::HitProfile::NComponents(), sim::MCDigitInfo::NormalizeFraction(), recobase::Cluster::Plane(), recobase::Vertex::Prong(), sim::TruthFilter::Reco(), demo::Object::SetDemoVal(), sim::HitProfile::SetFraction(), rawdata::RawDigit::TDC(), sim::HitProfile::TrackId(), sim::TruthFilter::Update(), demo::Module::Update(), clust::Clust2D::Update(), recobase::Cluster::XCell(), recobase::Cluster::XPlane(), recobase::Cluster::YCell(), and recobase::Cluster::YPlane().


Generated on Mon Nov 23 04:45:28 2009 for NOvA Offline by  doxygen 1.3.9.1