Functions | Variables
ProduceBadRunsByFailureMode.C File Reference

Go to the source code of this file.

Functions

tree SetBranchAddress ("run",&run)
 
tree SetBranchAddress ("subrun",&subrun)
 
tree SetBranchAddress ("ngooddb",&ngooddb)
 
tree SetBranchAddress ("ngoodcdb",&ngoodcdb)
 
tree SetBranchAddress ("pass_all",&pass_all)
 
tree SetBranchAddress ("pass_hits",&pass_hits)
 
tree SetBranchAddress ("pass_db",&pass_db)
 
tree SetBranchAddress ("pass_time",&pass_time)
 
tree SetBranchAddress ("pass_slc",&pass_slc)
 
tree SetBranchAddress ("pass_trk",&pass_trk)
 
tree SetBranchAddress ("pass_runlen",&pass_runlen)
 
tree SetBranchAddress ("pass_empty",&pass_empty)
 
procfile open ("FD_BRL_v0.txt")
 
ifstream fileListItr ("ManBadSubruns.txt")
 
 while (fileListItr >> badrun >> badsubrun)
 
 for (int i=0;i< nentries;i++)
 
 for (it=cleanruns.begin();it!=cleanruns.end();it++)
 
procfile close ()
 

Variables

void ProduceBadRunsByFailureMode
 
TTree * tree = (TTree*)file.Get("mytree")
 
int run
 
int subrun
 
int pass_all
 
int pass_hits
 
int pass_db
 
int pass_time
 
int pass_slc
 
int pass_trk
 
int pass_runlen
 
int pass_empty
 
int ngooddb
 
int ngoodcdb
 
ofstream procfile
 
int nentries = tree->GetEntries()
 
TString rowstr
 
int badrun
 
int badsubrun
 
set< intcleanruns
 
set< intalreadyused
 
set< int >::iterator it
 

Function Documentation

ccfr close ( )
ifstream fileListItr ( "ManBadSubruns.txt"  )
for ( )

Definition at line 40 of file ProduceBadRunsByFailureMode.C.

References om::cout, allTimeWatchdog::endl, genie::utils::style::Format(), MECModelEnuComparisons::i, and makeTrainCVSamples::int.

40  {
41 
42  if(i%(nentries/10)==0) cout << int(100.0*i/nentries+0.5) << "% done" << endl;
43  int removedreason = 0;
44  tree->GetEntry(i);
45  //putting in run numbers is optional, mostly used to conform to epoch periolds.
46  if(cleanruns.count((run*100)+subrun)){
47  removedreason = 8;
48  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
49  procfile << rowstr.Data() << endl;
50  alreadyused.insert((run*100)+subrun);
51  }
52  if(!pass_all){
53  if(!pass_hits){
54  removedreason = 1;
55  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
56  procfile << rowstr.Data() << endl;
57  }
58  if(!pass_db || ngoodcdb < 4){
59  removedreason = 2;
60  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
61  procfile << rowstr.Data() << endl;
62  }
63  if(!pass_time){
64  removedreason = 3;
65  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
66  procfile << rowstr.Data() << endl;
67  }
68  if(!pass_slc){
69  removedreason = 4;
70  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
71  procfile << rowstr.Data() << endl;
72  }
73  if(!pass_trk){
74  removedreason = 5;
75  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
76  procfile << rowstr.Data() << endl;
77  }
78  if(!pass_runlen){
79  removedreason = 6;
80  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
81  procfile << rowstr.Data() << endl;
82  }
83  if(!pass_empty){
84  removedreason = 7;
85  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
86  procfile << rowstr.Data() << endl;
87  }
88  //if(cleanruns.count((run*100)+subrun)){
89  // removedreason = 9;
90  // rowstr = TString::Format("%d %d %d", run, subrun, removedreason);
91  // procfile << rowstr.Data() << endl;
92  // }
93  }
94  if(pass_all && ngooddb < 14 && ngoodcdb > 3){
95  removedreason = 0;
96  rowstr = TString::Format("%d %d %d %d", run, subrun, removedreason, ngooddb);
97  procfile << rowstr.Data() << endl;
98  }
99  }
TTree * tree
TString rowstr
set< int > alreadyused
Definition: run.py:1
OStream cout
Definition: OStream.cxx:6
ofstream procfile
void Format(TGraph *gr, int lcol, int lsty, int lwid, int mcol, int msty, double msiz)
Definition: Style.cxx:154
set< int > cleanruns
for ( it  = cleanruns.begin(); it != cleanruns.end(); it++)

