Functions | Variables
plot.C File Reference

Go to the source code of this file.

Functions

gStyle SetPalette (1)
 
gROOT SetStyle ("Plain")
 
gStyle SetOptStat (000000)
 
c1 Divide (1, 1)
 
 while (1)
 
 fclose (fp)
 
c1 cd (1)
 
gPad SetLogx ()
 
gPad SetLogy ()
 
h2 Draw ()
 
ntuple SetMarkerStyle (20)
 
ntuple SetMarkerSize (1.)
 
ntuple Draw ("w:E","","LPsame")
 
h2 GetXaxis () -> SetLabelSize(0.025)
 
h2 GetYaxis () -> SetLabelSize(0.025)
 

Variables

 c1 = new TCanvas ("c1","",60,60,800,800)
 
FILE * fp = fopen("wvalue.txt","r")
 
Float_t E
 
Float_t nbioni
 
Float_t snbioni
 
Float_t w
 
Float_t sw
 
Int_t ncols = 0
 
Int_t nlines = 0
 
TNtuple * ntuple = new TNtuple("ntuple","w","E:nbioni:snbioni:w:sw")
 
TH2F * h2 = new TH2F ("h2","",2,9.99,1e3,2,9.99,1e3)
 

Function Documentation

c1 cd ( )
c1 Divide ( ,
 
)
h2 Draw ( )
ntuple Draw ( "w:E"  ,
""  ,
"LPsame"   
)
fclose ( fp  )
h2 GetXaxis ( ) -> SetLabelSize(0.025)

Definition at line 84 of file plot_lowE_sig_spread_genie.C.

