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

VldContext Class Reference
[Validity]

A tag for identifying the required "context" when interfacing with the DBI. More...

#include <VldContext.h>

List of all members.

Public Member Functions

 VldContext ()
 VldContext (const Detector::Detector_t &detector, const SimFlag::SimFlag_t mcflag, const VldTimeStamp &time)
virtual ~VldContext ()
const char * AsString (Option_t *option="") const
Detector::Detector_t GetDetector () const
SimFlag::SimFlag_t GetSimFlag () const
VldTimeStamp GetTimeStamp () const
Bool_t IsNull () const
Bool_t IsValid () const
 Return opposite of IsNull().
void Print (Option_t *option="") const

Protected Attributes

Detector::Detector_t fDetector
SimFlag::SimFlag_t fSimFlag
VldTimeStamp fTimeStamp

Friends

Bool_t operator< (const VldContext &lhs, const VldContext &rhs)
Bool_t operator== (const VldContext &lhs, const VldContext &rhs)
Bool_t operator!= (const VldContext &lhs, const VldContext &rhs)
Bool_t operator<= (const VldContext &lhs, const VldContext &rhs)
Bool_t operator> (const VldContext &lhs, const VldContext &rhs)
Bool_t operator>= (const VldContext &lhs, const VldContext &rhs)


Detailed Description

A tag for identifying the required "context" when interfacing with the DBI.

Author:
(last to touch it)
Author
rhatcher
Version:
Revision
1.20
Date:
Date
2005/08/26 17:24:42
Contact: R. Hatcher

Created on: 2000.05.03

Definition at line 36 of file VldContext.h.


Constructor & Destructor Documentation

VldContext::VldContext  )  [inline]
 

Definition at line 138 of file VldContext.h.

00139   :  fDetector(Detector::kUnknown), 
00140      fSimFlag(SimFlag::kUnknown), 
00141      fTimeStamp() {
00142    // Default constructor (unknown detector, simflag, timestamp=now)
00143 }

VldContext::VldContext const Detector::Detector_t detector,
const SimFlag::SimFlag_t  mcflag,
const VldTimeStamp time
 

Definition at line 33 of file VldContext.cxx.

00036    : fDetector(detector), fSimFlag(mcFlag), fTimeStamp(tstamp)
00037 {
00038    // normal constructor
00039 }

VldContext::~VldContext  )  [inline, virtual]
 

Definition at line 145 of file VldContext.h.

00145 { ; }


Member Function Documentation

const char * VldContext::AsString Option_t *  option = ""  )  const
 

Return a formatted string of the contents of this object User should copy result because it points to a statically allocated string.

Definition at line 42 of file VldContext.cxx.

References VldTimeStamp::AsString(), fTimeStamp, GetDetector(), GetSimFlag(), and option.

Referenced by DigitText::AddCandDigitText(), MCText::AddSimSnarl(), PulserTimingMaker::Ana(), LightInjector::Ana(), DatabaseToucher::Ana(), PulserTimingPoint::AsString(), BField::BField(), UgliGeometry::BuildNodes(), MCApplication::ConstructGeometry(), VaLinearityCalScheme::DoReset(), TimeCalScheme::DoReset(), TemperatureCalScheme::DoReset(), StripToStripCalScheme::DoReset(), StripAttenCalScheme::DoReset(), QuadLinearityCalScheme::DoReset(), PulserTimeCalScheme::DoReset(), PmtDriftCalScheme::DoReset(), PEGainCalScheme::DoReset(), PEGainAggCalScheme::DoReset(), MuonDriftCalScheme::DoReset(), MIPCalScheme::DoReset(), DemoEventDump::DumpFragments(), PhotonStatSummarizer::FillPmtDatabase(), PhotonStatSummarizer::FillTrees(), SpillTimeFinder::FindClosestEntries(), GeoGeometry::GeoGeometry(), LightInjector::Get(), CoilTools::IsCoilStateOK(), CoilTools::IsCoilStateReverse(), DbiValidityRec::IsCompatible(), PhotonStatSummarizer::LoadDataFromDB(), CoilTools::LocalQuery(), DbiResultPtr< T >::NewQuery(), LIPlexMaps::PlotPlexStripMap(), Print(), SimDetector::Print(), CalScheme::PrintErrorStats(), LIPlexMaps::PrintPlexPinDiodeInfo(), RerootToTruthModule::RelocateStdHep(), SimDetector::Reset(), CalScheme::Reset(), LISummarySorter::SetDetector(), LISummarySorter::SetPlexHandle(), LISummarySorter::SetRawDaqVldCtx(), SpillTimeCreateKeyFile(), Summarizer::SummarizePoint(), PhotonStatSummarizer::SummarizePoint(), VldValidate::TestContext(), and PulserTimingPoint::WriteToTextfile().

00043 {
00044    // Return a formatted string of the contents of this object
00045    // User should copy result because it points to a 
00046    // statically allocated string.
00047 
00048    static char newstring[80] = " ";
00049 
00050    switch (option[0]) {
00051    case 'c':
00052    case 'C':
00053      sprintf(newstring,"{%c%c %s}",
00054              Detector::AsString(GetDetector())[0],
00055              SimFlag::AsString(GetSimFlag())[0],
00056              fTimeStamp.AsString("c"));
00057      break;
00058    default:
00059      sprintf(newstring,"{%6.6s|%6.6s|%s}",
00060              Detector::AsString(GetDetector()),
00061              SimFlag::AsString(GetSimFlag()),
00062              fTimeStamp.AsString("c"));
00063    }
00064 
00065    return newstring;
00066 }

Detector::Detector_t VldContext::GetDetector void   )  const [inline]
 

Definition at line 51 of file VldContext.h.

