ANtpDefaultValue Namespace Reference

Functions

Bool_t IsDefault (Float_t intval)
Bool_t IsDefault (Int_t intval)
Bool_t IsDefault (UInt_t intval)
Bool_t IsDefault (Double_t intval)
Bool_t IsDefault (Bool_t intval)

Variables

static const Float_t kFloat = -9999.99
static const Int_t kInt = -9999
static const UInt_t kUInt = 9999
static const Double_t kDouble = -9999.99
static const Bool_t kBool = false

Function Documentation

Bool_t ANtpDefaultValue::IsDefault ( Bool_t  intval  ) 

Definition at line 32 of file ANtpDefaultValue.cxx.

References kBool.

00033 {
00034    return (bval == kBool);
00035 }

Bool_t ANtpDefaultValue::IsDefault ( Double_t  intval  ) 

Definition at line 27 of file ANtpDefaultValue.cxx.

References MuELoss::e, and kDouble.

00028 {
00029    return (TMath::Abs(dval - kDouble) < 1e-4);
00030 }

Bool_t ANtpDefaultValue::IsDefault ( UInt_t  intval  ) 

Definition at line 22 of file ANtpDefaultValue.cxx.

References kUInt.

00023 {
00024    return (uival == kUInt);
00025 }

Bool_t ANtpDefaultValue::IsDefault ( Int_t  intval  ) 

Definition at line 17 of file ANtpDefaultValue.cxx.

References kInt.

00018 {
00019    return (ival == kInt);
00020 }

Bool_t ANtpDefaultValue::IsDefault ( Float_t  intval  ) 

Variable Documentation

const Bool_t ANtpDefaultValue::kBool = false [static]

Definition at line 33 of file ANtpDefaultValue.h.

Referenced by IsDefault(), MCNNVars::Reset(), and ANtpEventInfoNue::Reset().

const Double_t ANtpDefaultValue::kDouble = -9999.99 [static]
const Float_t ANtpDefaultValue::kFloat = -9999.99 [static]

Definition at line 29 of file ANtpDefaultValue.h.

Referenced by MuonRemovalInfoAna::Analyze(), ShwfitAna::Analyze(), AnalysisInfoAna::Analyze(), ANtpInfoObjectFillerNue::Analyze(), HighHitVarsAna::Analyze(), ANtpShowerInfoNue::ANtpShowerInfoNue(), CompareAll::BeginJob(), ShwfitAna::BuildUVVar(), ANtpInfoObjectFillerNue::BuildUVVar(), NavKey::CompareValue(), MSTCalcAna::ComputeGraphQuantities(), MSTCalcAna::ComputeLLike(), ANtpInfoObjectFillerNC::FillEventTimingAndActivityInformation(), ANtpInfoObjectFiller::FillMCTruthInformation(), MSTCalcAna::FindAlpha(), VtxFinderAna::FindClosest(), MSTCalcAna::FindLikeAlpha(), ShwfitAna::FitLShower(), ANtpInfoObjectFillerNue::FitLShower(), NCExtractionMDA::GetIdProbability(), ANtpTruthInfoBeamAna::GetNueWeight(), IsDefault(), MuonRemovalInfoAna::LoadROPID(), ANtpInfoObjectFiller::MetersToBeam(), ANtpInfoObjectFiller::MetersToCloseEdge(), ANtpInfoObjectFiller::MetersToCoil(), MSTCalc::MSTCalc(), ANtpAnalysisInfoAna::RecoQENuEnergy(), ANtpAnalysisInfoAna::RecoQEQ2(), ANtpNueInfo::Reset(), ANtpTrackInfoNC::Reset(), HighHitVars::Reset(), AngCluster::Reset(), ANtpEventInfoMRCC::Reset(), ANtpShowerInfo::Reset(), ANtpTruthInfoBeam::Reset(), TimingVars::Reset(), ANtpAnalysisInfoNue::Reset(), ANtpEventInfoNC::Reset(), ANtpAnalysisInfo::Reset(), ANtpHeaderInfo::Reset(), ANtpTrackInfoAtm::Reset(), AnalysisInfoNue::Reset(), ANtpRecoInfo::Reset(), ANtpShowerInfoNue::Reset(), MCNNVars::Reset(), ANtpTruthInfoBeamNue::Reset(), MuonRemovalInfo::Reset(), Shwfit::Reset(), VtxFinderData::Reset(), ANtpEventInfoNue::Reset(), ANtpTrackInfoNue::Reset(), ANtpShowerInfoNC::Reset(), ANtpTruthInfo::Reset(), MSTCalc::Reset(), ANtpTrackInfo::Reset(), ANtpBeamInfo::Reset(), EventQual::Reset(), MCNNBestMatch::Reset(), FracVar::Reset(), AngClusterFit::Reset(), ANtpEventInfo::Reset(), ANtpTruthInfoAtm::Reset(), HitCalc::Reset(), ANtpInfoObjectFillerNue::TransVar(), ShwfitAna::TransVar(), AngClusterFitAna::TransVarCalc(), and HitCalcAna::VarCalc().

const Int_t ANtpDefaultValue::kInt = -9999 [static]
const UInt_t ANtpDefaultValue::kUInt = 9999 [static]

Definition at line 31 of file ANtpDefaultValue.h.

Referenced by IsDefault(), and ANtpHeaderInfo::Reset().


Generated on 15 Nov 2018 for loon by  doxygen 1.6.1