Functions | Variables
checkMeasured_Target.C File Reference

Go to the source code of this file.

Functions

TFile fxv ("mX.root")
 
TFile fxz ("mXz.root")
 
TFile fyv ("mY.root")
 
TFile fyz ("mYz.root")
 
 while (!feof(fp))
 
TH2D correl_xv ("correl_xv",";target x-shift (x-view);measured x-shift (x-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
 
TH2D correl_xz ("correl_xz",";target z-shift (x-view);measured z-shift (x-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
 
TH2D correl_yv ("correl_yv",";target y-shift (y-view);measured y-shift (y-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
 
TH2D correl_yz ("correl_yz",";target z-shift (y-view);measured z-shift (y-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
 
correl_xv SetStats (0)
 
correl_xv GetYaxis () -> SetDecimals()
 
correl_xv GetXaxis () -> SetDecimals()
 
 for (Int_t iP=1;iP<=hxz->GetNbinsX();iP++)
 
cout<< "--"<< endl;for(Int_t iP=1;iP<=hyz->GetNbinsX();iP++){for(Int_t iC=1;iC<=hyz->GetNbinsY();iC++){if(hyv->GetBinContent(iP, iC)>-999){goal_hyv-> SetBinContent (iP, iC,-(dy[iP-1][iC-1]))
 
correl_yv Fill (-(dy[iP-1][iC-1]), hyv->GetBinContent(iP, iC))
 
correl_yz Fill (-(dz[iP-1][iC-1]), hyz->GetBinContent(iP, iC))
 
 if (dump)
 
goal_hyz SetBinContent (iP, iC, 1)
 
ratio_hxv Divide (hxv, goal_hxv)
 
ratio_hxz Divide (hxz, goal_hxz)
 
ratio_hyv Divide (hyv, goal_hyv)
 
ratio_hyz Divide (hyz, goal_hyz)
 
ratio_hxv GetZaxis () -> SetRangeUser(0, 2)
 
 if (print)
 

Variables

bool print = 1
 
TH2D * hxv = (TH2D*)((TCanvas*)fxv.Get("mX" ))->GetListOfPrimitives()->At(1)
 
TH2D * hxz = (TH2D*)((TCanvas*)fxz.Get("mXz"))->GetListOfPrimitives()->At(1)
 
TH2D * hyv = (TH2D*)((TCanvas*)fyv.Get("mY" ))->GetListOfPrimitives()->At(1)
 
TH2D * hyz = (TH2D*)((TCanvas*)fyz.Get("mYz"))->GetListOfPrimitives()->At(1)
 
const int NP = 250
 
const int NC = 100
 
double dx [NP][NC]
 
double dy [NP][NC]
 
double dz [NP][NC]
 
FILE * fp = fopen("/nova/app/users/gsdavies/art/align/Geometry/test/randShifts.txt","r")
 
TH2D * goal_hxv = (TH2D*)hxv->Clone("goal_hxv")
 
TH2D * goal_hxz = (TH2D*)hxz->Clone("goal_hxz")
 
TH2D * goal_hyv = (TH2D*)hyv->Clone("goal_hyv")
 
TH2D * goal_hyz = (TH2D*)hyz->Clone("goal_hyz")
 
TH2D * ratio_hxv = (TH2D*)hxv->Clone("ratio_hxv")
 
TH2D * ratio_hxz = (TH2D*)hxz->Clone("ratio_hxz")
 
TH2D * ratio_hyv = (TH2D*)hyv->Clone("ratio_hyv")
 
TH2D * ratio_hyz = (TH2D*)hyz->Clone("ratio_hyz")
 
 else
 
TCanvas * canv = new TCanvas("c","c",500,500)
 

Function Documentation

TH2D correl_xv ( "correl_xv"  ,
";target x-shift (x-view);measured x-shift (x-view)"  ,
100  ,
-2.  0,
2.  0,
100  ,
-2.  0,
2.  0 
)

Referenced by for(), and if().

TH2D correl_xz ( "correl_xz"  ,
";target z-shift (x-view);measured z-shift (x-view)"  ,
100  ,
-2.  0,
2.  0,
100  ,
-2.  0,
2.  0 
)

Referenced by for(), and if().

TH2D correl_yv ( "correl_yv"  ,
";target y-shift (y-view);measured y-shift (y-view)"  ,
100  ,
-2.  0,
2.  0,
100  ,
-2.  0,
2.  0 
)

Referenced by for(), and if().

TH2D correl_yz ( "correl_yz"  ,
";target z-shift (y-view);measured z-shift (y-view)"  ,
100  ,
-2.  0,
2.  0,
100  ,
-2.  0,
2.  0 
)

Referenced by for(), and if().

ratio_hxv Divide ( hxv  ,
goal_hxv   
)
ratio_hxz Divide ( hxz  ,
goal_hxz   
)
ratio_hyv Divide ( hyv  ,
goal_hyv   
)
ratio_hyz Divide ( hyz  ,
goal_hyz   
)
correl_yv Fill ( dy[iP-1][iC-1],
hyv->  GetBinContentiP, iC 
)

Referenced by highe::HighEnergyAna::analyze(), novaddt::SingletonRejectionAna::analyze(), calib::ThresholdAna::analyze(), zcl::SMMTriggerAna::analyze(), dprf::TrackPlots::analyze(), bpfit::BPFdEdxHistoMaker::analyze(), vf::TrackEva::analyze(), tbana::BeamStructureAna::analyze(), ddt::DataSliceEva::analyze(), ddt::SlicerEva::analyze(), ddt::SuperDDTEva::analyze(), comi::FEBFlash::analyze(), dprf::ChannelPlots::beginRun(), tbana::DetectorRateShutOff::EndSpill(), nuray.Nuray::fill(), vdbl.Vdbl::fill(), ancestor.Ancestor::fill(), tgtexit.Tgtexit::fill(), decay.Decay::fill(), trk::CosmicTrackAna::FilldEdxHistogram(), calib::StopperThreshold::FillHist(), calib::CosmicTrends::FillHistograms(), slidt::FillHists(), calib::MuondEdxAna::fillLowLevel(), std_candles.StdCandlesPlotter::FillMichelEPlots(), FillMyPlots(), trk::CosmicTrackAna::FillRecoInfo(), calib::MuondEdxAna::fillRespVar(), fnex::CovarianceMatrixMaker::FillSpectrum(), cmf::CovarianceMatrixMaker::FillSpectrum(), novaddt::UpMuTestTrigger::filter(), calib::MuondEdxAna::filter(), for(), ana::Hist::GetEigenStan(), om::HitMaps::GetNanoSliceSummary(), om::HitCounts::GetRawEventSummary(), CAFTreeMaker::HandleRecord(), DCS_db_parser::main(), cmf::PlotUtilities::MakeCLHeatMaps(), NuMu2020_MakePIDPlots(), zcl::SMMCluster::produce(), fnex::CompareFNEXCAFEventListFiles::ReadCAFDataTextFile(), fnex::CompareFNEXCAFEventListFiles::ReadCAFMCTextFile(), fnex::CalibSystHistMaker::ReadEventListTree(), evgen::IsoGen::Sample(), and ana::BayesianMarginal::ToHistogram().

correl_yz Fill ( dz[iP-1][iC-1],
hyz->  GetBinContentiP, iC 
)
for ( Int_t  iP = 1; iP<=hxz->GetNbinsX(); iP++)

Definition at line 65 of file checkMeasured_Target.C.

References correl_xv(), correl_xz(), correl_yv(), correl_yz(), om::cout, and allTimeWatchdog::endl.

65  {
66  for (Int_t iC = 1; iC<=hxz->GetNbinsY(); iC++) {
67 
68  if (hxv->GetBinContent(iP,iC)>-999) {
69 
70  //int entries = ((TH1D*)fall.Get(Form("alignment/residualmcZ_%03d_%03d",iP,iC)))->GetEntries();
71  //double rmsv = ((TH1D*)fall.Get(Form("alignment/residualmcV_%03d_%03d",iP,iC)))->GetRMS();
72  //double rmsz = ((TH1D*)fall.Get(Form("alignment/residualmcZ_%03d_%03d",iP,iC)))->GetRMS();
73 
74  goal_hxv->SetBinContent(iP,iC,-(dx[iP-1][iC-1])); // subtracting the mean here, and flipping signs
75  goal_hxz->SetBinContent(iP,iC,-(dz[iP-1][iC-1])); // subtracting the mean here, and flipping signs
76  correl_xv->Fill(-(dx[iP-1][iC-1]),hxv->GetBinContent(iP,iC));
77  correl_xz->Fill(-(dz[iP-1][iC-1]),hxz->GetBinContent(iP,iC));
78 
79  if (dump) {
80  if(hxv->GetBinContent(iP,iC)==-10.25 || hyz->GetBinContent(iP,iC)==-10.25){
81  cout << "XXX " << iP-1 << " " << iC-1 << " " <<
82  dx[iP-1][iC-1] + 0 << " " <<
83  dy[iP-1][iC-1] << " " <<
84  dz[iP-1][iC-1] + 0 << endl;
85  }
86  else{
87  cout << "XXX " << iP-1 << " " << iC-1 << " " <<
88  dx[iP-1][iC-1] + hxv->GetBinContent(iP,iC) << " " <<
89  dy[iP-1][iC-1] << " " <<
90  dz[iP-1][iC-1] + hxz->GetBinContent(iP,iC) << endl;
91  }
92  }
93  }
94  else {
95  goal_hxv->SetBinContent(iP,iC,1);
96  goal_hxz->SetBinContent(iP,iC,1);
97  }
98 
99  }
100  }
TH2D * goal_hxz
TH2D * goal_hxv
TH2D correl_xv("correl_xv",";target x-shift (x-view);measured x-shift (x-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
TH2D * hxv
TH2D correl_xz("correl_xz",";target z-shift (x-view);measured z-shift (x-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
double dy[NP][NC]
double dx[NP][NC]
double dz[NP][NC]
TH2D * hyz
OStream cout
Definition: OStream.cxx:6
TH2D * hxz
TFile fxv ( "mX.root"  )
TFile fxz ( "mXz.root"  )
TFile fyv ( "mY.root"  )
TFile fyz ( "mYz.root"  )
a4 GetXaxis ( ) -> SetDecimals()

Definition at line 84 of file plot_lowE_sig_spread_genie.C.

Referenced by fnex::BeamSyst::CalcBeamSystWeights(), fnex::CalibSyst::CalcCalibSystWeights(), fnex::GeniePCASyst::CalcGeniePCASystWeights(), calculateWrongSignNumuQ1(), calculateWrongSignNumuQ2(), calculateWrongSignNumuQ3(), calculateWrongSignNumuQ4(), nueccinc_test::NueCCIncGlobalFitter::CheckSystsSize(), corrected_PE(), d4sigma_plot(), om::PlotClickHandler::DecodeClick(), ana::nueccinc::NueCCIncTemplateFitter::doFullFit(), evd::TQPad::Draw(), generic.tools.ImageMaker.ImageMaker::draw(), fnex::CorrectedSpectrum::DrawDataVsMC(), DrawFrame(), ana::CovMxSurface::DrawSurfacePoint(), energyResolution(), extract_hadnucleus_xsec(), FD_Data_PosComp(), FOMCalc(), ana::NumuCCIncPionTemplateFitter::getCorrelationMatrixTemplateBins(), ana::nueccinc::NueCCIncTemplateFitter::getCorrelationMatrixTemplateBins(), ana::NumuCCIncPionTemplateFitter::getCovarianceMatrixTemplateBins(), ana::nueccinc::NueCCIncTemplateFitter::getCovarianceMatrixTemplateBins(), GetHistVectors(), GetSpectToHist(), fnex::CorrectedSpectrum::GetStacksCanvasCopy(), main(), MakeCanvas(), MakeCanvasForData(), MakeCanvasForSim(), MakeCSV(), MakeNuEnergyPlots(), MakeOverlayCanvas(), MakePlots(), MakeSplitCans(), NewNearlinePlots(), nue_parameters_vs_fit_iteration(), fnex::ShifterAndWeighter::NueExtrapSig2017Weight(), nuint09_1pi3(), nuint09_coh3(), nuint09_qel4(), nuint09_qel5(), overlayFBplots(), SupernovaUtilities::ParameterisedDataToHistograms(), plot_datapredictions(), plot_predictions(), plot_quantile_boundaries_2020(), plot_rationoosc(), Plotting_DataAndPrediction(), PositionComparison(), RebinGenerators(), SetBin(), SetRange(), ana::NueExtrapSystSignalKin2017::Shift(), ana::NuWROSyst::Shift(), starPlot(), thresholdshadowing(), uncorrected_PE(), evd::THUnZoomable::UnZoom(), xsec_tot_uncert_optimization(), and xsec_uncertainty_per_bin().

84 {#nu} (GeV)");
a4 GetYaxis ( ) -> SetDecimals()
histter GetZaxis ( ) -> SetRangeUser(0, 2)

Referenced by d4sigma_plot().

if ( dump  )

Definition at line 110 of file checkMeasured_Target.C.

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

Referenced by python::_run_abort(), python3::_run_abort(), dprf::TrackPlots::analyze(), calib::DriftCorrection::beginRun(), validation::NoiseClusterAnalysis::beginSubRun(), ana::calcFirstLastLivePlane(), emcalculator::CalculateDEDX(), emcalculator::CalculatePhotonCrossSection(), NovaGridUtils::check_tag(), checkCalibrationCSV.NovaCalibTest::checkAbsFilesForTrailingCommas(), checkCalibrationCSV.NovaCalibTest::checkAttenFilesForTrailingCommas(), checkCalibrationCSV.NovaCalibTest::checkRunCoverage(), cheat::CheckBackTracking::CheckTrackIdToParticle(), ana::constructCVNPng3dVar(), rsim::ReadoutSim::CreateRawDigits(), datamc_ND_numu_kinematics(), datamc_ND_numu_kinematics_REW(), Exposure(), mjf_common::fcl_loop(), caf::FillDiFShowerVars(), caf::FillDiFVars(), caf::FillProngVars(), caf::FillShowerVars(), caf::CAFMaker::FillSpillVars(), fetchNoiseMap::get_metadata(), checkCalibrationCSV.NovaCalibTest::getAbsFileForThisRun(), checkCalibrationCSV.NovaCalibTest::getAttenFileForThisRun(), jw::GetCutIsFitMEC(), ana::GetCutIsFitMEC(), PandAna.core.filesource.samprojectsource::getnextfile(), ana::MultiHistContainer::Hist(), ana::initNumuHadE2018Var(), ana::initNumuHadE2020Var(), ana::initNumuMuE2018NDpXVar(), ana::initNumuMuE2018Var(), ana::initNumuMuE2020NDpXVar(), ana::initNumuMuE2020Var(), ana::kNue2017BasicPartFunc(), LoadWeightsTunedNumuMEC(), jw::LoadWeightsTunedNumuMEC(), checkCalibrationCSV::main(), EmPlot::make_plot(), genie::flux::GNuMIFluxPassThroughInfo::MakeCopy(), runNovaSAM::makeDeCAF(), runNovaSAM::makeMetadataJSONs(), MakePPFXRatios(), MakeSystRatios(), mre_blessed(), neutronE_macro(), ana::NueRecoE_2018FHCFit(), ana::NueRecoE_2020FHCFit(), NuMu2020_TrimCAFs(), ana::NotContainFxn::operator()(), evd::PlotView::Parse(), checkCalibrationCSV.NovaCalibTest::parseRunString(), TierConfigurations::parseTierConfiguration(), EmPlot::plot_range(), ppfx_make_systs(), ppfx_smooth_weights_save(), ana::predict_special_nd_had_energy(), cmf::EventListManipulator::PrintExposureSummary(), demo.ScoreSD::ProcessHits(), filter::TruthFilter::produce(), caf::CAFMaker::produce(), PlotUtilityNew::pull_NormData(), resolution_event_tree(), APDHVSetting::settings(), APDHVSetting_M150::settings(), NDAPDHVSetting::settings(), ana::NeutronVisEScaleSyst2018::Shift(), SystsPPFXLoad17(), ana::TAHadEND(), TrimCAFs(), dq::DAQEventUnpack::UnpackNanoSlice(), and root_test.MySteppingAction::UserSteppingAction().

110  {
111  if(hyv->GetBinContent(iP,iC)==-10.25 || hyz->GetBinContent(iP,iC)==-10.25){
112  cout << "YYY " << iP-1 << " " << iC-1 << " " <<
113  dx[iP-1][iC-1] << " " <<
114  dy[iP-1][iC-1] + 0 << " " <<
115  dz[iP-1][iC-1] + 0 << endl;
116  }
117  else {
118  cout << "YYY " << iP-1 << " " << iC-1 << " " <<
119  dx[iP-1][iC-1] << " " <<
120  dy[iP-1][iC-1] + hyv->GetBinContent(iP,iC) << " " <<
121  dz[iP-1][iC-1] + hyz->GetBinContent(iP,iC) << endl;
122  }
123  }
double dy[NP][NC]
double dx[NP][NC]
double dz[NP][NC]
TH2D * hyz
OStream cout
Definition: OStream.cxx:6
TH2D * hyv
if ( print  )

Definition at line 144 of file checkMeasured_Target.C.

References correl_xv(), correl_xz(), correl_yv(), and correl_yz().

144  {
145  correl_xv.Draw("zcol");
146  canv->Print("alignment_correl_xv_rand.png");
147  correl_xz.Draw("zcol");
148  canv->Print("alignment_correl_xz_rand.png");
149  correl_yv.Draw("zcol");
150  canv->Print("alignment_correl_yv_rand.png");
151  correl_yz.Draw("zcol");
152  canv->Print("alignment_correl_yz_rand.png");
153 
154  ratio_hxv.Draw("zcol");
155  canv->Print("alignment_ratio_hxv_rand.png");
156  ratio_hxz.Draw("zcol");
157  canv->Print("alignment_ratio_hxz_rand.png");
158  ratio_hyv.Draw("zcol");
159  canv->Print("alignment_ratio_hyv_rand.png");
160  ratio_hyz.Draw("zcol");
161  canv->Print("alignment_ratio_hyz_rand.png");
162  }
TH2D correl_xv("correl_xv",";target x-shift (x-view);measured x-shift (x-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
TCanvas * canv
TH2D correl_yz("correl_yz",";target z-shift (y-view);measured z-shift (y-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
TH2D correl_xz("correl_xz",";target z-shift (x-view);measured z-shift (x-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
TH2D * ratio_hyz
TH2D * ratio_hxz
TH2D * ratio_hxv
TH2D correl_yv("correl_yv",";target y-shift (y-view);measured y-shift (y-view)", 100,-2.0, 2.0, 100,-2.0, 2.0)
TH2D * ratio_hyv
goal_hyz SetBinContent ( iP  ,
iC  ,
dy[iP-1][iC-1] 
)
goal_hyz SetBinContent ( iP  ,
iC  ,
 
)
correl_yz SetStats ( )

Referenced by SetHistProp().

while ( feoffp)

Definition at line 25 of file checkMeasured_Target.C.

References plot_validation_datamc::c, submit_syst::x, submit_syst::y, and test::z.

Referenced by mcscore.MCVertex::__del__(), Projections::buildPaths(), mcscore::test(), and mcscorerootio::test_t2root().

25  {
26  int p;
27  int c;
28  double x, y, z;
29  fscanf(fp,"%d %d %lf %lf %lf\n",&p,&c,&x,&y,&z);
30  dx[p][c] = x;
31  dy[p][c] = y;
32  dz[p][c] = z;
33  }
const char * p
Definition: xmltok.h:285
double dy[NP][NC]
double dx[NP][NC]
double dz[NP][NC]
z
Definition: test.py:28
FILE * fp

Variable Documentation

TCanvas* canv = new TCanvas("c","c",500,500)
double dx[NP][NC]

Definition at line 18 of file checkMeasured_Target.C.

Referenced by ana::KrigeKernel::AddPoint(), mmc::Validation::analyze(), bpfit::BPFdEdxHistoMaker::analyze(), calib::HitEfficiency::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), bpfit::BPFTmvaTrainer::analyze(), LightLevels::analyze(), genie::utils::math::AreEqual(), ana::best_spline_find_mode(), calib::BestPathEstimates(), fuzz::ViewMatchAlg::CalcEnergyProfile(), nerd::ViewMatchAlg::CalcEnergyProfile(), novaddt::smt::Track::calculate_distance(), mono::Track::calculate_distance(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), trk::KalmanTrackMerge::CanJoinTracks(), geo::GeometryBase::ClosestApproach(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::DISKinematicsGenerator::ComputeMaxXSec(), genie::SKKinematicsGenerator::ComputeMaxXSec(), genie::DMDISKinematicsGenerator::ComputeMaxXSec(), ana::MichelDecomp::ComputeScaleFactor(), trk::RLFit::CosThetaBeam(), trk::RLFit::CosThetaCosmic(), zcl::SPCluster::Dist(), zcl::SMMTriggerAna::Dist(), fuzz::FuzzyKMeanAlg::Distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), g4n::RockCutterAction::Distance_Wall(), red::EWCosmics::distToBorder(), geo::DistToEdge(), evd::RawDataDrawer::Draw3DHitBoxes(), evd::GeometryDrawer::DrawHighlightCell(), evd::RecoBaseDrawer::DrawProng2D(), evd::RecoBaseDrawer::DrawProng3D(), dsqrtoline(), ana::ICrossSectionAnalysis::DXDY(), ana::ICrossSectionAnalysis::DXDYDZ(), calib::EnergyLossVsDistance::EnergyLossVsDistance(), trk::CosmicTrackAna::FilldEdxHistogram(), calib::StopperThreshold::FillHist(), bpfit::BreakPoint::FillTrackNt(), calib::StopperThreshold::FillTree(), filter::Filter::FillTruthVariables(), calib::FindBelowThresholdCalibCandidates(), bpfit::BreakPoint::FindEndPoints(), earms::ElasticArmsHS::FindSeed(), fit_thresh_corrs(), fit_thresh_corrs_fb(), bpfit::BreakPoint::FitTracks(), bpfit::DimuonFitter::FitView(), bpfit::ScatteringSurfaces::ForceOnePlane(), genie::Spline::GetAsTGraph(), geo::GetAvgPath2D(), GetCrossSection(), nuesand::FillNueSandbox::GetdEdx(), evgen::CORSIKAGen::GetSample(), genie::flux::GMonoEnergeticFlux::Index(), geo::InitializePathTable(), bpfit::Path::IntegrateT(), osc::EarthModel::IntersectLineAndCircle(), trk::CosmicTrackSelection::IsCalibTrack(), geo::GeometryBase::isDetectorBigBoxUsed(), calib::PCHitsList::IsGoodTrack(), evgen::CORSIKAGen::isIntersectTheBox(), evgen::CosmicsGen::isIntersectTheBox(), photrans::line_efficiency(), geo::LineIntersection(), util::LinFitTS(), LOverEFlux(), main(), bpfit::BreakPoint::MakeBasis(), bpfit::ScatteringSurfaces::MakeStep(), bpfit::ScatteringSurfaces::MakeSteps(), genie::geometry::GeomVolSelectorFiducial::MakeZPolygon(), novaddt::NuMuTrigger::n3DCellsToEdge(), TMVA::TMVAGlob::NormalizeHist(), TMVA::TMVAGlob::NormalizeHists(), HepGeom::BasicVector3D< float >::orthogonal(), trk::RLFit::PhiBeam(), trk::RLFit::PhiCosmic(), mmc::Validation::print_truth_info(), mono::SlowMonopoleAna::print_truth_info(), genie::EffectiveSF::Prob(), genie::LocalFGM::Prob(), genie::FGMBodekRitchie::Prob(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), trackinfo::TrackInfo::produce(), earms::ElasticArmsHS::produce(), bpfit::BPFEnergyEstimator::produce(), bpfit::BPFPIdMaker::produce(), ifdb::MIN::produce(), evgen::CosmicsGen::ProjectToBox(), geo::ProjectToBoxEdge(), evgb::CRYHelper::ProjectToBoxEdge(), evgen::CORSIKAGen::ProjectToBoxEdge(), test_mc_rejection_method_lin(), geo::PlaneGeo::View(), and ana::XAxisDeltaCPLabels().

double dy[NP][NC]

Definition at line 19 of file checkMeasured_Target.C.

Referenced by ana::KrigeKernel::AddPoint(), calib::HitEfficiency::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), LightLevels::analyze(), calib::BestPathEstimates(), fuzz::ViewMatchAlg::CalcEnergyProfile(), nerd::ViewMatchAlg::CalcEnergyProfile(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), trk::KalmanTrackMerge::CanJoinTracks(), geo::GeometryBase::ClosestApproach(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::NuEKinematicsGenerator::ComputeMaxXSec(), genie::DISKinematicsGenerator::ComputeMaxXSec(), genie::DMDISKinematicsGenerator::ComputeMaxXSec(), trk::RLFit::CosThetaBeam(), trk::RLFit::CosThetaCosmic(), zcl::SPCluster::Dist(), zcl::SMMTriggerAna::Dist(), zcl::FmmTrackerValidation::dist2(), zcl::FmmTrackerAna::dist2(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), g4n::RockCutterAction::Distance_Wall(), red::EWCosmics::distToBorder(), geo::DistToEdge(), evd::RawDataDrawer::Draw3DHitBoxes(), evd::GeometryDrawer::DrawHighlightCell(), drawIntensityEffect_2019(), drawLongTerm(), drawLongTerm_2019(), evd::RecoBaseDrawer::DrawProng2D(), evd::RecoBaseDrawer::DrawProng3D(), drawVsPOT(), dsqrtoline(), ana::ICrossSectionAnalysis::DXDY(), ana::ICrossSectionAnalysis::DXDYDZ(), calib::StopperThreshold::FillHist(), hv::HoughVertexAlg::FillMaps(), bpfit::BreakPoint::FillTrackNt(), calib::StopperThreshold::FillTree(), filter::Filter::FillTruthVariables(), calib::FindBelowThresholdCalibCandidates(), bpfit::BreakPoint::FindEndPoints(), earms::ElasticArmsHS::FindSeed(), fit_thresh_corrs(), fit_thresh_corrs_fb(), bpfit::BreakPoint::FitTracks(), GetCrossSection(), genie::flux::GMonoEnergeticFlux::Index(), geo::InitializePathTable(), osc::EarthModel::IntersectLineAndCircle(), trk::CosmicTrackSelection::IsCalibTrack(), geo::GeometryBase::isDetectorBigBoxUsed(), calib::PCHitsList::IsGoodTrack(), evgen::CORSIKAGen::isIntersectTheBox(), evgen::CosmicsGen::isIntersectTheBox(), photrans::line_efficiency(), geo::LineIntersection(), util::LinFitTS(), LOverEFlux(), main(), make1DsAndRatio(), bpfit::BreakPoint::MakeBasis(), genie::geometry::GeomVolSelectorFiducial::MakeZPolygon(), novaddt::NuMuTrigger::n3DCellsToEdge(), HepGeom::BasicVector3D< float >::orthogonal(), trk::RLFit::PhiBeam(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), earms::ElasticArmsHS::produce(), ifdb::MIN::produce(), evgen::CosmicsGen::ProjectToBox(), geo::ProjectToBoxEdge(), evgb::CRYHelper::ProjectToBoxEdge(), evgen::CORSIKAGen::ProjectToBoxEdge(), and geo::PlaneGeo::View().

double dz[NP][NC]

Definition at line 20 of file checkMeasured_Target.C.

Referenced by calib::HitEfficiency::analyze(), remid::ReMIdDedxRock::analyze(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), LightLevels::analyze(), evd::TZProjPad::AutoZoomHelper(), calib::BestPathEstimates(), trk::KalmanGeoHelper::BestTrackPoint(), novaddt::smt::Track::calculate_distance(), mono::Track::calculate_distance(), evd::RecoBaseDrawer::CellHit2D(), dt::Chunk::CellPoints(), geo::GeometryBase::ClosestApproach(), trk::RLFit::CosThetaBeam(), trk::RLFit::CosThetaCosmic(), geo::GeometryBase::CountCellsOnLineFast(), trk::KalmanGeoHelper::CountMissedCellsOnLine(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), g4n::RockCutterAction::Distance_Wall(), red::EWCosmics::distToBorder(), geo::DistToEdge(), evd::RawDataDrawer::Draw3DHitBoxes(), evd::RecoBaseDrawer::DrawProng2D(), evd::RecoBaseDrawer::DrawProng3D(), ana::ICrossSectionAnalysis::DXDYDZ(), calib::StopperThreshold::FillHist(), bpfit::BreakPoint::FillTrackNt(), calib::StopperThreshold::FillTree(), filter::Filter::FillTruthVariables(), calib::FindBelowThresholdCalibCandidates(), bpfit::BreakPoint::FindEndPoints(), bpfit::BreakPoint::FitTracks(), evd::RecoBaseDrawer::GetClusterOutlinesConvexHull(), gsDefaultInterp(), dt::Chunk::HitsOnLine(), genie::flux::GMonoEnergeticFlux::Index(), trk::CosmicTrackSelection::IsCalibTrack(), calib::PCHitsList::IsGoodTrack(), evgen::CORSIKAGen::isIntersectTheBox(), evgen::CosmicsGen::isIntersectTheBox(), LOverEFlux(), bpfit::BreakPoint::MakeBasis(), trk::WindowTrackingAlg::MakeViewTrack(), dt::Cand::MinMaxLines(), novaddt::NuMuTrigger::n3DCellsToEdge(), dt::Chunk::operator<(), HepGeom::BasicVector3D< float >::orthogonal(), trk::RLFit::PhiCosmic(), hv::HoughVertex::produce(), trk::KalmanTrack::produce(), trk::KalmanTrackMerge::produce(), earms::ElasticArmsHS::produce(), remid::RecoMuon::produce(), evgen::CosmicsGen::ProjectToBox(), geo::ProjectToBoxEdge(), evgb::CRYHelper::ProjectToBoxEdge(), evgen::CORSIKAGen::ProjectToBoxEdge(), rb::Prong::Prong(), evd::RawDataDrawer::RawDigit2D(), dt::ViewMerger::TotalChargePerView(), dt::Chain::ToTrack(), rb::Track::Track(), geo::PlaneGeo::View(), and rb::WeightedProng::WeightedProng().

else
Initial value:
{
goal_hyv->SetBinContent(iP,iC,1)
TH2D * goal_hyv

Definition at line 125 of file checkMeasured_Target.C.

FILE* fp = fopen("/nova/app/users/gsdavies/art/align/Geometry/test/randShifts.txt","r")
TH2D* goal_hxv = (TH2D*)hxv->Clone("goal_hxv")

Definition at line 35 of file checkMeasured_Target.C.

TH2D* goal_hxz = (TH2D*)hxz->Clone("goal_hxz")

Definition at line 36 of file checkMeasured_Target.C.

TH2D* goal_hyv = (TH2D*)hyv->Clone("goal_hyv")

Definition at line 37 of file checkMeasured_Target.C.

TH2D* goal_hyz = (TH2D*)hyz->Clone("goal_hyz")

Definition at line 38 of file checkMeasured_Target.C.

TH2D* hxv = (TH2D*)((TCanvas*)fxv.Get("mX" ))->GetListOfPrimitives()->At(1)

Definition at line 11 of file checkMeasured_Target.C.

TH2D* hxz = (TH2D*)((TCanvas*)fxz.Get("mXz"))->GetListOfPrimitives()->At(1)

Definition at line 12 of file checkMeasured_Target.C.

TH2D* hyv = (TH2D*)((TCanvas*)fyv.Get("mY" ))->GetListOfPrimitives()->At(1)

Definition at line 13 of file checkMeasured_Target.C.

TH2D* hyz = (TH2D*)((TCanvas*)fyz.Get("mYz"))->GetListOfPrimitives()->At(1)

Definition at line 14 of file checkMeasured_Target.C.

const int NC = 100

Definition at line 17 of file checkMeasured_Target.C.

Referenced by fcn().

const int NP = 250

Definition at line 16 of file checkMeasured_Target.C.

bool print = 1

Definition at line 4 of file checkMeasured_Target.C.

Referenced by run_unfold_ppfx_multiprocess.Task::__call__(), run_unfold_systs_multiprocess.Task::__call__(), run_unfold_genie_multiprocess.Task::__call__(), mcscore.MCVertex::__del__(), run_unfold_genie_multiprocess.Task::__str__(), python3::_list_material(), python3::_run_abort(), g4zmq::apply(), test.MyRunAction::BeginOfRunAction(), gen_flatrecord::branch_cmd_no_policy(), g4zmq::cd(), checkCalibrationCSV.NovaCalibTest::checkAbsFilesForTrailingCommas(), checkCalibrationCSV.NovaCalibTest::checkAttenFilesForTrailingCommas(), run_hadd::checkFileCount(), checkCalibrationCSV.NovaCalibTest::checkForTrailingCommas(), checkCalibrationCSV.NovaCalibTest::checkRunCoverage(), ExN03.App::cmd_beamOn(), ExN03.App::cmd_setProcess(), test::ConstructGeom(), Lesson1::ConstructGeom(), g4zmq::cwd(), mjf_common::dataset_defs(), g4zmq::debug(), bump_copyright::do_the_subs(), mjf_common::dropbox_move(), test::DumpTree(), fabricate.Builder::echo(), fabricate.Builder::echo_debug(), test.MyRunAction::EndOfRunAction(), mjf_common::environment_vars(), PandAna.core.filesource.samprojectsource::establishProcess(), PandAna.reco_validation.prod5_pid_validation::event_count_report(), g4zmq::exit(), mjf_common::fcl_loop(), PandAna.core.core.filledSpectrum::fill(), PlotUtilityNew::find_files(), art::Suffixes::get(), PandAna.reco_validation.plot_pid_data_mc_cvn2020::get_all_files(), PandAna.reco_validation.prod5_pid_validation_data_mc::get_files_nd(), fetchNoiseMap::get_metadata(), checkCalibrationCSV.NovaCalibTest::getAbsFiles(), checkCalibrationCSV.NovaCalibTest::getAttenFiles(), GetFEBsFromWatchList::getRecentFilesList(), g4zmq::getvalue(), daqdataformats::VERSION_NAMESPACE::RawNanoSlice::getWordPointer(), PandAna.core.core.loader::Go(), PandAna.core.core.associate::Go(), g4zmq::help(), g4zmq::history(), daqdataformats::VERSION_NAMESPACE::RawMicroBlock::init(), daqdataformats::RawDAQData::init(), PandAna.core.core.interactive_loader::keys(), g4zmq::lc(), g4zmq::ls(), PandAna.utils.sadd_pandana::main(), main(), GetSpillData::main(), NNoiseSliceHitPerSRStudy::main(), OnMonTriggerRateStudy::main(), garching_flux_to_genie_root::main(), PandAna.reco_validation.plot_pid_data_mc::main(), PandAna.reco_validation.plot_pid_data_mc_cvn2020::main(), GetFEBsFromWatchList::main(), checkCalibrationCSV::main(), PandAna.reco_validation.prod5_pid_validation::main(), fabricate::main(), run_unfold_genie_multiprocess::make_cmd(), PlotDataQA::MakePlots(), multihough_production_validation(), rootlogon::novaplotstyle(), soup::old_soup_composition(), PandAna.reco_validation.prod5_pid_validation_data_mc::plot_data_mc(), PandAna.reco_validation.prod5_pid_validation::plot_ratio(), util::print_composition(), python3::print_version(), fabricate::printerr(), mcscore.MCParticle::printout(), mcscore.MCVertex::printout(), checkCalibrationCSV.NovaCalibTest::printSummary(), plot_xsec_2d::process_focusing(), PandAna.core.filesource.samprojectsource::processStats(), PandAna.reco_validation.prod5_pid_validation_data_mc::prod5_pid_data_mc(), PlotUtilityNew::pull_data(), PlotUtilityNew::pull_MultiData(), PlotUtilityNew::pull_NormData(), g4zmq::pwd(), soup::radlength(), mjf_common::random_subruns(), PandAna.core.core.loader::readData(), regression::regression(), run_unfold_ppfx_multiprocess.Consumer::run(), run_unfold_systs_multiprocess.Consumer::run(), run_unfold_genie_multiprocess.Consumer::run(), run_unfold_ppfx_multiprocess::RunMultiProcess(), run_unfold_systs_multiprocess::RunMultiProcess(), run_unfold_genie_multiprocess::RunMultiProcess(), spectra_to_pyobj::save_spectra(), PandAna.core.core::save_spectra(), DeclareReco::showHelp(), daqdataformats::VERSION_NAMESPACE::RawNanoSlice::sizeofdata(), slicer_production_validation(), soup::soup_composition(), PandAna.utils.misc::StopAllUserProjects(), soup::totalstoppingpower(), pvc::totalstopppingpower(), make_training::train_model(), checkCalibrationCSV::usage(), gen_hdf5record::variables_inc_bases(), and gen_hdf5record::write_hd5record_h().

TH2D* ratio_hxv = (TH2D*)hxv->Clone("ratio_hxv")

Definition at line 40 of file checkMeasured_Target.C.

TH2D* ratio_hxz = (TH2D*)hxz->Clone("ratio_hxz")

Definition at line 41 of file checkMeasured_Target.C.

TH2D* ratio_hyv = (TH2D*)hyv->Clone("ratio_hyv")

Definition at line 42 of file checkMeasured_Target.C.

TH2D* ratio_hyz = (TH2D*)hyz->Clone("ratio_hyz")

Definition at line 43 of file checkMeasured_Target.C.