Referenced by ANtpInfoObjectFillerMRCC::ABPID(), NueExtrapolationJB::AddChain(), NueData::AddEvent(), TridModel::AddStrip(), PerInputStream::AdvanceWindowTags(), TrackDirectionModule::Ana(), RunSummary::Ana(), RunFileModule::Ana(), RecoTreeModule::Ana(), ParticleBeamMonAna::ana(), NueSensitivity::Ana(), NuePrint::Ana(), NuDemoModule::Ana(), NoiseFilterModule::Ana(), MSTTemplate::Ana(), MNtpModule::Ana(), MCTrueAna::ana(), MakeAlignmentModule::Ana(), FiltTriggerPrescale::Ana(), FilterRunType::Ana(), FarmListModule::Ana(), CondensedNtpModuleNC::Ana(), CompareMST::Ana(), CompareAll::Ana(), CDPreFilterModule::Ana(), CDAnaModule::Ana(), AtNuTreeModule::Ana(), PEGainModule::analyseMeanSigmaFile(), VtxFinderAna::Analyze(), TreePIDAna::Analyze(), TimingVarsAna::Analyze(), ShieldRejVarAna::Analyze(), MuonRemovalInfoAna::Analyze(), EventQualAna::Analyze(), ANtpTruthInfoBeamAna::Analyze(), ANtpTrackInfoAna::Analyze(), ANtpShowerInfoAna::Analyze(), ANtpEventInfoAna::Analyze(), ANtpAnalysisInfoAna::Analyze(), AnalysisInfoAna::Analyze(), MadPIDAnalysis::AnnVar(), MadDpAnalysis::AnnVar(), AsString(), CandTrackHandle::BelongsWithShower(), CandShowerHandle::BelongsWithShower(), CandTrackHandle::BelongsWithTrack(), CandShowerSRHandle::BelongsWithTrack(), CandShowerHandle::BelongsWithTrack(), BField::BField(), BFieldMS::BFieldMS(), BFieldSR::BFieldSR(), BfldCanvasSlice::BfldCanvasSlice(), UgliGeometry::BuildAll(), GeoGeometry::BuildCoilAirGapVolume(), GeoGeometry::BuildDetector(), ParticleDisplay::BuildDisplay(), NueDisplayModule::BuildDisplay(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), DbuDaqFileModule::BuildExtContextAndSelect(), GeoGeometry::BuildGeometry(), GeoMediumMap::BuildMediumMap(), GeoMediumMap::BuildMediums(), UgliGeometry::BuildNodes(), GeoGeometry::BuildPlanePairVolumes(), PlexLoanPool::BuildPlexus(), GeoGeometry::BuildStripVolumes(), UgliGeometry::BuildVldRange(), RerootExodus::BuildVldRange(), GeoGeometry::BuildVldRange(), CandShowerSRHandle::BuriedTrack(), AlgTrack::CalculateTrace(), MadDpID::CalcVars(), PulserSigLinCalScheme::CalDet2003Check(), PulserDriftCalScheme::CalDet2003Check(), CalDrift::CalibratedPH(), CandShowerHandle::CalibrateEnergy(), EnergyCorrections::CalibrationGroupEnergyCorrections(), TridCratePage::ChannelToCoords(), NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::ChargeSignCut(), ParticleFinder::CheckContainment(), RotoServer::ChooseStreamName(), CoilTools::CoilCurrent(), CoilTools::CoilCurrentLimits(), HitCalcAna::ComputeHits(), FitTrackCamAnalysisModule::ConfigureAxes(), MadAnalysis::CreateANtpPAN(), TridModelMaker::CreateChannelModels(), TridPageDetector::CreateModels(), MadTVAnalysis::CreatePAN(), MadTestAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), TridModelMaker::CreatePmtModels(), TridUVPage::CreateScenery(), TridPmtPage::CreateScenery(), TridPageSlice::CreateScenery(), TridPageDetector::CreateScenery(), TridCratePage::CreateScenery(), TridModelMaker::CreateShowerModels(), TridUVPage::CreateSketches(), TridPageSlice::CreateSketches(), TridPageDetector::CreateSketches(), TridCratePage::CreateSketches(), TridModelMaker::CreateSliceModels(), StopMuFinderFactory::CreateStopMuFinder(), TridModelMaker::CreateStripModels(), TridModelMaker::CreateTrackModels(), MadCluAnalysis::DataDistributions(), Calibrator::DecalAttenCorrectedTpos(), SimpleCalScheme::DecalGainAndWidth(), PulserTimeCalScheme::DecalTime(), NuAnalysis::DemoInfidSRInterface(), SRMom::Detector(), BfldCanvas::DetermineLimits(), MadScanDisplay::Display(), MadEvDisplay::Display(), DbuDaqFileModule::DoBeginEndRunAndFile(), MakeLin::DoCalc(), NueSystematic::DoCalibShift(), PhotonStatSummarizer::DoesTableExist(), PEGainModule::DoMeanSigmaFromData(), PEGainModule::DoMeanSigmaFromRawSums(), NueSystematic::DoNormCalc(), NueSystematic::DoOscCalc(), TemperatureCalScheme::DoReset(), QuadLinearityCalScheme::DoReset(), PulserTimeCalScheme::DoReset(), PulserLinearityCalScheme::DoReset(), PulserDriftCalScheme::DoReset(), PmtDriftCalScheme::DoReset(), PEGainAggCalScheme::DoReset(), MuonDriftCalScheme::DoReset(), NueSystematic::DoShwDevCalc(), NueSystematic::DoSKZPCalc(), ShwfitAna::doSlopes(), XTalkFilter::DoTrueFilter(), PulserDBModule::DoWriteGC(), BfldValidate::DrawMap(), MadScanDisplay::DrawTextBox(), MadEvDisplay::DrawTextBox(), PulserDBModule::DriftPoint(), NuAnalysis::Efficiencies(), EnergyCorrections::EnergyRangeCorrectionCedar(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), HvStatusFinder::ExtendedQuery(), NuAnalysis::ExtractConfig(), NuExtraction::ExtractDataQuality(), NuExtraction::ExtractGeneralInfo(), NuExtraction::ExtractNCInfo(), Anp::FillBasic::Fill(), Cutter::FillChipsToCut(), ANtpShowerInfoAna::FillGapInformation(), NuPlots::FillGeneralHistos(), MeuHistos::FillGeneralHistos(), MCMonitorCosmicHistograms::FillHistograms(), MCMonitorBeamHistograms::FillHistograms(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NtpSRModule::FillNtpCalStatus(), NtpSRModule::FillNtpDataQuality(), NtpSRModule::FillNtpDetStatus(), UberModuleLite::FillNtpFiducial(), UberModule::FillNtpFiducial(), NtpSRModule::FillNtpFiducialDistance(), NtpSRModule::FillNtpTrackCosmicRay(), NtpSRModule::FillNtpWindow(), MadDpID::FillPDFs(), PhotonStatSummarizer::FillPmtDatabase(), NtpTools::FillRecoEInfo(), NueData::FillRecord(), MeuCuts::FillSTSumDetails(), NueRecordAna::FillTrue(), DetSim::FinalizeWorkingArray(), SpillServerMonFinder::FindClosestEntries(), Summarizer::FindNextContext(), DbiDBProxy::FindTimeBoundaries(), AlgShowerSR::FindTimingDirection(), VertexFinder::FindVertex(), NtpVtxFinder::FindVertex(), AlgTrackCamList::FirstUVComparison(), AlgAtmosShowerList::FormTheHits(), EnergyCorrections::FullyCorrectShowerEnergy(), RerootToRawDataModule::Get(), PhotonTransport::Get(), PhotonInjector::Get(), MCMerge::Get(), FillSpillServerMon::Get(), Anp::FillMuonId::Get(), FillHvFromSingles::Get(), Anp::FillBasic::Get(), DetSim::Get(), CustomLightInjector::Get(), Calibrator::GetAttenCorrectedTpos(), BField::GetBField(), PulserTimeCalScheme::GetCalibratedTime(), ChopHelper::GetChopHelp(), DataQualityLookup::GetCoilStatus(), BfldCache::GetDefaultMapVariant(), BfldCache::GetDefaultScale(), StupidGeomHandle::GetDetector(), NtpTools::GetDetector(), DataUtil::GetDetector(), NtpSRBleachFiller::GetEventDuration(), MadTVAnalysis::GetEvtTimeChar(), MadMKAnalysis::GetEvtTimeChar(), MadTVAnalysis::GetEvtTimeCharPHC(), MadMKAnalysis::GetEvtTimeCharPHC(), FabPlnInstallLookup::GetFabPlnInstall(), FabPlnInstallLookup::GetFabSteelPlates(), NtpSRBleachFiller::GetFixedWindowPH(), HvStatusFinder::GetHvStatus(), DataQualityLookup::GetHvStatus(), Blinder::GetInfo(), NtpSRBleachFiller::GetlateBucketPHFraction(), CandSubShowerSRHandle::GetMaxU(), CandShowerHandle::GetMaxU(), CandSubShowerSRHandle::GetMaxV(), CandShowerHandle::GetMaxV(), CandSubShowerSRHandle::GetMinU(), CandShowerHandle::GetMinU(), CandSubShowerSRHandle::GetMinV(), CandShowerHandle::GetMinV(), CoilTools::GetNCoils(), SpillTimeFinder::GetOffset(), SimpleCalScheme::GetPhotoElectrons(), TridPmtPage::GetRackCoords_FD(), DcsRadonLevelFinder::GetRadonLevel(), DbiDemoData3::GetRangeDTF(), LIPlexMaps::GetRefAdcPinRatio(), NuReco::GetRegion(), PEGainCalScheme::GetRow(), PEGainAggCalScheme::GetRow(), NueStandard::GetRPWBeamWeight(), RunQualityFinder::GetRun(), NuReco::GetShowerEnergyNearTrack(), NueStandard::GetSKZPBeamWeight(), GeoGeometry::GetSMPlaneLimits(), RunQualityFinder::GetStatus(), RunQualityFinder::GetSubRun(), SwimGeo::GetSwimMaterial(), TemperatureCalScheme::GetTemperature(), DataUtil::GetUgliGeomHandle(), PEGainCalScheme::GuessGainAndWidth(), PEGainAggCalScheme::GuessGainAndWidth(), DbiValidityRec::HasExpired(), infid(), FidVol::infid_z_finder(), MadScanDisplay::InFidNoTrk(), MadTVAnalysis::InFidVol(), MadMKAnalysis::InFidVol(), DataFT::Init(), AlgFitTrackCam::InitialFramework(), GeoSwimmer::Initialize(), AlgFitTrack3::InitializeTrkClstList(), VldRange::IsCompatible(), CandShowerHandle::IsContained(), TrackClusterSR::IsDoubleEnded(), NueUtilities::AnaNueProcessor::isFar(), MadQuantities::IsFidAll(), MadQuantities::IsFidAllEvt(), MadQuantities::IsFidFD_AB(), MadQuantities::IsFidVtx(), MadQuantities::IsFidVtxEvt(), MadQuantities::IsFidVtxTrk(), DataUtil::IsGoodData(), DataUtil::IsGoodDataCOIL(), DataUtil::IsGoodDataGPS(), DataUtil::IsGoodDataHV(), MeuCuts::IsGoodDataQuality(), DataUtil::IsGoodDataRUN(), NueStandard::IsGoodFarRun(), NueStandard::IsGoodNearRun(), NueStandard::IsGoodRun(), TrackFilterBFCalibND::IsInCoverage(), NueStandard::IsInFid(), NueStandard::IsLargestEvent(), LISieve::IsLI(), LISieve::IsLIforNC(), NueUtilities::AnaNueProcessor::isNear(), MadCluAnalysis::IsNueFidVtxEvt(), RunQualityFinder::IsOK(), CoilTools::IsOK(), CoilTools::IsReverse(), SimDetector::IsTriggering(), CandTrackHandle::IsUnphysical(), NuAnalysis::LIRejectionTest(), PhotonStatSummarizer::LoadDataFromDB(), HvStatusFinder::LocalQuery(), main(), MadPIDAnalysis::MakeAbIDFile(), AlgFilterDigitList::MakeBadChannelMapDB(), PEGainModule::MakeDebugTree(), NuAnalysis::MakeFullDST(), DbiValidityRecBuilder::MakeGapRec(), PEGainModule::MakeHistosFromData(), ValVtxModule::MakeIdString(), CompareMD::MakeIdString(), CompareAll::MakeIdString(), MadTestAnalysis::MakeMyFile(), MadPIDAnalysis::MakeMyFile(), MadDpAnalysis::MakeMyFile(), PhotonDefaultModel::MakeNoise(), MadCBSQEAnalysis::MakeQEFile(), MadAbID::MakeRecoVariables(), UgliGeometryReroot::MakeTempDbiPosInfo(), NNTrain::MakeTrainTree(), AlgStripSRList::MakeXtalkMap(), PulserDBModule::MergeBack(), Finder::MergeChains(), PulserDBModule::MergeForward(), MinosCompactEvent::MinosCompactEvent(), EnergyCorrections::MomentumRangeCorrectionBirch(), MadEdAnalysis::MyCreatePAN(), MadEdAnalysis::MyCreatePANData(), MadEdAnalysis::MyMakeMyFile(), MadEdAnalysis::MyMakeQEFile(), DbuDaqFileModule::MyOwn_BeginFile(), DbuDaqFileModule::MyOwn_BeginRun(), NuAnalysis::N_1(), DbiResultPtr< T >::NewQuery(), FabPlnInstallLookup::NextInstall(), NtpVtxFinder::NtpVtxFinder(), NueConvention::NueEnergyCorrection(), NueConvention::NueEnergyCorrectionNeverUseThisFunction(), NuAnalysis::NuMuBarAppearance(), BField::operator=(), MadTestAnalysis::PassAnalysisCuts(), MadPIDAnalysis::PassAnalysisCuts(), MadEdAnalysis::PassAnalysisCuts(), MadDpAnalysis::PassAnalysisCuts(), NueExtrapHelper::PassBasicCuts(), MadScanDisplay::PassCuts(), MadEvDisplay::PassCuts(), NueStandard::PassesCosmicCut(), NueStandard::PassesDataQuality(), NueStandard::PassesFarDataTiming(), NueStandard::PassesMRCCFiducial(), NueStandard::PassesParticlePIDPreselectionCut(), NueStandard::PassesPOTStandards(), MadTestAnalysis::PID(), MadPIDAnalysis::PID(), MadDpAnalysis::PID(), PlexHandle::PlexHandle(), Plexus::Plexus(), MadCluAnalysis::Plot(), TridPmtPage::PmtToCoords(), Finder::Process(), DQRawDigits::Process(), DQLightInjection::Process(), DQHeader::Process(), DcsWriter::ProcessRawRecord(), DbuDaqMonitorModule::ProcessRawRecord(), DbuDaqFileModule::ProcessRawRecord(), PulserFromRawSummaryList::PulserFromRawSummaryList(), PulserSummaryList::PulserSummaryList(), PulserTimingPoint::PulserTimingPoint(), RotoClientModule::Put(), RunQualityFinder::QueryDB(), DbiDBProxy::QueryValidity(), RawBeamMonHeaderBlock::RawBeamMonHeaderBlock(), RawConfigFilesBlock::RawConfigFilesBlock(), RawDaqDeadTimeBlock::RawDaqDeadTimeBlock(), RawDaqHeaderBlock::RawDaqHeaderBlock(), RawDcsHeaderBlock::RawDcsHeaderBlock(), RawDeadChipBlock::RawDeadChipBlock(), RawErrorStatsBlock::RawErrorStatsBlock(), RawQieErrorStatsBlock::RawQieErrorStatsBlock(), RawRunCommentBlock::RawRunCommentBlock(), RawRunConfigBlock::RawRunConfigBlock(), RawRunEndBlock::RawRunEndBlock(), RawRunStartBlock::RawRunStartBlock(), RawSnarlHeaderBlock::RawSnarlHeaderBlock(), RawSpillServerMonitorBlock::RawSpillServerMonitorBlock(), RawSubRunEndBlock::RawSubRunEndBlock(), RawTriggerStatsBlock::RawTriggerStatsBlock(), StripSRListModule::Reco(), SetKNNModule::Reco(), ParticleFinder::Reco(), OltNewModule::Reco(), NueReweight::Reco(), NueBeamMonModule::Reco(), NtpSRModule::Reco(), MergeEvent::Reco(), MadAnalysis::RecoExperiment(), MadAnalysis::RecoMC(), MadAnalysis::RecoMCExperiment(), AlgEventSRList::RemoveTracksinShowers(), RotoClientModule::ReOpenOutputFile(), SimQieClock::Reset(), PhotonDefaultModel::Reset(), BField::ResetVldContext(), Anp::FillStrip::Run(), Anp::FillHeader::Run(), AltAlgSliceList::RunAlg(), AlgTrackSRList::RunAlg(), AlgTrackSR::RunAlg(), AlgTrackCamList::RunAlg(), AlgTrackCam::RunAlg(), AlgTrackAtNu::RunAlg(), AlgSubShowerSRList::RunAlg(), AlgSubShowerSR::RunAlg(), AlgStripSRList::RunAlg(), AlgShowerCam::RunAlg(), AlgShowerAtNu::RunAlg(), AlgRmMu::RunAlg(), AlgFitTrackSR::RunAlg(), AlgFitTrackCamList::RunAlg(), AlgFitTrackCam::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFitShowerEM::RunAlg(), AlgFilterDigitList::RunAlg(), AlgDeMuxCosmics::RunAlg(), AlgDeMuxBeam::RunAlg(), AlgDataQuality::RunAlg(), AlgClusterSRList::RunAlg(), AlgChopListSharp2::RunAlg(), AlgChopListSharp::RunAlg(), AlgChopListPerfectMC::RunAlg(), AlgChopListMitre::RunAlg(), AlgChopListGeneric::RunAlg(), AlgAtNuRecoMCTruth::RunAlg(), AlgAtNuReco::RunAlg(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), AlgAtmosShowerList::RunTheFinder(), AlgFitTrackCam::RunTheFitter(), Trimmer::RunTrimmer(), DbiCache::Search(), LISummarySorter::SetDetector(), AlgTrack::SetdS(), NueAnalysisCuts::SetInfoObject(), NueAnalysisCuts::SetNtpInfoObjects(), LISummarySorter::SetPlexHandle(), AlgFitTrackCam::SetRangeAnddS(), NtpVtxFinder::SetTargetEvent(), AttenCorr::Setup(), AlgFitTrackMS::SetupAlg(), AlgShowerSR::SetUV(), AlgTrack::SetUVZ(), CheezyDisplay::SetVldContext(), ShieldGeom::ShieldGeom(), EnergyCorrections::ShowerEnergyConversionDogwood(), PhotonInjector::SimulateEvent(), SimDetector::SimulateTrigger(), AlgSliceSRList::SlicetheSnarl(), BField::SMGapAndEndField(), Summarizer::Summarize(), SwimObj3::SwimObj3(), SwimObjSR::SwimObjSR(), SwimSwimmer::SwimSwimmer(), TestDemuxModule::Test(), MadCBSQEAnalysis::TestQEDiscrim(), AlgFitTrackCam::TimingFit(), TrackContext::TrackContext(), TrackEndContained(), UgliGeometry::UgliGeometry(), TridPage::Update(), ParticleDisplay::UpdateDisplay(), NueDisplayModule::UpdateDisplay(), PulserTimeCalScheme::WalkCorrection(), EnergyCorrections::WeightedShowerEnergyConversionDogwood(), EventInfoPage::WriteInfo(), PulserFromRawCollectorModule::WriteRawCurveData(), PulserCollectorModule::WriteRawCurveData(), PulserFromRawCollectorModule::WriteRawDriftData(), PulserCollectorModule::WriteRawDriftData(), PulserFromRawCollectorModule::WriteReferenceDriftData(), PulserCollectorModule::WriteReferenceDriftData(), MCNNRunner::WriteResults(), PulserDBModule::WriteTempGC(), and PulserTimingPoint::WriteToDatabase().

00051 { return fDetector;}

SimFlag::SimFlag_t VldContext::GetSimFlag  )  const [inline]
 

