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 (00000)
 
c1 Divide (1, 1)
 
c1 cd (1)
 
gPad SetLogx ()
 
gPad SetLogy ()
 
h2 Draw ()
 
h2 GetXaxis () -> SetLabelSize(0.025)
 
h2 GetYaxis () -> SetLabelSize(0.025)
 
 while (1)
 
 fclose (fp)
 
ntuple SetLineWidth (3)
 
ntuple SetLineColor (2)
 
ntuple Draw ("track:e","","Lsame")
 
ntuple SetLineColor (3)
 
ntuple Draw ("pene:e","","Lsame")
 
ntuple SetLineColor (4)
 
ntuple Draw ("proj:e","","Lsame")
 

Variables

 c1 = new TCanvas ("c1","Range",60,60,700,700)
 
TH2F * h2 = new TH2F("h2","",2,9.99,1e+4,2,1e-1,1e+4)
 
FILE * fp = fopen("range.txt","r")
 
Float_t e
 
Float_t track
 
Float_t strack
 
Float_t proj
 
Float_t sproj
 
Float_t pene
 
Float_t spene
 
Int_t ncols = 0
 
Int_t nlines = 0
 
TNtuple * ntuple = new TNtuple("ntuple","range","e:track:strack:proj:sproj:pene:spene")
 

Function Documentation

c1 cd ( )
c1 Divide ( ,
 
)
h2 Draw ( )
ntuple Draw ( "track:e"  ,
""  ,
"Lsame"   
)
ntuple Draw ( "pene:e"  ,
""  ,
"Lsame"   
)
ntuple Draw ( "proj:e"  ,
""  ,
"Lsame"   
)
fclose ( fp  )
h2 GetXaxis ( ) -> SetLabelSize(0.025)
h2 GetYaxis ( ) -> SetLabelSize(0.025)
ntuple SetLineColor ( )
ntuple SetLineColor ( )
ntuple SetLineColor ( )
ntuple SetLineWidth ( )
gPad SetLogx ( )
gPad SetLogy ( )
gStyle SetOptStat ( 00000  )
gStyle SetPalette ( )
gROOT SetStyle ( "Plain"  )
while ( )

Definition at line 41 of file plot.C.

References fclose().

42 {
43  ncols = fscanf(fp,"%f %f %f %f %f %f %f",&e,&track,&strack,&proj,&sproj,&pene,&spene);
44  if (ncols < 0) break;
46  nlines++;
47 }
TNtuple * ntuple
Definition: plot.C:20
Float_t pene
Definition: plot.C:35
Float_t strack
Definition: plot.C:35
FILE * fp
Definition: plot.C:34
Float_t proj
Definition: plot.C:35
Float_t sproj
Definition: plot.C:35
Float_t spene
Definition: plot.C:35
Int_t nlines
Definition: plot.C:51
Float_t e
Definition: plot.C:35
Float_t track
Definition: plot.C:35
Int_t ncols
Definition: plot.C:52

Variable Documentation

c1 = new TCanvas ("c1","Range",60,60,700,700)

Definition at line 16 of file plot.C.

Float_t e

Definition at line 35 of file plot.C.