Definition at line 102 of file ProduceBadRunsByFailureMode.C.

References om::cout, allTimeWatchdog::endl, genie::utils::style::Format(), and it.

102  {
103  int runsubrun = *it;
104  if(!alreadyused.count(runsubrun)){
105  std::cout <<"Manual run not in regular dataset... adding... " << std::endl;
106  int temprun = runsubrun/100;
107  int tempsubrun = runsubrun%100;
108  rowstr = TString::Format("%d %d %d %d", temprun, tempsubrun, 8, -1);
109  procfile << rowstr.Data() << endl;
110  }
111  }
set< int >::iterator it
TString rowstr
set< int > alreadyused
OStream cout
Definition: OStream.cxx:6
ofstream procfile
void Format(TGraph *gr, int lcol, int lsty, int lwid, int mcol, int msty, double msiz)
Definition: Style.cxx:154
procfile open ( "FD_BRL_v0.txt"  )

Referenced by mcscore.MCVertex::__del__(), PageConfig.PageConfig::__init__(), MemoryMonitor::_VmB(), raw2rootAnalyser::analyse(), pclistAnalyser::analyse(), POTGetData::append_json(), lemmon_tools::appendToFile(), helpers::BlessedPlotsList(), plot_validation_datamc_2018::Caption(), ProductionTestTools::cmdLineCountEventsInRootFile(), ViewHighcharts::ColumnChartTimeSeries(), config_parser::config_parser(), generic.models.Organizational.ComparisonRegistry::Deserialize(), generic.models.Organizational.PlotRegistry::Deserialize(), ViewGoogleCharts::directoryProjectionBarChart(), bump_copyright::do_the_subs(), helpers::Download(), bp_docdb.DocDB::DownloadArchive(), bp_docdb.DocDB::DownloadFile(), generic.tools.ImageMaker.ImageMaker::draw(), DefinitionData::dumpDefinitionData(), ViewSTDOUT::dumpFHiCLFilesToFolder(), ViewSTDOUT::dumpLogFilesToFolder(), googlecode_upload::encode_upload_request(), txt_utils::event_iter_from_txt(), training_plots::extractTestLoss(), allInOneTrainingPlots::extractTestLoss(), training_plots::extractTrainLoss(), allInOneTrainingPlots::extractTrainLoss(), DefinitionData.DefinitionData::fetchData(), fabricate.AtimesRunner::file_has_atimes(), samweb_client.utility::fileChecksum(), cache_state::FilelistCacheCount(), ProductionTestTools::fileSizeAna(), ProductionTestTools::fileToString(), PandAna.reco_validation.prod5_pid_validation_data_mc::get_files_nd(), ProductionTestTools::getConfigFromDef(), bp::GetDocumentInfoFromDisk(), OnMonTriggerRateStudy::GetInputFilePaths(), DeclareReco::getMetadata(), PandAna.core.filesource.sourcewrapper::isproj(), plot_timing_data::join_with_spaces(), ViewHighcharts::LineChartTimeSeries(), DefinitionData::loadDefinitionData(), galleryMaker::loadStatusCache(), main(), OnMonTriggerRateStudy::main(), uptime_graphic::main(), GetFEBsFromWatchList::main(), POTPopulateData::main(), submit_reco_validation::make_fhicl_file(), submit_reco_validation::make_grid_config_file(), publish_reco_validation::make_yaml(), PageMakers::makeBatchLogPages(), CronlogPageMakers::makeCronlogPage(), CronlogPageMakers::makeCrontabPage(), PageMakers::makeFileSizePage(), CronlogPageMakers::makeIndexPage(), runNovaSAM::makeMetadataJSONs(), PageMakers::makeResultsPage(), runNovaSAM::MakeTransposeJson(), PageMakers::makeValidationPage(), fabricate::md5_hasher(), SupernovaUtilities::ParseSNDFile(), RunSnowGlobes::ParseSnowGlobesEventTable(), ParserArtEvents::parseSTDOUT(), ParserDBUsage::parseSTDOUT(), Tier.Tier::prepareAndExecuteProcess(), FormatFile::process(), ana::process_list(), make_root_from_grid_output::process_one_file(), txt_utils::prong_iter_from_txt(), fabricate.Builder::read_deps(), pot-for-runs::read_file_list(), pot-for-runs::read_list(), SupernovaUtilities::ReadGarchingFluxes(), SupernovaUtilities::ReadGarchingLegacyFluxes(), SupernovaUtilities::ReadLivermoreFluxes(), PageMaker.PageMaker::readTemplate(), submit_reco_validation::record_output_path(), ViewGoogleCharts::samFileInfoSummaryCharts(), log_trawl.Project::separateMessages(), generic.models.Organizational.ComparisonRegistry::Serialize(), generic.models.Organizational.PlotRegistry::Serialize(), APDHVSetting_M150::settings(), APDHVSetting::settings(), NDAPDHVSetting::settings(), ViewHTML::showMetric(), ViewHTML::showMetricsSummary(), ViewGoogleCharts::stackedBarChart(), log_trawl::tail(), mcscore::test(), mcscorerootio::test_t2root(), ViewHighcharts::testSummary(), ViewGoogleCharts::tierProjectionBarChart(), traceControl_Init(), make_training::train_model(), validateGRLvsSAM::validate(), PageMaker.PageMaker::write(), ViewTimingDB.ViewTimingDB::write_csv(), fabricate.Builder::write_deps(), POTUptimeData::write_json(), POTGetData::write_json(), SamTimer.SamTimer::write_logs(), bp::WriteJSON(), generic.controllers.MakePages.PageMaker::WritePage(), and GetFEBsFromWatchList::writeTextFile().