Definition at line 52 of file VldContext.h.

Referenced by PerInputStream::AdvanceWindowTags(), UberDST::Ana(), PrintStat::Ana(), ParticleDisplay::Ana(), ParticleBeamMonAna::ana(), NueDisplayModule::Ana(), NuDemoModule::Ana(), NtpMaker::Ana(), MNtpModule::Ana(), MCTrueAna::ana(), MCAnalysis::Ana(), FitTrackCamAnalysisModule::Ana(), CondensedNtpModuleNC::Ana(), CompareMD::Ana(), CompareAll::Ana(), ChopModule::Ana(), CDTrackerModule::Ana(), ShieldRejVarAna::Analyze(), NueModule::Analyze(), MuonRemovalInfoAna::Analyze(), EventQualAna::Analyze(), BeamMonAna::Analyze(), ANtpShowerInfoAna::Analyze(), ANtpEventInfoAna::Analyze(), AnalysisInfoAna::Analyze(), ANtpRecoNtpManipulator::ANtpRecoNtpManipulator(), AsString(), BField::BField(), BfldCache::BfldCache(), ParticleDisplay::BuildDisplay(), NueDisplayModule::BuildDisplay(), DbuDaqFileModule::BuildExtContextAndSelect(), UgliGeometry::BuildNodes(), PlexLoanPool::BuildPlexus(), UgliLoanPool::BuildUgliGeometry(), UgliGeometry::BuildVldRange(), RerootExodus::BuildVldRange(), GeoGeometry::BuildVldRange(), EnergyCorrections::CalibrationGroupEnergyCorrections(), NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::ChargeSignCut(), MadTVAnalysis::CreatePAN(), MadTestAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), SpillTimeFinder::DataIsAvailable(), NuAnalysis::DemoInfidSRInterface(), DbuDaqFileModule::DoBeginEndRunAndFile(), PhotonStatSummarizer::DoesTableExist(), PEGainModule::DoMeanSigmaFromRawSums(), TemperatureCalScheme::DoReset(), PulserTimeCalScheme::DoReset(), PulserDriftCalScheme::DoReset(), PmtDriftCalScheme::DoReset(), MuonDriftCalScheme::DoReset(), PulserDBModule::DoWriteGC(), HoughView::DrawEvent(), HitView::DrawEvent(), FitView::DrawEvent(), ChainView::DrawEvent(), MadScanDisplay::DrawTextBox(), MadEvDisplay::DrawTextBox(), PulserDBModule::DriftPoint(), NuAnalysis::Efficiencies(), EnergyCorrections::EnergyRangeCorrectionCedar(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), HvStatusFinder::ExtendedQuery(), NuAnalysis::ExtractConfig(), NuExtraction::ExtractGeneralInfo(), Anp::FillBasic::Fill(), NuPlots::FillGeneralHistos(), MeuHistos::FillGeneralHistos(), PhotonStatSummarizer::FillPmtDatabase(), ParticleFinder::FillPot(), NtpTools::FillRecoEInfo(), NtpMaker::FillSpillInfo(), MeuCuts::FillSTSumDetails(), VtxRecordAna::FillTrue(), NueRecordAna::FillTrue(), DetSim::FinalizeWorkingArray(), SpillTimeFinder::FindClosestEntries(), SpillServerMonFinder::FindClosestEntries(), Summarizer::FindNextContext(), DbiDBProxy::FindTimeBoundaries(), RerootToRawDataModule::Get(), MCMerge::Get(), DetSim::Get(), BfldCache::GetDefaultMapVariant(), HvStatusFinder::GetHvStatus(), Blinder::GetInfo(), NueStandard::GetMCWeights(), SntpHelpers::GetMRTruth(), DcsRadonLevelFinder::GetRadonLevel(), DbiDemoData3::GetRangeDTF(), NuReco::GetRegion(), NtpStRecord::GetRelease(), NueStandard::GetSKZPBeamWeight(), TemperatureCalScheme::GetTemperature(), DbiValidityRec::HasExpired(), infid(), AlgFitTrack3::InitializeTrkClstList(), CoilTools::IsCoilStateOK(), CoilTools::IsCoilStateReverse(), VldRange::IsCompatible(), NueUtilities::AnaNueProcessor::isData(), DataUtil::IsGoodData(), DataUtil::IsGoodDataCOIL(), DataUtil::IsGoodDataGPS(), DataUtil::IsGoodDataHV(), DataUtil::IsGoodDataRUN(), NueStandard::IsGoodFarRun(), NueStandard::IsGoodNearRun(), NueStandard::IsGoodRun(), NueStandard::IsInFid(), CoilTools::IsMagNearOK(), CoilTools::IsMagNearReverse(), NueUtilities::AnaNueProcessor::isMC(), NuAnalysis::LIRejectionTest(), main(), NuAnalysis::MakeFullDST(), DbiValidityRecBuilder::MakeGapRec(), CompareMD::MakeIdString(), CompareAll::MakeIdString(), NNTrain::MakeTrainTree(), PulserDBModule::MergeBack(), PulserDBModule::MergeForward(), EnergyCorrections::MomentumRangeCorrectionBirch(), DbuDaqFileModule::MyOwn_BeginFile(), DbuDaqFileModule::MyOwn_BeginRun(), NuAnalysis::N_1(), DbiResultPtr< T >::NewQuery(), FabPlnInstallLookup::NextInstall(), NueConvention::NueEnergyCorrection(), NueConvention::NueEnergyCorrectionNeverUseThisFunction(), NuAnalysis::NuMuBarAppearance(), TrimModule::PassesBeamCuts(), CompareMD::PassesBeamCuts(), CompareAll::PassesBeamCuts(), NueStandard::PassesDataQuality(), NueStandard::PassesFarDataTiming(), NueStandard::PassesMRCCFiducial(), NueStandard::PassesPOTStandards(), DcsWriter::ProcessRawRecord(), DbuDaqMonitorModule::ProcessRawRecord(), RunQualityFinder::QueryDB(), DbiDBProxy::QueryValidity(), RawBeamMonHeaderBlock::RawBeamMonHeaderBlock(), RawConfigFilesBlock::RawConfigFilesBlock(), RawDaqDeadTimeBlock::RawDaqDeadTimeBlock(), RawDaqHeaderBlock::RawDaqHeaderBlock(), RawDcsHeaderBlock::RawDcsHeaderBlock(), RawDeadChipBlock::RawDeadChipBlock(), RawErrorStatsBlock::RawErrorStatsBlock(), RawQieErrorStatsBlock::RawQieErrorStatsBlock(), RawRunCommentBlock::RawRunCommentBlock(), RawRunConfigBlock::RawRunConfigBlock(), RawRunEndBlock::RawRunEndBlock(), RawRunStartBlock::RawRunStartBlock(), RawSnarlHeaderBlock::RawSnarlHeaderBlock(), RawSpillServerMonitorBlock::RawSpillServerMonitorBlock(), RawSubRunEndBlock::RawSubRunEndBlock(), RawTriggerStatsBlock::RawTriggerStatsBlock(), UberModuleLite::Reco(), UberModule::Reco(), ParticleFinder::Reco(), NueBeamMonModule::Reco(), NtpMRModule::Reco(), DigitListModule::Reco(), RotoClientModule::ReOpenOutputFile(), BField::ResetVldContext(), Anp::FillHeader::Run(), AlgTrackSRList::RunAlg(), AlgTrackCam::RunAlg(), AlgRmMu::RunAlg(), AlgCalDetPID::RunAlg(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), Trimmer::RunTrimmer(), DbiCache::Search(), AlgAltDeMuxBase::SetConstants(), NueAnalysisCuts::SetInfoObject(), NueAnalysisCuts::SetNtpInfoObjects(), AlgFitTrackCam::SetRangeAnddS(), AlgTrack::SetT(), AlgShowerSR::SetT(), EnergyCorrections::ShowerEnergyConversionDogwood(), MadQuantities::ShowerValidation(), Summarizer::Summarize(), ParticleDisplay::UpdateDisplay(), NueDisplayModule::UpdateDisplay(), PulserTimeCalScheme::WalkCorrection(), EnergyCorrections::WeightedShowerEnergyConversionDogwood(), EventInfoPage::WriteInfo(), PulserFromRawCollectorModule::WriteRawCurveData(), PulserCollectorModule::WriteRawCurveData(), PulserFromRawCollectorModule::WriteRawDriftData(), PulserCollectorModule::WriteRawDriftData(), PulserFromRawCollectorModule::WriteReferenceDriftData(), PulserCollectorModule::WriteReferenceDriftData(), MCNNRunner::WriteResults(), PulserDBModule::WriteTempGC(), and PulserTimingPoint::WriteToDatabase().