Referenced by geoalgo::GeoAlgo::_SqDist_(), art::ServicesManager::addSystemService(), art::FileIndex::allEventsInEntryOrder(), cheat::CheckBackTracking::analyze(), lar_pandora::PFParticleMonitoring::analyze(), NuGraphAnalyzer::analyze(), opdet::PhotonInf::analyze(), calo::CaloChecker::analyze(), pmtana::PMTAna::analyze(), RecoProxyUsageExample::analyze(), nnet::PointIdEffTest::analyze(), nnet::PointIdTrainingData::analyze(), trkf::TrackAna::analyze(), evdb::ServiceTable::ApplyEdits(), art::RangeSet::assign_ranges(), art::FindMany< ProdB, void >::bCollection(), art::FindManyP< ProdB, void >::bCollection(), art::FindOne< ProdB, void >::bCollection(), art::FindOneP< ProdB, void >::bCollection(), fhicl::detail::ValidateThenSet::before_action(), opdet::SimPhotonCounter::beginJob(), detsim::DriftElectronstoPlane::beginJob(), detsim::SimDriftElectrons::beginJob(), art::EventProcessor::beginJob(), geo::buildDriftVolumes(), lar_pandora::LArPandoraHelper::BuildMCParticleHitMaps(), genf::GFKalman::calcGain(), larg4::ISCalcSeparate::CalcIon(), detsim::ISCalculationSeparate::CalculateIonization(), NestAlg::CalculateIonizationAndScintillation(), detsim::ISCalculationSeparate::CalculateScintillation(), filter::ChannelFilter::ChannelFilter(), cheat::BackTracker::ChannelToTrackIDEs(), cheat::PhotonBackTracker::ChannelToTrackSDPs(), voronoi2d::BeachLine::checkBeachLine(), evgen::LightSource::checkMaterials(), genf::GFWireHitPolicy::checkPlane(), genf::GFWirepointHitPolicy::checkPlane(), checkTPCcoords(), genf::GFKalman::chi2Increment(), lar_cluster3d::ClusterMergeAlg::closestApproach(), lar_cluster3d::ClusterPathFinder::closestApproach(), lar_cluster3d::VoronoiPathFinder::closestApproach(), lar_cluster3d::ConvexHullPathFinder::closestApproach(), lar_cluster3d::SnippetHit3DBuilder::closestApproach(), evd::RecoBaseDrawer::Cluster2D(), lar_content::BoundedClusterMopUpAlgorithm::ClusterMopUp(), art::RangeSet::collapse(), trkf::KFTrackState::combineWithTrackState(), lar_dl_content::DlVertexingAlgorithm::CompleteMCHierarchy(), voronoi2d::VoronoiDiagram::computeCircleCenter(), voronoi2d::VoronoiDiagram::ComputeFaceArea(), trkf::Geometric3DVertexFitter::computeMeta(), rndm::details::PerEventPolicy< SEED >::configure(), QuadExpr::Constant(), art::EventRange::contains(), util::CreateAssn(), evgb::util::CreateAssn(), util::CreateAssnD(), evgb::util::CreateAssnD(), phot::CreateHybridLibrary::CreateHybridLibrary(), art::detail::SharedModule::createQueues(), util::LazyVector< T, A >::data_init(), util::LazyVector< T, A >::data_prepare(), detinfo::DetectorPropertiesService::DataFor(), detinfo::DetectorClocksServiceStandard::DataForJob(), fhicl::detail::decode(), util::LArFFTW::Deconvolute(), ExN03DetectorConstruction::DefineMaterials(), G4PseudoLaser::Definition(), geo::PlaneGeo::DetectGeometryDirections(), detectGlobalDriftDir(), genf::GFWireHitPolicy::detPlane(), genf::GFWirepointHitPolicy::detPlane(), phot::SemiAnalyticalModel::Disk_SolidAngle(), larg4::OpFastScintillation::Disk_SolidAngle(), fhicl::OptionalSequence< art::InputTag >::do_walk_elements(), fhicl::Sequence< float, 3u >::do_walk_elements(), fhicl::OptionalSequence< T,-1ull >::do_walk_elements(), fhicl::Sequence< T,-1ull >::do_walk_elements(), art::BasicOutputOptionsHandler::doCheckOptions(), art::detail::Producer::doEvent(), art::detail::Filter::doEvent(), art::detail::Analyzer::doEvent(), larg4::LArG4DetectorService::doFillEventWithArtHits(), pid::Chi2PIDAlg::DoParticleID(), art::ProducingService::doPostReadEvent(), art::BasicOptionsHandler::doProcessOptions(), art::OutputModule::doWriteEvent(), evd::CalorPad::Draw(), evdb_tool::DrawGausHits::Draw(), evd::Ortho3DPad::Draw(), evd::RecoBaseDrawer::DrawTrack2D(), larg4::LArVoxelReadout::DriftIonizationElectrons(), wc::CellTree::DumpMCJSON(), mf::service::ELdestination::ELdestination(), detinfo::DetectorPropertiesStandard::Eloss(), util::span< BIter, EIter >::empty(), fhicl::detail::encode(), lar::details::CollectionExtremes< BeginIter, EndIter >::end(), lar::details::iteratorRange< BITER, EITER >::end(), art::EndPathExecutor::endJob(), art::TriggerPathsExecutor::endJob(), art::detail::ensure_only_one_thread(), hit::MagDriftAna::ensureHists(), shims::map< Key, T, Compare, Allocator >::erase(), evd::RecoBaseDrawer::Event2D(), evd::RecoBaseDrawer::Event3D(), art::EventProcessor::EventProcessor(), art::EventRange::EventRange(), art::RangeSet::extract_ranges(), fhicl::detail::fhicl_get_impl(), art::Assns< L, R, void >::fill_transients(), cluster::ClusterMatchAlg::FillMCInfo(), trkf::TrackKalmanFitter::fillResult(), cheat::RecoCheckAna::FillResults(), evd::InfoTransfer::FillStartEndHitCoords(), art::find_config(), cluster::ClusterCrawlerAlg::FindHammerClusters(), pma::PMAlgVertexing::findKinksOnTracks(), reco_tool::PeakFitterMrqdt::findPeakParameters(), art::EventProcessor::finishEventAsync(), trkf::StitchAlg::FirstStitch(), genf::GFKalman::fittingPass(), opdet::OpDigiProperties::GenAnalyticalWF(), artg4tk::PrimaryEventActionService::generatePrimaries(), phot::ScintTimeLAr::GenScintTime(), fhicl::ParameterSet::get_one_(), evd::RecoBaseDrawer::GetClusters(), art::ProcessHistory::getConfigurationForProcess(), nutools::dbi::Table::GetConnection(), art::ProductRetriever::getContainerForView_(), evd::RecoBaseDrawer::GetEndPoint2D(), evd::RecoBaseDrawer::GetEvents(), evd::RecoBaseDrawer::GetHits(), evdb_tool::DrawLArVoxel3D::GetMCTruth(), evd::SimulationDrawer::GetMCTruth(), trkf::SurfYZPlane::getMomentum(), trkf::SurfYZLine::getMomentum(), trkf::SurfXYZPlane::getMomentum(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterLLHD(), sim::PhotonVoxelDef::GetNeighboringVoxelIDsImpl(), geo::PlaneGeo::GetNormalAxis(), evd::RecoBaseDrawer::GetOpFlashes(), evd::SimulationDrawer::GetParticle(), evd::RecoBaseDrawer::GetPFParticles(), nnet::TrainingDataAlg::getProjection(), evd::RecoBaseDrawer::GetSeeds(), evd::RecoBaseDrawer::GetShowers(), cluster::DBScanAlg::getSimilarity2(), evd::RecoBaseDrawer::GetSlices(), evd::RecoBaseDrawer::GetTracks(), evd::RecoBaseDrawer::GetVertices(), evd::RecoBaseDrawer::GetWires(), groupTPCsByDriftDir(), art::Handle< T >::Handle(), cluster::HoughBaseAlg::HoughBaseAlg(), if(), art::TriggerNamesService::index_(), fhicl::detail::index_for_sequence_element(), lar_dl_content::DlVertexingAlgorithm::Infer(), hit::DisambigCheater::InitHitToWids(), evgen::MUSUN::initialization(), evgb::GENIEHelper::Initialize(), evgb::GENIEHelper::InitializeRockBoxSelection(), art::EventID::inRangeOrInvalid(), geo::IntersectLines(), geo::PlaneGeo::InterWireDistance(), geo::PlaneGeo::InterWireProjectedDistance(), art::RangeSet::invalidChecksum(), genf::GFDaf::invertMatrix(), larg4::ISCalcCorrelated::ISCalcCorrelated(), larg4::ISCalculationCorrelated::ISCalculationCorrelated(), AcceptFindNeighbors::isNear(), wc::CellTree::KeepMC(), simfilter::FilterGenInTime::KeepParticle(), larg4::LArG4::LArG4(), calo::CalorimetryAlg::LifetimeCorrection(), corner::CornerFinderAlg::line_integral(), phot::PhotonVisibilityService::LoadLibrary(), lar_dl_content::LArDLHelper::LoadModel(), main(), art::InputSourceFactory::make(), art::make_tool(), lar::util::makeChiSquareAccumulator(), voronoi2d::VoronoiDiagram::makeCircleEvent(), lar::details::makeCollectionExtremes(), art::SourceHelper::makeEventPrincipal(), sim::MCRecoEdep::MakeMCEdep(), art::PathManager::makeModule_(), art::EmptyEvent::makePlugin_(), art::OutputModule::makePlugins_(), art::detail::ServiceCacheEntry::makeService(), trkf::CosmicTrackerAlg::MakeSPT(), fhicl::detail::MaybeDisplayParent::MaybeDisplayParent(), sim::MCEdep::MCEdep(), MeanExcEnergy_get(), reco3d::SpacePointSolver::Minimize(), art::PathManager::moduleInformation_(), DUNE::NeutrinoTrackingEff::NeutrinoTrackingEff(), art::MixOp< Prod, OProd >::newIncomingWrappedProduct(), trkf::InteractPlane::noise(), cheat::PhotonBackTracker::OpDetToTrackSDPs(), sim::MCMiniPart::operator simb::MCParticle(), art::detail::IPRHelper< ProdA, ProdB, Data, DATACOLL, EVENT >::operator()(), fhicl::Sequence< T,-1ull >::operator()(), art::EndPathExecutor::PathsDoneTask::operator()(), art::Path::WorkerDoneTask::operator()(), art::PtrRemapper::operator()(), art::EventProcessor::EndPathRunnerTask::operator()(), art::EventProcessor::EndPathTask::operator()(), QuadExpr::operator*=(), QuadExpr::operator+(), QuadExpr::operator-(), operator-(), art::operator<<(), evd::RecoBaseDrawer::OpFlash2D(), cheat::PhotonBackTracker::OpHitChargeCollectionEfficiency(), cheat::PhotonBackTracker::OpHitChargeCollectionPurity(), cheat::PhotonBackTracker::OpHitCollectionEfficiency(), cheat::PhotonBackTracker::OpHitCollectionPurity(), cheat::PhotonBackTracker::OpHitLightCollectionEfficiency(), cheat::PhotonBackTracker::OpHitLightCollectionPurity(), mf::ErrorObj::opltlt(), art::detail::orderedProcessNamesCollection(), fhicl::ParameterSetID::ParameterSetID(), art::Ptr< L >::parentProduct_(), fhicl::parse_value_string(), geo::part::GridPartition< Data >::part(), art::detail::path_specs(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), util::LArFFTW::PeakCorrelation(), util::GeometryUtilities::PitchInView(), lar::util::PointWithinSegments(), rndm::details::policyFromName(), larg4::MuNuclearSplittingProcessXSecBias::PostStepDoIt(), art::TimeTracker::preEventProcessing(), art::FileIndex::print_event_list(), geo::AuxDetSensitiveGeo::PrintAuxDetInfo(), geo::AuxDetGeo::PrintAuxDetInfo(), geo::OpDetGeo::PrintOpDetInfo(), evgen::larg4SingleGen::printVecs(), evgen::SingleGen::printVecs(), art::Path::process(), art::TriggerPathsExecutor::process_event_paths_done(), art::EventProcessor::processEventAsync(), genf::GFKalman::processHit(), ProcessSingleFile(), wc::CellTree::processSpacePointTruthDepo(), artg4tk::EventGenerator::produce(), vertex::VertexCheater::produce(), shwf::ShowerCheater::produce(), cluster::ClusterCheater::produce(), caldata::CalWire::produce(), NuSliceHitsProducer::produce(), caldata::CalWireT962::produce(), phot::PDFastSimPVS::produce(), shwf::ShowerReco::produce(), trkf::Track3DKalman::produce(), TrackProducerFromPFParticle::produce(), trkf::VertexFitter::produce(), NuGraphInference::produce(), trkf::PMAlgTrajFitter::produce(), calo::Calorimetry::produce(), t0::MCTruthT0Matching::produce(), trkf::Track3DKalmanSPS::produce(), detsim::SimDriftElectrons::produce(), trkf::PMAlgTrackMaker::produce(), evgen::LightSource::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), evgen::Decay0Gen::produce_radio(), art::ProductPtr< T >::product_(), shower::EMShowerAlg::Project3DPointOntoPlane_(), trkf::TrackStatePropagator::propagateToPlane(), art::thread_safe_registry_via_id< K, M >::put(), fhicl::ParameterSetRegistry::put(), geo::Geometry::ReadConfigurationInfo(), util::quantities::details::readUnit(), sim::MCShowerRecoAlg::Reconstruct(), showerreco::ShowerRecoManager::Reconstruct(), evdb::ScanFrame::Record(), art::regexMatch(), geo::TPCGeo::ResetDriftDirection(), art::resolve_unique_product(), art::run_art(), evgen::LightSource::Sample(), evgen::RadioGen::samplespectrum(), phot::ScintTimeLAr::ScintTimeLAr(), evd::RecoBaseDrawer::Seed2D(), util::Range< T >::Set(), art::EventRange::set_end(), fhicl::extended_value::set_prolog(), artg4tk::ActionHolderService::setCurrArtEvent(), artg4tk::DetectorHolderService::setCurrArtEvent(), detsim::SimWire::SetElectResponse(), sim::MCEnDep::SetEnergy(), MedicalBeam::SetKineticE(), detinfo::LArPropertiesStandard::SetMeanExcitationEnergy(), artg4tk::ArtG4tkParticle::SetMomentum(), opdet::SimPhotonCounter::SetQE(), detinfo::LArPropertiesStandard::SetReflectiveSurfaceEnergies(), art::FindMany< ProdB, void >::setStoredException(), art::FindManyP< ProdB, void >::setStoredException(), art::FindOneP< ProdB, void >::setStoredException(), art::FindOne< ProdB, void >::setStoredException(), larg4::VisualizationAction::SetTrackEnergyCutoff(), INormalizeCharge::setup(), tca::ShowerEnergy(), cheat::BackTracker::SimIDEsToXYZ(), opdet::SimPhotonCounter::SimPhotonCounter(), cheat::PhotonBackTracker::SimSDPsToXYZ(), art::RangeSet::split_range(), mf::StartMessageFacility(), startWork(), fhicl::ParameterSet::stringify_(), art::detail::supports_key(), geo::WireGeo::TanThetaZ(), fhicl::ParameterSet::to_string_(), trkf::CosmicTrackerAlg::Track3D(), sim::SimChannel::TrackIDEs(), lar::util::TrackPitchInView(), sim::OpDetBacktrackerRecord::TrackSDPs(), fhicl::detail::try_insert(), try_loading(), art::unique_filename(), opreco::OpticalRecoAna::update_MC_particle_time(), geo::TPCGeo::UpdateAfterSorting(), geo::PlaneGeo::UpdateIncreasingWireDir(), geo::PlaneGeo::UpdateOrientation(), geo::PlaneGeo::UpdatePlaneNormal(), geo::PlaneGeo::UpdateView(), geo::PlaneGeo::UpdateWidthDepthDir(), geo::PlaneGeo::UpdateWireDir(), geo::PlaneGeo::UpdateWirePitchSlow(), geo::PlaneGeo::UpdateWirePlaneCenter(), trkf::KFTrackState::updateWithHitState(), lar::util::ValueInRange(), trkf::Propagator::vec_prop(), cluster::ClusterCrawlerAlg::VtxMatch(), art::Observer::wantAllEvents(), geo::PlaneGeo::WireIDincreasesWithZ(), btutil::WireRange_t::WireRange_t(), nutools::dbi::Table::WriteToDB(), lar_dl_content::DlVertexingAlgorithm::~DlVertexingAlgorithm(), evgb::GENIEHelper::~GENIEHelper(), and fhicl::ParameterSetRegistry::~ParameterSetRegistry().

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