tree SetBranchAddress ( "run"  ,
run 
)
tree SetBranchAddress ( "subrun"  ,
subrun 
)
tree SetBranchAddress ( "ngooddb"  ,
ngooddb 
)
tree SetBranchAddress ( "ngoodcdb"  ,
ngoodcdb 
)
tree SetBranchAddress ( "pass_all"  ,
pass_all 
)
tree SetBranchAddress ( "pass_hits"  ,
pass_hits 
)
tree SetBranchAddress ( "pass_db"  ,
pass_db 
)
tree SetBranchAddress ( "pass_time"  ,
pass_time 
)
tree SetBranchAddress ( "pass_slc"  ,
pass_slc 
)
tree SetBranchAddress ( "pass_trk"  ,
pass_trk 
)
tree SetBranchAddress ( "pass_runlen"  ,
pass_runlen 
)
tree SetBranchAddress ( "pass_empty"  ,
pass_empty 
)
while ( fileListItr >> badrun >>  badsubrun)

Definition at line 35 of file ProduceBadRunsByFailureMode.C.

References om::cout, and allTimeWatchdog::endl.

35  {
36  cleanruns.insert((100*badrun)+badsubrun);
37  cout << "Manually added Run/Subrun: " << badrun <<"/"<< badsubrun<< endl;
38  }
OStream cout
Definition: OStream.cxx:6
set< int > cleanruns

Variable Documentation

set<int> alreadyused

Definition at line 34 of file ProduceBadRunsByFailureMode.C.

int badrun
int badsubrun

Definition at line 31 of file ProduceBadRunsByFailureMode.C.

Referenced by MakeRunList().

set<int> cleanruns

Definition at line 33 of file ProduceBadRunsByFailureMode.C.

Referenced by CleanupPrelim(), and CleanupTree().

set<int>::iterator it

Definition at line 101 of file ProduceBadRunsByFailureMode.C.

