LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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,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)
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:34
Float_t sw
Definition: plot.C:20
Int_t nlines
Definition: plot.C:51
Float_t w
Definition: plot.C:20
Int_t ncols
Definition: plot.C:52

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 w

Definition at line 20 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(), nnet::PointIdTrainingData::analyze(), trkf::SeedAna::analyze(), trkf::TrackAna::analyze(), img::DataProviderAlg::applyBlur(), geo::part::PartitionContainer< Data >::atPoint(), lcvn::CVNImageUtils::BuildImageVector(), lcvn::CVNImageUtils::BuildImageVectorF(), genf::GFKalman::calcCov7x7(), evgen::NueAr40CCGenerator::CalculateCrossSections(), lar_content::ThreeViewRemnantsAlgorithm::CalculateOverlapResult(), lar_content::ParticleRecoveryAlgorithm::CheckConsistency(), lar::util::details::WeightTracker< Data_t >::clear(), apa::DisambigAlg::CompareViews(), pma::Track3D::CompleteMissingWires(), pma::VtxCandidate::Compute(), keras::LayerDense::compute_output(), larg4::LArVoxelReadoutGeometry::Construct(), lcvn::CVNImageUtils::ConvertImageVecToImageVecF(), lcvn::CVNImageUtils::ConvertPixelArrayToImageVectorF(), lcvn::CVNImageUtils::ConvertViewVecToViewVecF(), geo::part::Partition< Data >::data(), hit::DisambigCheater::DisambigCheater(), evdb::DisplayWindow::DisplayWindow(), cluster::EndPointAlg::EndPoint(), genf::SlTrackRep::extrapolate(), genf::RKTrackRep::extrapolate(), genf::RKTrackRep::extrapolateToLine(), genf::RKTrackRep::extrapolateToPoint(), trkf::CCTrackMaker::FillChgNear(), trkf::SpacePointAlg::fillComplexSpacePoint(), trkf::SpacePointAlg::fillSpacePoint(), trkf::CCTrackMaker::FillWireHitRange(), evd::TWQMultiTPCProjectionView::FindEndPoint(), geo::part::GridPartition< Data >::findPart(), cluster::SmallClusterFinderAlg::FindSmallClusters(), tca::FitTP3Ds(), tca::FitTraj(), nnet::PointIdAlg::flattenData2D(), art::RPManager::for_each_RPWorker(), evd::Style::FromPDG(), evd::RecoBaseDrawer::GetClusterOutlines(), opdet::GetHitGeometryInfo(), sim::PhotonVoxelDef::GetNeighboringVoxelIDsImpl(), cluster::SmallClusterFinderAlg::GetPlaneAndTPC(), lar_content::ThreeViewTransverseTracksAlgorithm::GetSegmentOverlap(), evd::RecoBaseDrawer::GetWires(), evd::RecoBaseDrawer::Hit2D(), genf::GFSpacepointHitPolicy::hitCov(), cluster::HoughBaseAlg::HoughBaseAlg(), lar_dl_content::DlVertexingAlgorithm::Infer(), fluxr::DK2NuInterface::Init(), 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(), evdb::ListWindow::OpenWindow(), evdb::DisplayWindow::OpenWindow(), anab::MVAWrapperBase::pAccumulate(), evdb::ParameterSetEdit::ParameterSetEdit(), geo::part::GridPartition< Data >::part(), geo::part::PartitionContainer< Data >::PartitionContainer(), img::DataProviderAlg::patchFromDownsampledView(), img::DataProviderAlg::patchFromOriginalView(), util::GeometryUtilities::PolyOverlap(), img::DataProviderAlg::poolMax(), geo::GeometryCore::Print(), print_weights(), genf::GFKalman::processHit(), trkf::SpacePts::produce(), calo::Calorimetry::produce(), trkf::Track3DKalmanSPS::produce(), evdb::EventDisplay::reconfigure(), showerreco::ShowerRecoAlg::RecoOneShower(), lar_content::ThreeDHitCreationAlgorithm::RefineHitPositions(), nnet::TrainingDataAlg::resizeView(), lcvn::CVNImageUtils::ReverseView(), genf::RKTrackRep::RKTrackRep(), trkf::Track3DKalmanSPS::rotationCov(), art::detail::rule_size(), util::GeometryUtilities::SelectLocalHitlist(), cheat::BackTracker::SimIDEsToXYZ(), cheat::PhotonBackTracker::SimSDPsToXYZ(), pma::SolveLeastSquares3D(), trkf::CosmicTrackerAlg::Track3D(), apa::DisambigAlg::TrivialDisambig(), trkf::TrackLineFitAlg::TrkLineFit(), lar::util::details::WeightTracker< Data_t >::Weights(), art::WorkerInPath::WorkerInPath(), and lar_content::HitCreationBaseTool::~HitCreationBaseTool().