00052 { return fSimFlag;}

VldTimeStamp VldContext::GetTimeStamp  )  const [inline]
 

Definition at line 53 of file VldContext.h.

Referenced by PulserGainLog::Add(), TridModel::AddStrip(), RerootToRawDataModule::AddToCrate(), DetSim::AddToCrate(), PerInputStreamManager::AdvanceRecordTags(), PerInputStream::AdvanceWindowTags(), UberDST::Ana(), TrackDirectionModule::Ana(), RunSummary::Ana(), RateSummary::Ana(), PulserTimingMaker::Ana(), PrintStat::Ana(), ParticleBeamMonAna::ana(), NtpMaker::Ana(), NoiseFilterModule::Ana(), NDSgateTimeLooter::Ana(), MNtpModule::Ana(), FitTrackMSListModule::Ana(), FarmListModule::Ana(), FarDetRawDigitDump::Ana(), DDSPaceModule::Ana(), DataQualityFilter::Ana(), CondensedNtpModuleNC::Ana(), CondensedNtpModuleAtm::Ana(), CDTrackerModule::Ana(), CDAnaModule::Ana(), BeamMonAna::Analyze(), AlignmentAlgorithm::AnalyzeStripData(), UgliGeometry::BuildNodes(), RerootExodus::BuildVldRange(), PulserSigLinCalScheme::CalDet2003Check(), PulserDriftCalScheme::CalDet2003Check(), MadAnalysis::CreateANtpPAN(), TridPageDetector::CreateModels(), MadTVAnalysis::CreatePAN(), MadTestAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), TridModelMaker::CreateShowerModels(), TridModelMaker::CreateSliceModels(), TridModelMaker::CreateTrackModels(), MadCluAnalysis::DataDistributions(), SpillTimeFinder::DataIsAvailable(), SpillServerMonFinder::DataIsAvailable(), ParticleBeamMonAna::DetermineBeamType(), NueModule::DetermineBeamType(), PhotonStatSummarizer::DoesTableExist(), PEGainModule::DoMeanSigmaFromRawSums(), TemperatureCalScheme::DoReset(), SimpleCalScheme::DoReset(), PmtDriftCalScheme::DoReset(), MuonDriftCalScheme::DoReset(), PulserDBModule::DriftPoint(), NuAnalysis::EnergySpect(), HvStatusFinder::ExtendedQuery(), NuExtraction::ExtractBeamInfoDB(), NuAnalysis::ExtractConfig(), NuExtraction::ExtractDataQuality(), NuExtraction::ExtractGeneralInfo(), ANtpInfoObjectFillerBeam::FillBeamInformation(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NtpBDLiteModule::FillNtpBDLite(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRModule::FillNtpTrackCosmicRay(), PhotonStatSummarizer::FillPmtDatabase(), NtpMaker::FillSpillInfo(), ANtpEventInfoAna::FillStripVariables(), MeuCuts::FillSTSumDetails(), AlignmentRunSummary::FillSummaryTree(), SpillTimeFinder::FindClosestEntries(), SpillServerMonFinder::FindClosestEntries(), Summarizer::FindNextContext(), DbiDBProxy::FindTimeBoundaries(), RerootToRawDataModule::Get(), PhotonTransport::Get(), PhotonInjector::Get(), MCMerge::Get(), DetSim::Get(), MCInitModule::GetCurrentTimeStamp(), MadTVAnalysis::GetEvtTimeChar(), DataQualityLookup::GetFarDetCoilStatus(), DataQualityLookup::GetFarDetHvStatus(), HvStatusFinder::GetHvStatus(), Blinder::GetInfo(), SpillTimeFinder::GetNearestSpill(), SpillServerMonFinder::GetNearestSpill(), SpillTimeFinder::GetOffsetNDNuToFDNu(), SpillTimeFinder::GetOffsetSgateToNDNu(), LISummaryModule::GetPulserBlocks(), DcsRadonLevelFinder::GetRadonLevel(), DbiDemoData3::GetRangeDTF(), RunQualityFinder::GetRun(), SpillServerMonFinder::GetSpillTimeError(), RunQualityFinder::GetStatus(), RunQualityFinder::GetSubRun(), RawLIHeader::GetTimeStamp(), SpillTimeFinder::GetTimeToNearestSpill(), SpillTimeFinder::GetTimeToNextSpill(), SpillTimeFinder::GetTimeToRecentSpill(), MCMerge::GrabStreamEvents(), DbiValidityRec::HasExpired(), AlgFitTrack3::InitializeTrkClstList(), CoilTools::IsCoilStateOK(), CoilTools::IsCoilStateReverse(), VldRange::IsCompatible(), DataUtil::IsGoodDataGPS(), RunQualityFinder::IsOK(), NueStandard::IsRun1(), NueStandard::IsRun2(), NueStandard::IsRun3(), NuAnalysis::LIRejectionTest(), HvStatusFinder::LocalQuery(), CoilTools::LocalQuery(), PEGainModule::MakeDebugTree(), DbiValidityRecBuilder::MakeGapRec(), DbuDaqFileModule::MyOwn_BeginFile(), DbuDaqFileModule::MyOwn_BeginRun(), DDSChildServer::Next(), PulserTimingPoint::PointTimedOut(), DQRawDigits::Process(), DQLightInjection::Process(), DQHeader::Process(), DataQualityInterface::ProcessBeamStatus(), FillNearRunQuality::ProcessBlock(), DataQualityInterface::ProcessDetectorStatus(), FillNearRunQuality::ProcessHeader(), FillFarRunQuality::ProcessHeader(), FarDetDataQualityModule::ProcessHeader(), DbuDaqMonitorModule::ProcessRawRecord(), DbuDaqFileModule::ProcessRawRecord(), RunQualityFinder::QueryDB(), DbiDBProxy::QueryValidity(), RawBeamMonHeaderBlock::RawBeamMonHeaderBlock(), RawConfigFilesBlock::RawConfigFilesBlock(), RawDaqDeadTimeBlock::RawDaqDeadTimeBlock(), RawDaqHeaderBlock::RawDaqHeaderBlock(), RawDcsHeaderBlock::RawDcsHeaderBlock(), RawErrorStatsBlock::RawErrorStatsBlock(), RawQieErrorStatsBlock::RawQieErrorStatsBlock(), RawRunCommentBlock::RawRunCommentBlock(), RawRunConfigBlock::RawRunConfigBlock(), RawRunEndBlock::RawRunEndBlock(), RawRunStartBlock::RawRunStartBlock(), RawSnarlHeaderBlock::RawSnarlHeaderBlock(), RawSpillServerMonitorBlock::RawSpillServerMonitorBlock(), RawSubRunEndBlock::RawSubRunEndBlock(), RawTriggerStatsBlock::RawTriggerStatsBlock(), UberModuleLite::Reco(), UberModule::Reco(), PulserSummaryModule::Reco(), PulserFromRawModule::Reco(), NueBeamMonModule::Reco(), NtpBDLiteModule::Reco(), LISummaryModule::Reco(), AutoPIDMaker::Reco(), Coroner::RecordBadStrips(), Coroner::RecordDeadStrips(), Coroner::RecordLiHits(), RotoClientModule::ReOpenOutputFile(), Anp::FillHeader::Run(), AlgMCDigitList::RunAlg(), AlgMCDigit::RunAlg(), AlgDigitList::RunAlg(), AlgDigit::RunAlg(), AlgCalDetSI::RunAlg(), AlgCaldetDigitList::RunAlg(), SKZPWeightCalculator::RunPeriodIntFromValidity(), Trimmer::RunTrimmer(), DbiCache::Search(), LISummarySorter::SetPlexHandle(), MadQuantities::ShowerValidation(), PhotonInjector::SimulateEvent(), SpillTimeCreateKeyFile(), PerOutputStream::Store(), Summarizer::Summarize(), Coroner::UpdateLiHitList(), EventInfoPage::WriteInfo(), PulserFromRawCollectorModule::WriteRawCurveData(), PulserCollectorModule::WriteRawCurveData(), PulserFromRawCollectorModule::WriteRawDriftData(), PulserCollectorModule::WriteRawDriftData(), and PulserTimingPoint::WriteToDatabase().

00053 { return fTimeStamp;}

Bool_t VldContext::IsNull  )  const
 

Return true if this was initialized by default ctor we can only test detector type and simflag

Definition at line 78 of file VldContext.cxx.

References fDetector, and fSimFlag.

Referenced by IsValid().

00079 {
00080    // Return true if this was initialized by default ctor
00081    // we can only test detector type and simflag
00082    return fDetector==Detector::kUnknown && fSimFlag == SimFlag::kUnknown;
00083 
00084 }

Bool_t VldContext::IsValid  )  const [inline]
 