Referenced by novaddt::FEBFlashFilter::_addToMap(), ana::PredictionInterp::_ShiftedComponent(), cheat::BackTracker::AccumulateHitContributions(), dqsf::DQSpillFlags::AccumulateSyncMetric(), ana::Seed::ActiveFitVars(), ana::SystShifts::ActiveSysts(), rb::HitMap::Add(), genie::flux::GAtmoFlux::AddAllFluxes(), caf::CAFMaker::AddMCTruthToVec(), caf::AddParticleToVec(), caf::AddTrueMichelEToVec(), dt::ViewMerger::Adjacent(), dt::Chain::AllChunks(), dt::Chain::AllHits(), dt::Cand::AllHits(), cheat::TestTrackIds::analyze(), remid::ReMIdValidate::analyze(), chaninfo::CosmicEff::analyze(), sn::SNBackgroundRejectionAna::analyze(), calib::ParticleCorrections::analyze(), novaddt::ClusterAna::analyze(), remid::ReMIdTrain::analyze(), mcchk::CosmicAna::analyze(), slicer::IdenticalSlicerAna::analyze(), fnex::EventListMaker::analyze(), fuzz::FuzzyKValidate::analyze(), fnex::ReadCAFMakeEventList::analyze(), htk::HoughTrack::analyze(), ApplicationSA(), fnex::MultiExperiment::ApplyPoint(), shims::map< Key, T, Compare, Allocator >::at(), mcchk::NeutrinoAna::beginJob(), mcchk::LeptonAna::beginRun(), dt::DiscreteTracker::BestSeed(), build_knob_switch(), fnex::ShifterAndWeighter::CalcNearTrueEnergyRatioWeights(), rb::HitMap::Cell(), cheat::BackTracker::CellToFLSHit(), cheat::BackTracker::CellToPhotonSignal(), cet::includer::cend(), caldp::AttenProfilesMap::Channels(), art::FileCatalogMetadata::InheritedMetadata::check_values(), cheat::RecoCheckAna::CheckRecoClusters(), trk::KalmanTrackAna::CheckRecoTracks(), ana::MultiExperiment::ChiSq(), CLAApplication(), CLAShower(), genie::Registry::CloneRegistryItem(), fhicl::detail::MaybeDisplayParent::closing_braces(), photrans::ImprovedTransport::ClusterPhotoElectrons(), rsim::IPulseShaper::ClusterPulses(), color(), ana::CombineMetadata(), fnex::InputPoint::CommonConstructorAssistant(), genie::NievesQELCCPXSec::CompareNievesTensors(), ana::PredictionCombinePeriods::ComponentCC(), ana::PredictionInterp::ComponentDerivative(), genie::NuclearModelMap::Configure(), calib::AttenFit::ConsolidateViews(), calib::AttenuationFit::ConsolidateViews(), om::RawEventList::ContainsIncompleteEvents(), fnex::CovarianceMatrixFitter::ConvertPointToVectors(), fnex::ConvertPointToVectors(), count_enabled_knobs(), ana::TargetCount::CountMass(), ana::CovMxSurface::CovMxSurface(), fnex::EventListManipulator::CreateNDPeripheralLists(), rsim::ReadoutSim::CreateRawDigits(), rsim::LegacyPulseShaper::CreateTrace(), ana::Binning::Custom(), ana::PredictionInterp::DebugPlot(), ana::PredictionInterp::DebugPlots(), ana::PredictionInterp::DebugPlotsColz(), fhicl::detail::decode(), novarwgt::DecodeGeneratorVersion(), caf::DecodeGeneratorVersion(), ana::FakeDecomp::Decompose(), ana::MultiExperiment::Derivative(), ana::SingleSampleExperiment::Derivative(), ana::PredictionInterp::Derivative(), ana::Loaders::DisableLoader(), evd::GeometryDrawer::DrawBadBoxesPretty(), ana::NusSystShift::DrawBkg(), evd::GeometryDrawer::DrawDCMBoxes(), drawIntensityEffect_2019(), drawLongTerm_2019(), DrawPiXAxis(), ana::NusSystShift::DrawShift(), ana::NusSystShift::DrawSig(), rsim::ExcessNoiseMaker::DrawSmearedPE(), ana::Prod4LoadersBase::ECAFTypeToString(), ana::ECAFTypeToString(), red::MatterProbe::ECalc(), calib::CosmicCalib::endJob(), calib::MakeAttenuationProfiles::endJob(), calib::AttenFit::endJob(), fnex::CAFToEventList::endJob(), calib::SumSubrunsCalib::endRun(), calib::SumRunsCalib::endRun(), calib::FindOutliers::endRun(), calib::AttenFit::endRun(), rsim::RecordNoiseSpectrumFile::endSubRun(), calib::CosmicCalib::endSubRun(), calib::AttenFit::endSubRun(), LightLevels::endSubRun(), cheat::BackTracker::EnergyFromTrackId(), ana::NueSurface::EnsurePad(), ana::SpectrumLoaderBase::SpectList::Erase(), ana::SpectrumLoaderBase::IDMap< T, U >::Erase(), ana::ErrorBarChart(), novaddt::DBSlicer::expandSlice(), mono::Monopole::extent_cell(), mono::Monopole::extent_plane(), mono::DataCheckMonopole::farm70_in_configuration(), art::detail::ServiceNames::fclname(), FD_ADA_B(), fill(), fill_col(), fnex::EventListManipulator::FillHistograms(), meta::Metadata::FillMetadata(), caf::FillParticleTruth(), ana::PredictionInterp::ShiftedPreds::FillRemaps(), novaddt::DBSlicer::filter(), novaddt::NuESelect::filter(), novaddt::MoonShadow::filter(), bsf::BremShowerFilter::filter(), cet::map_vector< Value >::find(), fhicl::detail::find_an_any(), ana::GenieMultiverseSpectra::FindBandBoundaries(), dt::Cand::FindChunk(), genie::Algorithm::FindConfig(), caf::FindDaughterVisE(), caf::FindDaughterVisENonRecur(), genie::GSimFiles::FindModelID(), findPair(), ana::FluxMultiverseSyst::FindSigmaBoundaries(), trk::KalmanTrack::FindTracks(), trk::KalmanTrackAna::FindVisibleProngs(), cheat::RecoCheckAna::FindVisibleProngs(), fuzz::FuzzyKValidate::FindVisibleProngs3D(), fuzz::FuzzyKVertex::FindVisibleProngs3D(), geo::GeometryBase::FirstPlaneInMuonCatcher(), fnex::MultiExperiment::FitValue(), ana::FluxMultiverseSyst::FluxMultiverseSyst(), for(), nuesand::FillNueSandbox::FracAngChanges(), nuesand::FillNueSandbox::FracModalHits(), lem::dec::Forest::FromFile(), ana::Binning::FromTAxis(), genie::LocalFGM::GenerateNucleon(), genie::FGMBodekRitchie::GenerateNucleon(), ana::GenieMultiverseSpectra::GenieMultiverseSpectra(), art::ServicesManager::get(), cet::registry< K, V >::get(), art::thread_safe_registry_via_id< K, M >::get(), calib::AttenCache::Get(), fhicl::ParameterSetRegistry::get(), cet::registry_via_id< K, V >::get(), art::Suffixes::get(), fhicl::ParameterSet::get_one_(), get_sa_systs_mags_v2(), get_sorted_keys(), caldp::AttenHistsMap::GetAllHistsByPlane(), caldp::AttenProfilesMap::GetAllProfilesByPlaneAndCell(), ana::getAna2017SmallXsecSysts(), ana::getAna2018SmallXsecSysts(), GetBackgroundSystematicUncertainty(), align::Alignment::GetChannelHists(), Plotter::GetDataPlots(), GetEfficiencySystematicUncertainty(), art::getElementAddresses(), genie::flux::GAtmoFlux::GetFluxHistogram(), gibuu::GiBUURegen::GetGenieXSec(), LSTME::getIndex(), SliceLID::getIndex(), Plotter::GetMCPlots(), calib::TimingCache::GetOffset(), cet::map_vector< Value >::getOrNull(), calib::AbsCache::GetPECorrToGeVScale(), caldp::AttenProfilesMap::GetProfiles(), gibuu::SimpleRecordList::GetRecord(), gibuu::OnDemandRecordList::GetRecord(), gibuu::GiBUURegen::GetRecordList(), ana::SpectrumLoaderBase::IDMap< T, U >::GetReweightableSpectra(), ana::SystShifts::GetShift(), calib::TimingCache::GetSigma(), novaddt::DBSlicer::GetSingleViewSlice(), ana::SpectrumLoaderBase::IDMap< T, U >::GetSpectra(), getStabilitySpectra(), ana::Loaders::Go(), ana::MultiHistContainer::Hist(), cheat::BackTracker::HitCollectionEfficiency(), cheat::BackTracker::HitCollectionPurity(), cheat::BackTracker::HitsToParticle(), cheat::BackTracker::HitsToTrackIDE(), cheat::BackTracker::HitToFLSHit(), cheat::BackTracker::HitToParticle(), cheat::BackTracker::HitToPhotonSignal(), ana::PredictionInterp::InitFits(), novaddt::DBSlicer::InitializeLists(), fnex::InputPoint::InputPoint(), cet::map_vector< Value >::insert(), genie::ReinSehgalRESXSec::Integrate(), genie::ReinSehgalRESXSecFast::Integrate(), genie::ReinSehgalSPPXSec::Integrate(), TMVAEIDTraining::internalTMVASetup(), dt::Cand::IsAllShower(), shims::map< Key, T, Compare, Allocator >::iter< Category, TT, Distance, Pointer, Reference >::iter(), ana::SystShifts::LatexName(), ana::HistCache::LeakAll(), art::detail::ServiceNames::libname(), genie::FGMBodekRitchie::LoadConfig(), genie::NuclearModelMap::LoadConfig(), genie::SmithMonizUtils::LoadConfig(), ana::CovMxSurface::LoadFrom(), calib::AttenCache::LoadFromDatabase(), gibuu::GiBUURegen::LoadGenieXSecs(), gibuu::GiBUURegen::LoadGiBUUCorrs(), gibuu::GiBUURegen::LoadGiBUURecords(), ana::SAMQuerySource::LocateSAMFiles(), main(), make1DsAndRatio(), make_cosmic_eff_table(), make_nue_filesyst_pred(), make_pdf(), dt::View::MakeChunks(), genie::EffectiveSF::MakeEffectiveSF(), makeProfiles(), Shift::mapScalarVar(), Shift::mapVectorVar(), nuesand::FillNueSandbox::MaxHits(), fhicl::detail::MaybeDisplayParent::MaybeDisplayParent(), dt::Cand::MaybeFlip(), genie::MECHadronTensor::MECHadronTensor(), novaddt::DBSlicer::MergeSlices(), ana::PredictionInterp::MinimizeMemory(), numue::NumuEAlg::NDEnergy(), neutron_evd(), ana::HistCache::New(), ana::HistCache::NewF(), evgen::NuMISpillTimeStructure::NewSpill(), ana::HistCache::NewTH2D(), ana::HistCache::NewTH2F(), ana::HistCache::NewTH3D(), dt::View::NextPlane(), dt::Cand::NHitPlanes(), geo::NodesToUniqueId(), zcl::FastMonopoleTriggers::NumberOfCellsPerLength(), novaddt::FastMMTrigger::NumberOfCellsPerLength(), novaddt::NNFastMMTrigger::NumberOfCellsPerLength(), zcl::FmmTriggerEvd::NumberOfCellsPerLength(), zcl::FastMMStudy::NumberOfCellsPerLength(), ana::NuTruthSpillCut::operator()(), art::NewToOld::operator()(), art::OldToNew::operator()(), art::detail::ItemGetter< T, C >::operator()(), fnex::EventList::operator+(), caldp::AttenHistsMap::operator+=(), caldp::AttenProfilesMap::operator+=(), ana::operator<<(), cet::map_vector< Value >::operator[](), ana::SpectrumLoaderBase::IDMap< T, U >::operator[](), osc::_OscCalculatorPMNSOpt< T >::P(), shims::catchall_parser::parse(), fhicl::real_parser::parse(), fhicl::uint_parser::parse(), fhicl::hex_parser::parse(), fhicl::dbid_parser::parse(), fhicl::bin_parser::parse(), fhicl::ass_parser::parse(), fhicl::dss_parser::parse(), cheat::BackTracker::ParticleToFLSHit(), ana::PDG_cvnmax(), ana::SystShifts::Penalty(), genie::Interaction::PhaseSpacePtr(), slid::ParticleIDAlg::PlaneCentroid(), slid::ParticleIDAlg::PlaneRadius(), plot_xsecs(), ana::PlotMultiSyst(), ana::PlotSyst(), fnex::PointResult::PointResult(), dt::Cand::PopSegHelper(), dt::DiscreteTracker::PossibleNextSegs(), evd::SliceNavigator::postProcessEvent(), evdb::EventDisplay::postProcessEvent(), g4n::NeutronSubstitutionProcess::PostStepDoIt(), ana::PredictionCombinePeriods::PredictComponentSyst(), dt::View::PrevPlane(), ana::Registry< T >::Print(), ana::DepMan< T >::Print(), nova::dbi::RunHistory::PrintChanInfo(), meta::MetadataParse::PrintMetadata(), ana::HistCache::PrintStats(), genie::EffectiveSF::ProbDistro(), genie::FGMBodekRitchie::ProbDistro(), art::Path::process(), genie::UnstableParticleDecayer::ProcessEventRecord(), CalibAnaPlot::ProcessTrees(), cvntf::CVNCosmicTFFilt::produce(), photrans::PhotonSystRewriter::produce(), trk::KalmanTrack::produce(), zcl::SPCluster::produce(), dt::ViewMerger::produce(), dt::DiscreteTracker::produce(), photrans::PhotonTransport::produce(), cheat::MCCheater::produce(), murem::FindMREParent::produce(), ana::Profile(), art::ServicesManager::put(), fnex::ReadCAFMakeEventList::ReadCAFTree(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), calib::AttenuationFit::readResults(), RebinToShortAxis(), cheat::BackTracker::Rebuild(), fnex::NOvA_Experiment::Reconfigure(), fnex::MultiExperiment::Reconfigure(), ana::RefineSeeds(), calib::AttenCache::Reinit(), ana::SpectrumLoaderBase::IDMap< T, U >::RemoveLoader(), removeZeroPOT(), ana::SpectrumLoaderBase::IDMap< T, U >::Replace(), ana::SpectrumLoader::ReportExposures(), ana::Seed::ResetCalc(), meta::Metadata::respondToCloseOutputFiles(), TMVAEIDTraining::runDiagnostics(), genie::XSecSplineList::SaveAsXml(), ana::MultiExperiment::SaveTo(), ana::PredictionCombinePeriods::SaveTo(), ana::FluxMultiverseSyst::SaveTo(), ana::FrequentistSurface::SaveTo(), ana::SystShifts::SaveTo(), ana::PredictionInterp::SaveTo(), ana::GenieMultiverseSpectra::SaveTo(), ana::SeedList::SeedList(), genie::IBDXSecMap::SelectModel(), genie::NuclearModelMap::SelectModel(), genie::flux::GAtmoFlux::SelectNeutrino(), fnex::EventListMaker::Serialize(), fnex::ReadCAFMakeEventList::Serialize(), evd::SliceNavigator::SetCurrentSlice(), fnex::NOvA_Experiment::SetEventListMap(), genie::SmithMonizUtils::SetInteraction(), red::MatterProbe::SetMap(), ana::PredictionInterp::SetOscSeed(), art::setPtr(), ana::Loaders::SetSpillCut(), ana::MultiExperiment::SetSystCorrelations(), ana::SystShifts::Shift(), ana::PredictionInterp::ShiftBins(), ana::SystShifts::ShortName(), ana::Registry< T >::ShortNameToPtr(), ana::FCBin::SignificanceForUpValue(), ana::Binning::Simple(), zcl::FastMonopoleTriggers::StdevCellsPerPlane(), novaddt::FastMMTrigger::StdevCellsPerPlane(), novaddt::NNFastMMTrigger::StdevCellsPerPlane(), zcl::FmmTriggerEvd::StdevCellsPerPlane(), zcl::FastMMStudy::StdevCellsPerPlane(), novaddt::HitSet::subtract(), ana::SumNueSecondAnaSysts(), SumSysts(), SumSysts2017(), ana::SystShifts::SystShifts(), tmva_new_train(), TMVAClassification(), ana::SpectrumLoaderBase::IDMap< T, U >::TotalSize(), TotBkg(), ana::FluxMultiverseSyst::ToTH1(), ana::GenieMultiverseSpectra::ToTH1(), ana::GenieMultiverseSpectra::ToTH2(), ana::ToTHStack(), dt::Cand::ToTrack(), vf::TrackEva::Tracklength(), cheat::BackTracker::TracksToParticles(), TrainingSA(), lem::dec::Forest::TrainSingleTransformed(), dt::Cand::TryAddSeg(), mmc::Validation::tset(), mono::DataCheckMonopole::tset(), mono::SlowMonopoleAna::tset(), mono::Monopole::tset(), zcl::FastMMStudy::tset(), zcl::FastMMStudy::tset2(), ana::Registry< T >::UnRegister(), ana::FileReducer::UpdateMetadata(), dt::View::View(), ana::NusISyst::WeightFor(), slicer::Slicer::WindowSlice(), write_product_node(), ana::WriteCAFMetadata(), calib::SumAttenuationProfiles::writeResults(), calib::MakeAttenuationProfiles::writeResults(), calib::AttenuationFit::writeResults(), ana::NusSystShift::WriteTable(), ana::NusSystMaker::WriteTable(), ana::XAxisDeltaCPLabels(), osc::_OscCalculatorPMNSOpt< T >::~_OscCalculatorPMNSOpt(), calib::AttenCache::~AttenCache(), ana::CovMxSurface::~CovMxSurface(), ana::FluxMultiverseSyst::~FluxMultiverseSyst(), ana::GenieMultiverseSpectra::~GenieMultiverseSpectra(), gibuu::GiBUURegen::~GiBUURegen(), ana::Loaders::~Loaders(), and genie::MECHadronTensor::~MECHadronTensor().

