LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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,500,500)
 
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)
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 28 of file plot.C.

References c1, and fclose().

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

Variable Documentation

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

Definition at line 18 of file plot.C.

Float_t E

Definition at line 23 of file plot.C.

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

Definition at line 21 of file plot.C.

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

Definition at line 41 of file plot.C.

Float_t nbioni

Definition at line 23 of file plot.C.

Int_t ncols = 0

Definition at line 24 of file plot.C.

Int_t nlines = 0

Definition at line 25 of file plot.C.

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

Definition at line 27 of file plot.C.

Float_t snbioni

Definition at line 23 of file plot.C.

Float_t w

Definition at line 23 of file plot.C.

Referenced by lar::util::details::WeightTracker< Data_t >::add(), lar::util::details::FitDataCollector< T, D >::add(), lar::util::details::DataTracker< Degree *2, Data_t >::add(), img::DataProviderAlg::addCoherentNoise(), larg4::MuNuclearSplittingProcessXSecBias::AlongStepDoIt(), caldata::CalWireAna::analyze(), trkf::SeedAna::analyze(), trkf::TrackAna::analyze(), img::DataProviderAlg::applyBlur(), art::EndPathExecutor::beginJob(), art::Schedule::beginJob(), art::RootOutput::beginRun(), art::RootOutput::beginSubRun(), bounds(), genf::GFKalman::calcCov7x7(), evgen::NueAr40CCGenerator::CalculateCrossSections(), lar_content::ThreeDRemnantsAlgorithm::CalculateOverlapResult(), lar_content::ParticleRecoveryAlgorithm::CheckConsistency(), lar::util::details::WeightTracker< Data_t >::clear(), art::Path::clearCounters(), apa::DisambigAlg::CompareViews(), pma::Track3D::CompleteMissingWires(), pma::VtxCandidate::Compute(), keras::LayerDense::compute_output(), larg4::LArVoxelReadoutGeometry::Construct(), geo::part::Partition< Data >::data(), hit::DisambigCheater::DisambigCheater(), evdb::DisplayWindow::DisplayWindow(), art::RootOutput::doRegisterProducts(), art::EndPathExecutor::endJob(), art::Schedule::endJob(), cluster::EndPointAlg::EndPoint(), art::RootOutput::endRun(), art::RootOutput::endSubRun(), art::RootOutput::event(), genf::SlTrackRep::extrapolate(), genf::RKTrackRep::extrapolate(), genf::RKTrackRep::extrapolateToLine(), genf::RKTrackRep::extrapolateToPoint(), trkf::CCTrackMaker::FillChgNear(), trkf::SpacePointAlg::fillComplexSpacePoint(), trkf::SpacePointAlg::fillSpacePoint(), trkf::CCTrackMaker::FillWireHitRange(), cluster::SmallClusterFilter::filter(), art::Path::findByModifiesEvent(), evd::TWQMultiTPCProjectionView::FindEndPoint(), geo::part::GridPartition< Data >::findPart(), cluster::SmallClusterFinderAlg::FindSmallClusters(), tca::FitTp3(), tca::FitTp3s(), tca::FitTraj(), nnet::PointIdAlg::flattenData2D(), art::RPManager::for_each_RPWorker(), evd::Style::FromPDG(), nbw::skzpReweight::GetBeamWeight(), evd::RecoBaseDrawer::GetClusterOutlines(), opdet::GetHitGeometryInfo(), sim::PhotonVoxelDef::GetNeighboringVoxelIDs(), lar_content::ThreeDTransverseTracksAlgorithm::GetSegmentOverlap(), evd::RecoBaseDrawer::GetWires(), util::GeometryUtilities::GetYZ(), evd::RecoBaseDrawer::Hit2D(), genf::GFSpacepointHitPolicy::hitCov(), pma::Track3D::InitFromRefPoints(), hit::DisambigCheater::InitHitToWids(), evgb::GENIEHelper::InitializeFluxDriver(), art::RPManager::invoke(), lar_cluster3d::PCASeedFinderAlg::LineFit2DHits(), lar_cluster3d::HoughSeedFinderAlg::LineFit2DHits(), apa::APAGeometryAlg::LineSegChanIntersect(), evdb::ListWindow::ListWindow(), apa::DisambigAlg::MakeCloseHits(), trkf::Track3DKalmanHitAlg::makeSeed(), geo::vect::MiddlePointAccumulatorDim< N >::makeWeightedPoint(), art::PathsInfo::makeWorker_(), evdb::ListWindow::OpenWindow(), evdb::DisplayWindow::OpenWindow(), anab::MVAWrapperBase::pAccumulate(), evdb::ParameterSetEdit::ParameterSetEdit(), img::DataProviderAlg::patchFromDownsampledView(), img::DataProviderAlg::patchFromOriginalView(), util::GeometryUtilities::PolyOverlap(), img::DataProviderAlg::poolMax(), img::DataProviderAlg::poolSum(), geo::GeometryCore::Print(), art::Schedule::process(), genf::GFKalman::processHit(), trkf::SpacePts::produce(), vertex::HarrisVertexFinder::produce(), calo::Calorimetry::produce(), trkf::Track3DKalmanSPS::produce(), art::RootOutput::readResults(), evdb::EventDisplay::reconfigure(), showerreco::ShowerRecoAlg::RecoOneShower(), lar_content::ThreeDHitCreationAlgorithm::RefineHitPositions(), art::EndPathExecutor::resetAll(), img::DataProviderAlg::resizeView(), nnet::TrainingDataAlg::resizeView(), art::EndPathExecutor::respondToCloseInputFile(), art::Schedule::respondToCloseInputFile(), art::EndPathExecutor::respondToCloseOutputFiles(), art::Schedule::respondToCloseOutputFiles(), art::EndPathExecutor::respondToOpenInputFile(), art::Schedule::respondToOpenInputFile(), art::EndPathExecutor::respondToOpenOutputFiles(), art::Schedule::respondToOpenOutputFiles(), genf::RKTrackRep::RKTrackRep(), trkf::Track3DKalmanSPS::rotationCov(), art::detail::rule_size(), util::GeometryUtilities::SelectLocalHitlist(), art::EndPathExecutor::selectProducts(), art::EndPathExecutor::setAuxiliaryRangeSetID(), cheat::BackTracker::SimIDEsToXYZ(), cheat::PhotonBackTracker::SimSDPsToXYZ(), pma::SolveLeastSquares3D(), art::RootOutput::startEndFile(), art::EndPathExecutor::terminate(), tca::TjDirFOM(), trkf::CosmicTrackerAlg::Track3D(), cluster::HoughBaseAlg::Transform(), apa::DisambigAlg::TrivialDisambig(), trkf::TrackLineFitAlg::TrkLineFit(), lar::util::details::WeightTracker< Data_t >::Weights(), art::WorkerInPath::WorkerInPath(), art::EndPathExecutor::writeEvent(), art::EndPathExecutor::writeRun(), art::EndPathExecutor::writeSubRun(), and lar_content::HitCreationBaseTool::~HitCreationBaseTool().