Return opposite of IsNull().

Definition at line 59 of file VldContext.h.

References IsNull().

Referenced by PerInputStream::AdvanceLowerBoundTags(), DatabaseToucher::Ana(), MCApplication::ConstructGeometry(), PerRecordTags::IsValid(), CalScheme::Reset(), LISummarySorter::SetDetector(), LISummarySorter::SetPlexHandle(), and LISummarySorter::SetRawDaqVldCtx().

00059 { return !IsNull(); }

void VldContext::Print Option_t *  option = ""  )  const
 

Definition at line 69 of file VldContext.cxx.

References AsString(), and option.

Referenced by MeuPlots::CalAttenSyst(), MeuPlots::CalibrationGroupEnergyCorrections(), LIPlexMaps::CompareStripToStrip(), MeuPlots::DriftCalibrate(), MeuPlots::DriftDecalTwice(), PlexLoanPool::GetPlexus(), UgliLoanPool::GetUgliGeometry(), MakeLin::MakeLin(), RecMinosHdr::Print(), LIPlexMaps::ReadDbCalStripAtten(), LIPlexMaps::ReadDbCalStripToStrip(), LIPlexMaps::ReadDbGains(), LIPlexMaps::ReadDbPulserDrift(), DemoCandNtpModule::Reco(), BfldValidate::SetDetector(), ExodusValidate::TestPlexHandle(), MeuPlots::ugliClearFibre(), and LIAnalysis::WriteGainsTextFile().