Definition at line 33 of file plot.C.

TH2F* h2 = new TH2F("h2","",2,9.99,1e+4,2,1e-1,1e+4)

Definition at line 22 of file plot.C.

Int_t ncols = 0

Definition at line 36 of file plot.C.

Int_t nlines = 0

Definition at line 37 of file plot.C.

TNtuple* ntuple = new TNtuple("ntuple","range","e:track:strack:proj:sproj:pene:spene")

Definition at line 39 of file plot.C.

Float_t pene

Definition at line 35 of file plot.C.

Float_t spene

Definition at line 35 of file plot.C.

Float_t sproj

Definition at line 35 of file plot.C.

Float_t strack

Definition at line 35 of file plot.C.

Float_t track

Definition at line 35 of file plot.C.

Referenced by shower::ReconTrack::AddBackwardTrack(), shower::ReconTrack::AddForwardTrack(), larg4::OpDetSensitiveDetector::AddPhoton(), lar_pandora::PFParticleTrackAna::analyze(), lar_pandora::PFParticleAnalysis::analyze(), vertex::AggregateVertexAna::analyze(), RecoProxyUsageExample::analyze(), sim::DumpMCTracks::analyze(), recob::DumpTracks::analyze(), shower::EMShowerAlg::AssociateClustersAndTracks(), proxy::details::TrackPointIteratorBox< CollProxy >::begin(), larg4::ISCalculationNEST::CalculateIonizationAndScintillation(), trkf::KGTrack::clear(), lar_pandora::LArPandoraHelper::CollectCosmicTags(), lar_pandora::LArPandoraHelper::CollectTracks(), shower::EMShowerAlg::ConstructTrack(), trkf::Track3DKalmanHit::createOutputs(), evd::RecoBaseDrawer::DrawPFParticle3D(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), proxy::details::TrackPointIteratorBox< CollProxy >::end(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), lar_pandora::PFParticleHitDumper::FillAssociated2DHits(), trkf::KGTrack::fillHits(), lar_pandora::PFParticleHitDumper::FillRecoTracks(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::SpacePointAlg::fillSpacePoints(), mvapid::MVAAlg::FitAndSortTrack(), opdet::FlashHypothesisCreator::FlashHypothesisCreator(), trkf::Geometric3DVertexFitter::Geometric3DVertexFitter(), evgen::MARLEYHelper::get_generator(), lar_pandora::PFParticleCosmicAna::GetCosmicScore(), ClusteringValidation::ClusterCounter::GetPhotons(), main(), trkmkr::TrackMaker::makeTrack(), proxy::TrackPointWrapper< TrackPointData >::momentum(), proxy::TrackCollectionProxyElement< CollProxy >::nPoints(), mvapid::MVAAlg::SumDistance2::operator()(), proxy::TrackCollectionProxyElement< CollProxy >::operator()(), proxy::TrackCollectionProxyElement< CollProxy >::point(), proxy::TrackPointWrapper< TrackPointData >::position(), mvapid::MVAAlg::PrepareEvent(), lar_pandora::LArPandoraEventDump::PrintParticle(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), larg4::AuxDetSD::ProcessHits(), cosmic::TrackPFParticleMatch::produce(), cosmic::CosmicPFParticleTagger::produce(), vertex::PrimaryVertexFinder::produce(), TrackProducerFromTrack::produce(), CRHitRemoval::produce(), ems::EMShower3D::produce(), trkf::CCTrackMaker::produce(), TrackProducerFromPFParticle::produce(), trkf::Track3DKalman::produce(), calo::GnocchiCalorimetry::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), evd::RecoBaseDrawer::Prong2D(), evd::RecoBaseDrawer::Prong3D(), evd::RecoBaseDrawer::ProngOrtho(), ems::EMShower3D::Reoptimize(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), shower::TrackShowerSeparationAlg::SelectShowerHits(), larg4::MuNuclearSplittingProcessXSecBias::SetIsActive(), and ems::EMShower3D::Validate().