int nentries = tree->GetEntries()
int ngoodcdb
int ngooddb

Definition at line 7 of file ProduceBadRunsByFailureMode.C.

Referenced by BuildMetricsTree_OnMon(), and BuildOldTree().

int pass_all
int pass_db

Definition at line 7 of file ProduceBadRunsByFailureMode.C.

Referenced by BuildMetricsTree_OnMon(), and BuildOldTree().

int pass_empty
int pass_hits
int pass_runlen
int pass_slc

Definition at line 7 of file ProduceBadRunsByFailureMode.C.

Referenced by BuildMetricsTree_OnMon(), and BuildOldTree().

int pass_time
int pass_trk

Definition at line 7 of file ProduceBadRunsByFailureMode.C.

Referenced by BuildMetricsTree_OnMon(), and BuildOldTree().

ofstream procfile
void ProduceBadRunsByFailureMode
Initial value:
{
TFile file("MetricsTree_All.root","read")
TFile * file
Definition: cellShifts.C:17

Definition at line 1 of file ProduceBadRunsByFailureMode.C.

TString rowstr

Definition at line 27 of file ProduceBadRunsByFailureMode.C.

Referenced by MakeDetCfgCSV(), and MakeRunList().

int run

Definition at line 6 of file ProduceBadRunsByFailureMode.C.

int subrun

Definition at line 6 of file ProduceBadRunsByFailureMode.C.

TTree* tree = (TTree*)file.Get("mytree")

Definition at line 4 of file ProduceBadRunsByFailureMode.C.