00070 {
00071    // Print this object
00072 
00073    printf("%s\n",AsString(option));
00074 
00075 }


Friends And Related Function Documentation

Bool_t operator!= const VldContext lhs,
const VldContext rhs
[friend]
 

Definition at line 114 of file VldContext.h.

00115 { 
00116    // not equal if any component doesn't match
00117    return 
00118      lhs.fDetector  != rhs.fDetector ||
00119      lhs.fSimFlag   != rhs.fSimFlag  ||
00120      lhs.fTimeStamp != rhs.fTimeStamp;
00121 }

Bool_t operator< const VldContext lhs,
const VldContext rhs
[friend]
 

Definition at line 90 of file VldContext.h.

00091 { 
00092    // sorting is a little tricky with three fields
00093    // this sorts first by time then detector then simflag
00094    // *WARNING* be very careful if you change this
00095    if ( lhs.fTimeStamp  < rhs.fTimeStamp ) return true;
00096    if ( lhs.fTimeStamp == rhs.fTimeStamp ) {
00097       if ( lhs.fDetector  < rhs.fDetector ) return true;
00098       if ( lhs.fDetector == rhs.fDetector ) {
00099          if (lhs.fSimFlag  < rhs.fSimFlag ) return true;
00100       }
00101    }
00102    return false;
00103 }

