Variables
getBrightness Namespace Reference

Variables

 parser = argparse.ArgumentParser(description='Process fiber brightness files')
 
 action
 
 type
 
 int
 
 required
 
 args = parser.parse_args()
 
string fInName = "fdBrightness.root"
 
 plane = args.plane_number
 
 cell = args.cell_number
 
 infile = ROOT.TFile(fInName, "READ")
 
 bmap = infile.Get("BrightnessByBin")
 
 bvalue = infile.Get("BrightnessValue")
 
 ibin = bmap.GetBinContent(plane+1, cell+1)
 
 br = bvalue.GetBinContent(int(ibin))
 

Variable Documentation

getBrightness.action

Definition at line 9 of file getBrightness.py.

getBrightness.args = parser.parse_args()

Definition at line 13 of file getBrightness.py.

getBrightness.bmap = infile.Get("BrightnessByBin")

Definition at line 32 of file getBrightness.py.

getBrightness.br = bvalue.GetBinContent(int(ibin))
getBrightness.bvalue = infile.Get("BrightnessValue")

Definition at line 33 of file getBrightness.py.

getBrightness.cell = args.cell_number

Definition at line 29 of file getBrightness.py.

Referenced by cmap::dataprov::CMap.AddException(), lem::FindLEMMatches.AddHists(), lem::LEM.AddHists(), chaninfo::CosmicEff.analyze(), dprf::ChannelPlots.analyze(), mcchk::MonopoleAna.analyze(), dprf::TrackPlots.analyze(), mcchk::RockAna.analyze(), sn::SupernovaAna.analyze(), align::SplitTracks.analyze(), comi::DataCheck.analyze(), calib::HitEfficiency.analyze(), zcl::MMCheater.analyze(), trk::KalmanTrackAna.analyze(), hough::HoughValidate.analyze(), remid::ReMIdDedxRock.analyze(), remid::ReMIdDedxFD.analyze(), remid::ReMIdDedxStudies.analyze(), tbana::DetectorRateShutOff.analyze(), LightLevels.analyze(), slid::LIDTraining.analyze(), chaninfo::BadChanList.Apply(), caldp::AttenProfilesMap.AttenProfilesMap(), attenuation_calibration_comparisons(), attenuation_calibration_comparisons_withfb(), avgefficiency(), chaninfo::BadChanValidate.BadChansFromOM(), calib::MuonTrackHits.beginJob(), calib::ThresholdAna.beginRun(), calib::PEResponse.beginRun(), rsim::ReadoutSim.beginRun(), chaninfo::FindSwappedChannels.beginSubRun(), calib.BestPathEstimates(), cvn::Boundary.Boundary(), cellstring(), cheat::CheckBackTracking.CheckFLSHitConsistency(), murem::TrackCleanUpAlg.CleanUpTrack(), geo::GeometryBase.ClosestApproach(), daqchannelmap::FarDetDAQChannelMap.computeCell(), daqchannelmap::TestBeamDAQChannelMap.computeCell(), daqchannelmap::NearDetDAQChannelMap.computeCell(), daqchannelmap::NearDetDAQChannelMap.computeModule(), daqchannelmap::NDOSDAQChannelMap.computeModule(), daqchannelmap::FarDetDAQChannelMap.computeModule(), daqchannelmap::TestBeamDAQChannelMap.computeModule(), cvn::RegCVNImageUtils.ConvertChargeVectorsToViewVectors(), corrected_PE(), geo::GeometryBase.CountCellsOnLine(), geo::GeometryBase.CountCellsOnLineFast(), trk::KalmanGeoHelper.CountMissedCellsOnLine(), dt::ViewMerger.CountUnexplainedOnLine(), LightLevels.CreateHistos(), cvn::RegPixelMapProducer.CreateMapGivenBoundary(), cvn::PixelMapProducer.CreateMapGivenBoundary(), cvn::RegPixelMapProducer.CreateMapGivenShowerVertex(), cvn::RegPixelMapProducer.CreateMapGivenVertex(), rsim::ReadoutSim.CreateRawDigits(), det_to_screen_y(), dozooming(), rsim::ReadoutSim.DrawASICOutput(), evd::GeometryDrawer.DrawCells2D(), evd::GeometryDrawer.DrawHighlightCell(), TexBuilder.DrawTable(), eff_plots(), efficiency(), daqchannelmap::NearDetDAQChannelMap.encodeDChan(), daqchannelmap::FarDetDAQChannelMap.encodeDChan(), daqchannelmap::TestBeamDAQChannelMap.encodeDChan(), daqchannelmap::NearDetDAQChannelMap.encodeLChan(), daqchannelmap::FarDetDAQChannelMap.encodeLChan(), daqchannelmap::TestBeamDAQChannelMap.encodeLChan(), calib::CosmicCalib.endJob(), calib::MakeAttenuationProfiles.endJob(), calib::AttenFit.endJob(), calib::FindOutliers.endRun(), rsim::RecordNoiseSpectrumFile.endSubRun(), LightLevels.endSubRun(), calib::MakeAttenuationProfiles.event(), om::PlotClickHandler.FEButcInfo(), rsim::IFPGAAlgorithm.FetchThresholds(), chaninfo::FindSwappedChannels.fill_hist_and_tree(), dqsf::DQSpillFlags.FillCountVars(), lem::EventSummary.FillHists(), calib::CosmicCalib.FillPathLengthInfo(), calib::MakeAttenuationProfiles.FillPathLengthInfo(), calib::DriftResponseCalc.FillPeCorrHits(), lem.FillPotential(), caf.FillSliceInfo(), calib::CosmicCalib.filter(), calib::MuonTrackHits.filter(), calib.FindBelowThresholdCalibCandidates(), calib::AttenFit.fit_channel_prof(), calib::AttenuationFit.fit_channel_prof(), fit_thresh_corrs(), fit_thresh_corrs_fb(), nuesand::FillNueSandbox.FracNonContiguous(), align::SplitTracks.GeoEstimatePos(), caldp::AttenProfilesMap.GetAllProfilesByPlaneAndCell(), cmap::dataprov::CMap.getCell(), align::SplitTracks.GetCellEndpoints(), jmshower::RecoJMShower.GetCellTransDedxProb(), evd::RecoBaseDrawer.GetClusterOutlines(), novaddt::utils::_detail::NDOSUtil.GetDCMoffset(), airshower::AirSlicer.GetHitPos(), daqchannelmap::DAQChannelMapOLD.getOnlineCell(), dt::View.GetPlanes(), calib::Calibrator.GetTimeStamp(), calib::Calibrator.GetTimingOffset(), jmshower::JMShower.GetTransHits(), novaddt::UpMuTrigger.GetXYZ(), novaddt::UpMuAna.GetXYZ(), calib.GetXYZD(), Detector.HalfW(), calib.HasXYAdjacents(), calib.HasZAdjacents(), cheat::BackTracker.HaveTruthInfo(), mono::MonopoleCluster.hit_is_isolated(), jmshower::JMShower.HitDeconvE(), jmshower::JMShower.HitDist(), jmshower::JMShower.HitSumE(), om::PlotClickHandler.HwDCMHistogramInfo(), om::PlotClickHandler.HwDetHistogramInfo(), om::PlotClickHandler.HwPCHistogramInfoX(), om::PlotClickHandler.HwPCHistogramInfoY(), chaninfo::BadChanList.InDroppedDCM(), initialise(), chaninfo::BadChanList.IsBad(), chaninfo::BadChanList.IsBadUncached(), nnbar::NNbarUtilities.isFebFlasher(), chaninfo::BadChanList.LoadCosmicEff(), photrans::ImprovedTransport.LoadHistos(), chaninfo::BadChanList.LoadNewData(), nova::dbi::RunHistory.LoadPedestals(), main(), dt::View.MakeChunks(), evtsum::EventSummary.MakeOutput(), trk::WindowTrackingAlg.MakeTrack(), murem::FindParent.MatchToOrigSlice(), lem::FindLEMMatches.MatchToVertex(), lem::LEM.MatchToVertex(), chaninfo::BadChanList.NBadInSubRun(), cvn::RegPixelMap.NInput(), cvn::PixelMap.NInput(), dt::Chunk.operator<(), novaddt::utils::DetectorUtils.PigTimeOffset(), daqchannelmap::HardwareDisplay.PlaneCellToDAQ(), plot_abstree(), plot_residPerPlane(), plot_residPerViewV(), plot_residPerViewZ(), printEventToJson(), calib::PCHitsList.ProcessTrackForBelowThresholdHits(), cvntf::CVNCosmicTFFilt.produce(), lem::AlignLibToVtx.produce(), lem::MakeLibrary.produce(), slid::LIDBuilder.produce(), rsim::ReadoutSim.produce(), evd::RawDataDrawer.RawDigit2D(), rsim::ReadoutSim.ReadoutSim(), trk::RLFit.RLFit(), RunCalibration(), screen_to_activecell(), set_eventn_status_hit(), rb::CellHit.SetCell(), jmshower::JMShower.SetHitDeconvE(), jmshower::JMShower.SetHitDist(), jmshower::JMShower.SetHitSumE(), rsim::IFPGAAlgorithm.SetPlaneAndCell(), sim::PhotonSignal.SetPlaneCell(), jmshower::JMShower.SetPlaneCentroidCell(), jmshower::JMShower.SetPlaneE1Cell(), jmshower::JMShower.SetPlaneE2Cell(), jmshower::JMShower.SetPlaneHitCell(), chaninfo::BadChanList.SetRandomBadChannels(), cmap::dataprov::CMap.SetStdMap(), show_potential(), lem::LEMSummarizer.SliceToLEMInput(), solve(), DAQChannelMapTests.testBasicChannelGetOffline(), DAQChannelMapTests.testBasicOfflineChannelGet(), geo::GeometryTest.testCellIdFromPos(), geo::GeometryTest.testCellPos(), DAQChannelMapTests.testPlaneLookupsOffline(), geo::GeometryTest.testUniqueId(), DAQChannelMapTests.testViewLookups(), DAQChannelMapTests.testViewLookupsOffline(), slid::NuEEnergyAlg.VertexEnergy(), dt::View.View(), calib::AttenuationFit.writeResults(), rect.xmax(), photrans::BrightnessLevel.~BrightnessLevel(), and jmshower::JMShower.~JMShower().

string getBrightness.fInName = "fdBrightness.root"

Definition at line 24 of file getBrightness.py.

getBrightness.ibin = bmap.GetBinContent(plane+1, cell+1)

Definition at line 35 of file getBrightness.py.

getBrightness.infile = ROOT.TFile(fInName, "READ")

Definition at line 30 of file getBrightness.py.

getBrightness.int

Definition at line 11 of file getBrightness.py.

getBrightness.parser = argparse.ArgumentParser(description='Process fiber brightness files')

Definition at line 8 of file getBrightness.py.

getBrightness.plane = args.plane_number

Definition at line 28 of file getBrightness.py.

getBrightness.required

Definition at line 11 of file getBrightness.py.

getBrightness.type

Definition at line 11 of file getBrightness.py.