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 ("s:E","","LPsame")
 
h2 GetXaxis () -> SetLabelSize(0.025)
 
h2 GetYaxis () -> SetLabelSize(0.025)
 

Variables

 c1 = new TCanvas ("c1","",60,60,800,800)
 
FILE * fp = fopen("s.txt","r")
 
Float_t radius
 
Float_t E
 
Float_t s
 
Float_t ss
 
Int_t ncols = 0
 
Int_t nlines = 0
 
TNtuple * ntuple = new TNtuple("ntuple","s","radius:E:s:ss")
 
TH2F * h2 = new TH2F ("h2","",2,99.999,1e4,2,1e2,1e4)
 

Function Documentation

c1 cd ( )
c1 Divide ( ,
 
)
h2 Draw ( )
ntuple Draw ( "s: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 29 of file plot.C.

References c1, and fclose().

30 {
31  ncols = fscanf(fp,"%f %f %f %f",&radius,&E,&s,&ss);
32  if (ncols < 0) break;
33  ntuple->Fill(radius,E,s,ss);
34  nlines++;
35 }
Float_t ss
Definition: plot.C:24
TNtuple * ntuple
Definition: plot.C:20
const XML_Char * s
Definition: expat.h:262
Float_t E
Definition: plot.C:20
FILE * fp
Definition: plot.C:35
Double_t radius
Definition: plot.C:42
Int_t nlines
Definition: plot.C:52
Int_t ncols
Definition: plot.C:53

Variable Documentation

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

Definition at line 19 of file plot.C.

Float_t E

Definition at line 24 of file plot.C.

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

Definition at line 22 of file plot.C.

TH2F* h2 = new TH2F ("h2","",2,99.999,1e4,2,1e2,1e4)

Definition at line 42 of file plot.C.

Int_t ncols = 0

Definition at line 25 of file plot.C.

Int_t nlines = 0

Definition at line 26 of file plot.C.

TNtuple* ntuple = new TNtuple("ntuple","s","radius:E:s:ss")

Definition at line 28 of file plot.C.

Float_t radius

Definition at line 24 of file plot.C.

Float_t s

Definition at line 24 of file plot.C.

Float_t ss

Definition at line 24 of file plot.C.

Referenced by stan::variational::advi< stan_model, stan::variational::normal_meanfield, rng_t >::adapt_eta(), fnex::EventList::AddSpillSummary(), cmf::EventList::AddSpillSummary(), genie::GRV98LO::AllPDFs(), ncs::GenieTruth::analyze(), stan::math::assign(), fnex::SortEventLists::beginJob(), stan::variational::advi< stan_model, stan::variational::normal_meanfield, rng_t >::calc_ELBO(), stan::variational::normal_meanfield::calc_grad(), stan::variational::normal_fullrank::calc_grad(), stan::lang::compile(), stan::lang::compile_functions(), fnex::EventListManipulator::CreateFarDetCosmicBackgrounds(), stan::math::cvodes_check_flag(), ana::PredictionInterp::DebugPlot(), ana::PredictionInterp::DebugPlotColz(), cmf::EventListManipulator::Deserialize(), fnex::EventListManipulator::DeserializeMC(), fnex::EventListMaker::endJob(), fnex::CAFToEventList::endJob(), cmf::CAFToEventList::endJob(), caf::CAFMaker::endJob(), fnex::EventListManipulator::ExtractEventsFromFile(), cmf::EventListManipulator::ExtractFromFile(), fnex::EventListManipulator::ExtractMetaDataFromFile(), fnex::EventListManipulator::FillFakeDataListsForDetector(), nutools::dbi::Table::Folder(), stan::lang::fun_scalar_type(), stan::lang::init_visgen::function_args(), stan::lang::generate_quoted_expression(), ValidCalibPDF::GetCSVRow(), nutools::dbi::Table::GetDataFromWebService(), nova::dbi::Table::GetDataFromWebService(), calib::globWrapper(), stan::model::gradient(), cmf::CAFToEventList::InitializeEventListColls(), fnex::EventListMaker::InitializeEventListMaps(), fnex::CAFToEventList::InitializeEventListMaps(), ana::InstallHandlers::InstallHandlers(), is_parsable(), stan::json::parser< Handler, Validate_UTF_8 >::json_exception(), fnex::EventList::ListSpillSummary(), cmf::EventList::ListSpillSummary(), main(), novatb::BeamTuning::makeLinesAndTexts(), fnex::CorrectedSpectrum::MakeOscillationLegend(), fnex::CorrectedSpectrum::MakeSystematicsLegend(), ValidCalibPDF::MakeTex(), evd::SimulationDrawer::MCTruthLongText(), model_to_cpp(), stan::services::optimize::newton(), stan::lang::expression_visgen::operator()(), stan::lang::parse(), stan::json::parser< Handler, Validate_UTF_8 >::parse_number(), stan::io::print_help_option(), stan::variational::print_progress(), print_reject_test(), geo::LiveGeometry::ProjectedDistance(), ShmRdWr::read(), stan::io::stan_csv_reader::read_adaptation(), stan::io::stan_csv_reader::read_header(), stan::io::read_line(), stan::io::stan_csv_reader::read_metadata(), stan::io::stan_csv_reader::read_samples(), daqdataformats::RawMilliSlice::readData(), daqdataformats::VERSION_NAMESPACE::RawDataBlock::readData(), daqdataformats::RawDAQData::readData(), daqdataformats::VERSION_NAMESPACE::RawDataBlock::readDataUnknownVersion(), fnex::CalibSystHistMaker::ReadEventListTree(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), reject_test(), stan::variational::advi< stan_model, stan::variational::normal_meanfield, rng_t >::run(), genie::utils::phys::RWhitlow(), sensitivity2018(), sensitivity2020(), fnex::EventListMaker::Serialize(), fnex::ReadCAFMakeEventList::Serialize(), cmf::SerializeEventListColl(), fnex::SerializeEventListMap(), om::GUIModel::SetHistogramSource(), ShmRdWr::start_read(), stan::variational::advi< stan_model, stan::variational::normal_meanfield, rng_t >::stochastic_gradient_ascent(), TEST(), TEST_F(), test_generate_quoted_expression(), test_generate_quoted_string(), test_generate_quoted_string_quote(), stan::lang::to_string(), tokenise(), om::HistoTable::Unquote(), nova::dbi::Table::UseQueryEngine(), stan::math::var::var(), nutools::dbi::Table::Write(), nova::dbi::Table::Write(), stan::services::util::gq_writer::write_gq_values(), stan::services::util::mcmc_writer::write_sample_params(), fnex::EventListManipulator::WriteCappedListsAsTrees(), nova::dbi::Table::WriteToCSV(), and nutools::dbi::Table::WriteToCSV().