84 {#nu} (GeV)");
h2 GetYaxis ( ) -> SetLabelSize(0.025)
gPad SetLogx ( )
gPad SetLogy ( )
ntuple SetMarkerSize ( 1.  )
ntuple SetMarkerStyle ( 20  )
gStyle SetOptStat ( 000000  )
gStyle SetPalette ( )
gROOT SetStyle ( "Plain"  )
while ( )

Definition at line 25 of file plot.C.

References c1, and fclose().

26 {
27  ncols = fscanf(fp,"%f %f %f %f %f",&E,&nbioni,&snbioni,&w,&sw);
28  if (ncols < 0) break;
29  ntuple->Fill(E,nbioni,snbioni,w,sw);
30  nlines++;
31 }
Float_t nbioni
Definition: plot.C:20
TNtuple * ntuple
Definition: plot.C:20
Float_t snbioni
Definition: plot.C:20
Float_t E
Definition: plot.C:20
FILE * fp
Definition: plot.C:35
Float_t sw
Definition: plot.C:20
Int_t nlines
Definition: plot.C:52
Float_t w
Definition: plot.C:20
Int_t ncols
Definition: plot.C:53

Variable Documentation

c1 = new TCanvas ("c1","",60,60,800,800)

Definition at line 15 of file plot.C.

Float_t E

Definition at line 20 of file plot.C.

FILE* fp = fopen("wvalue.txt","r")

Definition at line 18 of file plot.C.

TH2F* h2 = new TH2F ("h2","",2,9.99,1e3,2,9.99,1e3)

Definition at line 38 of file plot.C.

Float_t nbioni

Definition at line 20 of file plot.C.

Int_t ncols = 0

Definition at line 21 of file plot.C.

Int_t nlines = 0

Definition at line 22 of file plot.C.

TNtuple* ntuple = new TNtuple("ntuple","w","E:nbioni:snbioni:w:sw")

Definition at line 24 of file plot.C.

Float_t snbioni

Definition at line 20 of file plot.C.

Float_t sw
Float_t w

Definition at line 20 of file plot.C.

Referenced by add_and_normalize_LLhistos(), calib::AttenCurve::AddInterpPoint(), vdt::Segment::AddPoint(), util::HoughCalc::AddPoint(), genie::QELHadronicSystemGenerator::AddRecoilBaryon(), genie::IBDHadronicSystemGenerator::AddRecoilBaryon(), bpfit::TrackBasis::AdjustBasisDir(), mcchk::MonopoleAna::analyze(), bpfit::BPFdEdxHistoMaker::analyze(), calib::HitEfficiency::analyze(), beamlinereco::EventWaveformDump::analyze(), bpfit::BPFTmvaTrainer::analyze(), LightLevels::analyze(), calib::AttenFit::ApplyThresholdCorrection(), calib::AttenuationFit::ApplyThresholdCorrection(), lem::MakePID::AvgAndFit(), avgefficiency(), bpfit::BPFdEdxHistoMaker::beginJob(), calib::MuonTrackHits::beginJob(), art::RootOutput::beginRun(), art::RootOutput::beginSubRun(), cvn::RegCVNImageUtils::BuildImageVectorF(), genie::masterclass::GNuMcMainFrame::BuildMCTruthTab(), bwnorm(), fuzz::ViewMatchAlg::CalcEnergyProfile(), nerd::ViewMatchAlg::CalcEnergyProfile(), trk::KalmanGeoHelper::CalcMissFrac(), beamlinereco::ToFSingleCounterAnalysis::calculateTime(), zcl::SMMCluster::calcW(), zcl::FMMTracker::calcW(), trk::KalmanTrackMerge::CanJoinTracks(), slid::NuEEnergyAlg::CellEDataMC(), jmshower::RecoJMShower::CellEDataMC(), slid::NuEEnergyAlg::CellEnergy(), calib::PCHitsList::CellHitToPCHit(), trk::KalmanTrack::CheckTrack(), keras::LayerDense::compute_output(), fuzz::FuzzyKMeanAlg::ComputeA(), corrected_PE_mean(), ana::TargetCount::CountMass(), stan::math::csr_extract_w(), stan::math::csr_to_dense_matrix(), ana::CVNVetoOverlapWindowCut(), genie::BaryonResonanceDecayer::DecayExclusive(), genie::MECGenerator::DecayNucleonCluster(), trk::WindowTrackingAlg::DetermineInitialDirection(), evd::GeometryDrawer::DetOutline2D(), evd::GeometryDrawer::DetOutline3D(), evdb::DisplayWindow::DisplayWindow(), sn::TrackActivityRemover::DistanceHitToPoint(), sn::SNMichelAnalyzer::DistanceHitToPoint(), sn::TrackActivityRemover::DistanceHitToTrackBody(), art::RootOutput::doRegisterProducts(), evd::HitTower::Draw(), evd::RecoBaseDrawer::DrawTrack2D(), eff_plots(), calib::SystematicUncertaintyScaleAna::endJob(), bpfit::BPFdEdxHistoMaker::endJob(), art::RootOutput::endRun(), art::RootOutput::endSubRun(), tf::HoughScore::Eval(), art::RootOutput::event(), dt::ViewMerger::FakeThirdDimension(), ana::Hist::Fill(), ana::Spectrum::Fill(), bpfit::BreakPoint::FillHitList(), hv::HoughVertexAlg::FillMaps(), calib::CosmicCalib::FillPathLengthInfo(), calib::MakeAttenuationProfiles::FillPathLengthInfo(), caf::FillProngVars(), calhit::CalHitAna::FillTruthInfo(), calib::MuonTrackHits::filter(), novaddt::MichelETrigger::filter(), bpfit::TrackBasis::FindAxis(), fuzz::FuzzyKMeanAlg::FindUnclustered(), fit_thresh_corrs(), fit_thresh_corrs_fb(), trk::CosmicTrackAlg::FitView(), trk::WindowTrackingAlg::FitWindow(), art::RPManager::for_each_RPWorker(), evd::Style::FromPDG(), genie::NucleonDecayPrimaryVtxGenerator::GenerateDecayProducts(), genie::NNBarOscPrimaryVtxGenerator::GenerateDecayProducts(), genie::NucleonDecayPrimaryVtxGenerator::GenerateFermiMomentum(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), ana::GetAsymmErrorBars(), ana::Hist::GetEigenStan(), calib::Calibrator::GetPECorr(), calib::Calibrator::GetTimeStamp(), genie::geometry::ROOTGeomAnalyzer::GetWeight(), calib::GetXYZD(), genie::CharmHadronization::Hadronize(), sn::HighEnergyRemover::HitInTDCVetoWindow(), rb::HitList::HitList(), cheat::BackTracker::HitToXYZ(), daqdataformats::VERSION_NAMESPACE::RawRunHeader::init(), art::RPManager::invoke(), util::ipow(), geo::GeometryBase::isDetectorBigBoxUsed(), genie::FermiMover::KickHitNucleon(), util::LinFitTS(), evdb::ListWindow::ListWindow(), calib::AttenCache::LoadFromDatabase(), lsqr_fprime(), main(), make_aux_win(), make_template(), calib::Calibrator::MakeRecoHit(), trk::WindowTrackingAlg::MakeViewTrack(), hough::Hough2P::Map(), hough::MultiHough2P::Map(), evd::SimulationDrawer::MCTruthTrajectoriesAnyD(), evd::SimulationDrawer::MCTruthVectors3D(), ana::Spectrum::Mean(), calib::AttenCurve::MeanPEPerCmAt(), rb::Cluster::MeanTNS(), fuzz::FuzzyKMeanAlg::MergeClusters(), MinervaFluxFromHist(), MippNA49FluxFromHist(), keras::missing_activation_impl(), mre_blessed(), stan::math::multi_gp_cholesky_log(), stan::math::multi_gp_cholesky_lpdf(), stan::math::multi_gp_log(), stan::math::multi_gp_lpdf(), stan::math::multi_student_t_rng(), neut_code_from_rootracker(), evdb::ListWindow::OpenWindow(), evdb::DisplayWindow::OpenWindow(), evdb::ParameterSetEdit::ParameterSetEdit(), genie::flux::GDk2NuFluxXMLHelper::ParseBeamDir(), genie::flux::GNuMIFluxXMLHelper::ParseBeamDir(), genie::flux::GDk2NuFluxXMLHelper::ParseBeamPos(), genie::flux::GNuMIFluxXMLHelper::ParseBeamPos(), genie::flux::GDk2NuFluxXMLHelper::ParseWindowSeries(), genie::flux::GNuMIFluxXMLHelper::ParseWindowSeries(), genie::KNOHadronization::PhaseSpaceDecay(), genie::utils::intranuke::PhaseSpaceDecay(), genie::utils::intranuke2018::PhaseSpaceDecay(), plot_abstree(), plot_input_data(), plot_timing_resolution(), PlotErrorBand(), ana::PlotErrorBand(), PlotSyst(), PlotSystErrorBand(), PlotSysts(), ana::PlotWithSystErrorBand(), PlotWithSystErrorBand_mine(), ana::PlotWithSystErrorBand_Quant(), ana::PlotWithSystErrorBandTwoPreds(), PlotWithSystErrorBandWidth(), fnex::Correlations::Print(), print_norm(), genie::flux::GDk2NuFlux::PrintConfig(), genie::flux::GNuMIFlux::PrintConfig(), art::Schedule::process(), calib::TimingCalibration::produce(), lem::MakePID::produce(), jmshower::NueSel::produce(), jmshower::NueSelLID::produce(), bpfit::BPFEnergyEstimator::produce(), bpfit::BPFPIdMaker::produce(), util::pythag(), Ratiofit(), art::RootOutput::readResults(), evdb::EventDisplay::reconfigure(), ana::UnfoldTikhonov::RecoTruthPrediction(), cvn::RegCVNImageUtils::ReverseView(), genie::KNOHadronization::ReWeightPt2(), ana::ReweightableSpectrum::ReweightVar(), genie::alvarezruso::integrationtools::RG202D(), genie::alvarezruso::integrationtools::RG482D(), art::detail::rule_size(), RunCalibration(), fuzz::FuzzyKMeanAlg::SeedA(), rb::HitList::SetHit(), bpfit::HitList3D::SetHit(), ana::SpectrumHandler::SetLoader(), genie::geometry::GeomVolSelectorRockBox::SetMinimumWall(), ana::SummedSyst::Shift(), rb::Shower::Shower(), trk::KalmanTrack::SingleSegment(), hough::Hough2P::SmoothMap(), hough::MultiHough2P::SmoothMap(), art::RootOutput::startEndFile(), TEST(), ana::FluxMultiverseSyst::ToAreaNormalizedTH1(), ana::GenieMultiverseSpectra::ToAreaNormalizedTH1(), sn::HighEnergyRemover::TotalTDCVetoed(), sn::HighEnergyRemover::TotalVetoedTDC(), rb::Track::Track(), zcl::FMMTracker::Tracking2D(), lem::dec::Forest::TrainSingleTransformed(), ncid::MakeNCCosRej::TransMomFraction(), ncid::NCNNKeras::TransMomFraction(), cosrej::MakeNueCosRej::TransMomFraction(), ana::Spectrum::Uninitialized(), genie::pathsegutils::Vec3AsString(), slid::NuEEnergyAlg::VertexEnergy(), calib::AttenCurve::WriteToCSVs(), genie::flux::GDk2NuFluxXMLHelper::~GDk2NuFluxXMLHelper(), and genie::NuclearModelI::~NuclearModelI().