Variables
findDuplicateFiles Namespace Reference

Variables

 samweb = samweb_client.SAMWebClient(experiment='nova')
 
 pattern = re.compile(r"^.*?_r(.*?)_s(.*?)_.*")
 
string query = "Nova.DetectorID = fd and data_tier = artdaq and data_stream = "
 
 listResult = samweb.listFiles(query)
 
list fileList = []
 
 match = pattern.match(file)
 
 run = int(match.groups()[0])
 
 subrun = int(match.groups()[1])
 
tuple fileInfo = (run, subrun, file)
 
 key
 
int count = 0
 
int lastRun = 0
 
int lastSubrun = 0
 
string lastFile = ""
 
 file = fileInfo[2]
 

Variable Documentation

int findDuplicateFiles.count = 0

Definition at line 29 of file findDuplicateFiles.py.

findDuplicateFiles.file = fileInfo[2]

Definition at line 36 of file findDuplicateFiles.py.

tuple findDuplicateFiles.fileInfo = (run, subrun, file)

Definition at line 24 of file findDuplicateFiles.py.

list findDuplicateFiles.fileList = []

Definition at line 15 of file findDuplicateFiles.py.

findDuplicateFiles.key

Definition at line 27 of file findDuplicateFiles.py.

Referenced by dbutils::daqconfig::ConfigDataTree._getValueFromContainer(), dbutils::daqconfig::ConfigDataTree._initialize(), ana::PredictionInterp._ShiftedComponent(), genie::KineGeneratorWithCache.AccessCacheBranch(), genie::QELEventGeneratorSM.AccessCacheBranch2(), genie::QELEventGeneratorSM.AccessCacheBranchDiffv(), ana::SpectrumLoaderNuTreeSpillCuts.AccumulateExposures(), dqsf::DQSpillFlags.AccumulateSyncMetric(), simb::MCTrajectory.Add(), genie::AlgConfigPool.AddBasicParameter(), ana::CovMxManager.AddSystematic(), Analyse_GetEfficiency(), Analyse_GetEfficiency_UseNEntries(), beamlinereco::BeamlineRecoDump.analyze(), shims::map< Key, T, Compare, Allocator >.at(), fnex::CovarianceMatrixMaker.beginJob(), cmf::CovarianceMatrixMaker.beginJob(), cmf::CovarianceBinUtility.BinToEnergy(), genie::XSecSplineList.BuildSplineKey(), genie::Cache.CacheBranchKey(), genie::ReinSehgalRESXSecWithCache.CacheBranchName(), genie::DISXSec.CacheBranchName(), genie::DMDISXSec.CacheBranchName(), genie::ReinSehgalRESXSecWithCacheFast.CacheBranchName(), genie::DISXSec.CacheFreeNucleonXSec(), genie::DMDISXSec.CacheFreeNucleonXSec(), genie::ReinSehgalRESXSecWithCache.CacheResExcitationXSec(), genie::ReinSehgalRESXSecWithCacheFast.CacheResExcitationXSec(), cmf::BeamSyst.CalcBeamSystWeights(), cmf::GeniePCASyst.CalcGeniePCASystWeights(), ana.CalculateFluxAndNoCorrelatedErrorBand(), ana.CombineMetadata(), genie::AlgConfigPool.CommonList(), CompareAsimovAndMedian(), CompareRootfile(), genie::QPMDMDISPXSec.Configure(), boost::python::vector_indexing_suite< Container, NoProxy, final_vector_derived_policies< Container, NoProxy > >.contains(), skim::SkimmingUtils.CopyProngs(), skim::SkimmingUtils.CopyShowers(), skim::SkimmingUtils.CopySlice(), genie::Registry.CopyToFolder(), skim::SkimmingUtils.CopyTracks(), fnex::CovarianceBinUtility.CovarianceBinUtility(), nova::database::Table.CreateFromDB(), genie::XSecSplineList.CreateSpline(), datamc(), Plotter.DataMCComparison(), Plotter.DataMCComparisons(), cet::map_vector< Value >.delta(), jmshower::RecoJMShower.DepositEnergy(), cmf::EventListManipulator.Deserialize(), ana::Loaders.DisableLoader(), genie::QPMDISPXSec.DISRESJoinSuppressionFactor(), genie::QPMDMDISPXSec.DMDISRESJoinSuppressionFactor(), fhicl::Sequence< string >.do_prepare_elements_for_validation(), fhicl::Tuple< TYPES >.do_prepare_elements_for_validation(), fhicl::Sequence< T,-1ull >.do_prepare_elements_for_validation(), DrawDataMC(), DrawDeltaChiSqrWithContours(), DrawMedianAndUniverses(), DrawPlots(), cet::registry< K, V >.end(), hdf5::HDF5Maker.endJob(), dprf::TrackPlots.endJob(), jmshower::RecoJMShower.Energy(), fnex::EventListManipulator.EpochEventCap(), cmf::FileExtracts.FileExtracts(), fnex::CovarianceFitHelper.FillEnergySpectra(), fnex::EventListManipulator.FillEventList(), fnex::EventListManipulator.FillFakeDataListsForDetector(), cmf::CovarianceBinUtility.FillOffsetAndBinMaps(), fnex::CovarianceMatrixMaker.FillSpectrum(), cmf::CovarianceMatrixMaker.FillSpectrum(), fnex::CovarianceFitHelper.FillSpectrum(), cet::map_vector< Value >.find(), shims::map< Key, T, Compare, Allocator >.find(), FindContours(), genie::Registry.FindKeys(), findNames(), findPair(), genie::AlgConfigPool.FindRegistry(), FindUniverseContours(), FindUniverseSpectra(), genie_check_var(), cet::registry< K, V >.get(), cet::registry_via_id< K, V >.get(), genie::Registry.Get(), genie::AlgFactory.GetAlgorithm(), ana.GetCAFMetadata(), jmshower::RecoJMShower.GetCellTransDedx(), align::Alignment.GetChannelHists(), GetContours(), ana::CovMxManager.GetCovarianceMatrix(), Plotter.GetDataPlots(), genie::utils::config.GetDoubleKeyPDG(), genie::utils::config.GetDoubleKeyRangeNucA(), dbutils::daqconfig::ConfigDataTree.getEffectiveValueFor1Key(), dbutils::daqconfig::ConfigDataTree.getEffectiveValueFor2Keys(), dbutils::daqconfig::ConfigDataTree.getEffectiveValueFor3Keys(), meta::Metadata.GetInputMetadata(), meta::MetadataManager.getInstance(), GetKeySysts(), TMVA::TMVAGlob.GetListOfJobs(), ana::Loaders.GetLoader(), ana::Loaders.GetLoaderFiles(), ana::Loaders.GetLoaderPath(), GetMatrices(), Plotter.GetMCPlots(), ana::SpectrumLoaderBase.GetNextFile(), GetNFiles(), TMVA::TMVAGlob.GetNumberOfInputVariables(), TMVA::TMVAGlob.GetNumberOfTargets(), calib::TimingCache.GetOffset(), ShmRdWr.getShmKey(), calib::TimingCache.GetSigma(), genie::XSecSplineList.GetSpline(), genie::XSecSplineList.GetSplineKeys(), GetSystsFromFile(), dbutils::daqconfig::ConfigDataTree.getTableName(), jmshower::RecoJMShower.GetTrkCPlaneCell(), dbutils::daqconfig::ConfigDataTree.getTrueValue(), dbutils::daqconfig::ConfigDataTree.getTrueValueFor1Key(), dbutils::daqconfig::ConfigDataTree.getTrueValueFor2Keys(), dbutils::daqconfig::ConfigDataTree.getTrueValueFor3Keys(), genie::AlgConfigPool.GlobalParameterList(), cet::map_vector< Value >.has(), hits(), initialise(), fnex::CovarianceFitHelper.Initialize(), cmf::ChiSqrCalculator.InitializeCovarianceMatrix(), fnex::CovarianceMatrixFitter.InitializeMinimizer(), caf::CAFMaker.InitializeOutfile(), genie::DISXSec.Integrate(), genie::DMDISXSec.Integrate(), genie::ReinSehgalRESXSec.Integrate(), genie::ReinSehgalRESXSecFast.Integrate(), genie::ReinSehgalSPPXSec.Integrate(), cmf.InteractionTypeKey(), IsDetUncorrelated(), IsOneSided(), isystrename(), cmf::FileExtracts.Key(), cmf.KeyToEpoch(), fnex::CovarianceBinUtility.KeyToOffset(), genie::NtpMCJobConfig.Load(), genie::Cache.Load(), cmf::BeamSyst.LoadBeamSystHists(), genie::IBDXSecMap.LoadConfig(), genie::Decayer.LoadConfig(), genie::SpectralFunc1d.LoadConfig(), genie::FGMBodekRitchie.LoadConfig(), genie::EventGenerator.LoadConfig(), genie::NuclearModelMap.LoadConfig(), genie::LocalFGM.LoadConfig(), genie::SmithMonizUtils.LoadConfig(), mcmc.LoadFakeData(), ana::NumuSyst.LoadFrom(), ana::NCSyst.LoadFrom(), ana::NueSyst.LoadFrom(), ana::CovMxSurface.LoadFrom(), ana::SpectrumComponents.LoadFrom(), ana::SystMakerShift.LoadFrom(), ana::DataMCPair.LoadFrom(), ana::MCMCSamples.LoadFrom(), ana::SystematicsMaker.LoadFrom(), cmf::GeniePCASyst.LoadGeniePCASystHists(), gibuu::GiBUURegen.LoadGiBUUCorrs(), gibuu::GiBUURegen.LoadGiBUURecords(), LoadISysts(), LoadMaps(), ana.LoadMaps(), genie::AlgConfigPool.LoadRegistries(), ana::CovMxManager.LoadSyst(), LoadSystsFromFile(), sim::ParticleNavigator.lower_bound(), main(), make_dataMC(), cmf::CovarianceFitHelper.MakeDataMCCanv(), makeInitialDecorrelatedErrorPlot(), MakeISysts(), makeKeyUnique(), art::SourceHelper.makePtr(), cet::map_vector_key.map_vector_key(), fnex::MetaData.MCKey(), TMVA::TMVAGlob.NextKey(), fhicl::detail.nl(), fnex::CovarianceBinUtility.NuEHighEdges(), cmf::CovarianceBinUtility.NuMuHighEdges(), ana::_Cut< T >.operator&&(), ana::NuTruthSpillCut.operator()(), genie::Registry.operator()(), ana::_Var< T >.operator*(), ana::_Var< T >.operator+(), ana::_Var< T >.operator-(), ana::_Var< T >.operator/(), shims::map< Key, T, Compare, Allocator >.operator[](), cet::map_vector< Value >.operator[](), ana::_Cut< T >.operator||(), art::MixOp< PROD, OPROD >.outgoingProductID(), evdb::ParameterSetEditFrame.ParameterSetEditFrame(), stan::json::parser< Handler, Validate_UTF_8 >.parse_object_members_end_object(), PlotForCL(), plotStabilitySpectra(), Plotting_CompareMultipleContours(), Plotting_OverlayStudies(), ppfx_check_var(), VarDict.pprintScalarVars(), VarDict.pprintVectorVars(), genie::XSecSplineList.Print(), genie::Cache.Print(), genie::Registry.Print(), art::detail.print_available_plugins(), stan::io.print_help_option(), meta::MetadataParse.PrintMetadata(), evd::XZYZProjectionsView.PrintTag(), simb::MCTrajectory.ProcessToKey(), photrans::PhotonSystRewriter.produce(), calib::TimingCalibration.produce(), dbutils::SimpleParameterSet.put(), fhicl::ParameterSet.put(), fhicl::ParameterSet.put_or_replace(), fhicl::ParameterSet.put_or_replace_compatible(), Plotter.q0q3Panel(), jmshower::RecoJMShower.Radius(), jmshower::RecoJMShower.RadiusV(), fnex::CovarianceFitHelper.reconfigure(), jmshower::RecoJMShower.RecoShowers(), meta::Metadata.respondToCloseOutputFiles(), genie::Cache.RmCacheBranch(), genie::Cache.Save(), genie::XSecSplineList.SaveAsXml(), ana::CovMxManager.SaveSyst(), dbutils::daqconfig::ConfigDataTree.saveValues(), ScanRootfile(), fnex::ReadCAFMakeEventList.Serialize(), fnex.SerializeEvents(), genie::Registry.Set(), cmf::CMFDecorrelator.SetComponentNameAndOffsets(), fnex::FitAlg_ROOTFactoryFit.SetConstraints(), ana::Loaders.SetLoaderFiles(), ana::Loaders.SetLoaderPath(), ana::FileReducer.SetMetadata(), ana::covmx::Sample.SetSystAlias(), SetSystAlias(), CalibAnaPlot.SetTreeLoopStride(), ana::NuWROSyst.Shift(), caf::VectorProxyBase.size(), genie::XSecSplineList.SplineExists(), cmf.StringToKey(), fnex.StringToKey(), syst_table_from_preds(), nutools::dbi::Table.Table(), nova::dbi::Table.Table(), TestPred(), Plotter.TruthPlots(), fhicl::detail.try_insert(), genie::AlgConfigPool.TuneGeneratorList(), evdb::ParameterSetEditRow.UnpackParameter(), daq2raw::BeamlineUnpack.UnpackTrigger(), genie::AlgId.UpdateKey(), Plotter.WeightPlots(), WriteDirectoryStruct(), genie::AlgConfigPool.~AlgConfigPool(), HEPREP::HepRepAttribute.~HepRepAttribute(), HEPREP::HepRepAttributeListener.~HepRepAttributeListener(), HEPREP::HepRepReader.~HepRepReader(), and HEPREP::HepRepWriter.~HepRepWriter().

findDuplicateFiles.lastFile = ""

Definition at line 32 of file findDuplicateFiles.py.

findDuplicateFiles.lastRun = 0

Definition at line 30 of file findDuplicateFiles.py.

findDuplicateFiles.lastSubrun = 0

Definition at line 31 of file findDuplicateFiles.py.

findDuplicateFiles.listResult = samweb.listFiles(query)

Definition at line 13 of file findDuplicateFiles.py.

findDuplicateFiles.match = pattern.match(file)

Definition at line 18 of file findDuplicateFiles.py.

findDuplicateFiles.pattern = re.compile(r"^.*?_r(.*?)_s(.*?)_.*")

Definition at line 11 of file findDuplicateFiles.py.

string findDuplicateFiles.query = "Nova.DetectorID = fd and data_tier = artdaq and data_stream = "

Definition at line 12 of file findDuplicateFiles.py.

findDuplicateFiles.run = int(match.groups()[0])

Definition at line 22 of file findDuplicateFiles.py.

findDuplicateFiles.samweb = samweb_client.SAMWebClient(experiment='nova')

Definition at line 8 of file findDuplicateFiles.py.

findDuplicateFiles.subrun = int(match.groups()[1])

Definition at line 23 of file findDuplicateFiles.py.