Bool_t operator<= const VldContext lhs,
const VldContext rhs
[friend]
 

Definition at line 123 of file VldContext.h.

00124 {
00125   return (lhs<rhs) || (lhs==rhs);
00126 }

Bool_t operator== const VldContext lhs,
const VldContext rhs
[friend]
 

Definition at line 105 of file VldContext.h.

00106 { 
00107    // equal if all components match
00108    return 
00109      lhs.fDetector  == rhs.fDetector &&
00110      lhs.fSimFlag   == rhs.fSimFlag  &&
00111      lhs.fTimeStamp == rhs.fTimeStamp;
00112 }

Bool_t operator> const VldContext lhs,
const VldContext rhs
[friend]
 

Definition at line 128 of file VldContext.h.

00129 {
00130   return !(lhs<rhs) && !(lhs==rhs);
00131 }

Bool_t operator>= const VldContext lhs,
const VldContext rhs
[friend]
 

Definition at line 133 of file VldContext.h.

00134 {
00135   return !(lhs<rhs);
00136 }


Member Data Documentation

Detector::Detector_t VldContext::fDetector [protected]
 

Definition at line 76 of file VldContext.h.

Referenced by IsNull(), operator!=(), operator<(), and operator==().

SimFlag::SimFlag_t VldContext::fSimFlag [protected]
 

Definition at line 77 of file VldContext.h.

Referenced by IsNull(), operator!=(), operator<(), and operator==().

VldTimeStamp VldContext::fTimeStamp [protected]
 

Definition at line 78 of file VldContext.h.

Referenced by AsString(), operator!=(), operator<(), and operator==().


The documentation for this class was generated from the following files:
Generated on Thu Nov 19 23:17:27 2009 for loon by  doxygen 1.3.9.1