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 (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 40 of file plot.C.

References fclose().

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

Variable Documentation

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

Definition at line 15 of file plot.C.

Float_t e

Definition at line 34 of file plot.C.

Referenced by geoalgo::GeoAlgo::_SqDist_(), art::ServiceDirector::addSystemService(), art::FileIndex::allEventsInEntryOrder(), cheat::CheckBackTracking::analyze(), lar_pandora::PFParticleMonitoring::analyze(), ShowerQuality::analyze(), RecoProxyUsageExample::analyze(), hit::GausHitFinderAna::analyze(), pmtana::PMTAna::analyze(), trkf::TrackAna::analyze(), evdb::ServiceTable::ApplyEdits(), art::RangeSet::back(), art::FindOne< ProdB, void >::bCollection(), art::FindOneP< ProdB, void >::bCollection(), art::FindManyP< ProdB, void >::bCollection(), art::FindMany< ProdB, void >::bCollection(), art::Worker::beginJob(), opdet::SimPhotonCounter::beginJob(), detsim::SimDriftElectrons::beginJob(), geo::buildDriftVolumes(), lar_pandora::LArPandoraHelper::BuildMCParticleHitMaps(), genf::GFKalman::calcGain(), NestAlg::CalculateIonizationAndScintillation(), larg4::ISCalcSeparate::CalculateScintillation(), geo::IteratorBoxBase< Iter >::cend(), filter::ChannelFilter::ChannelFilter(), cheat::BackTracker::ChannelToTrackIDEs(), cheat::PhotonBackTracker::ChannelToTrackSDPs(), voronoi2d::BeachLine::checkBeachLine(), 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(), evd::RecoBaseDrawer::Cluster2D(), art::RangeSet::collapse(), trkf::KFTrackState::combineWithTrackState(), voronoi2d::VoronoiDiagram::computeCircleCenter(), voronoi2d::VoronoiDiagram::ComputeFaceArea(), trkf::Geometric3DVertexFitter::computeMeta(), QuadExpr::Constant(), art::EventSelector::containsExceptions(), util::CreateAssn(), evgb::util::CreateAssn(), util::CreateAssnD(), evgb::util::CreateAssnD(), phot::CreateHybridLibrary::CreateHybridLibrary(), util::LazyVector< T, A >::data_init(), util::LazyVector< T, A >::data_prepare(), fhicl::detail::decode(), ExN03DetectorConstruction::DefineMaterials(), geo::PlaneGeo::DetectGeometryDirections(), detectGlobalDriftDir(), genf::GFWireHitPolicy::detPlane(), genf::GFWirepointHitPolicy::detPlane(), fhicl::OptionalSequence< Table< T >< art::RootInputFileSequence::Config::SecondaryFile > >::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::EDProducer::doEvent(), art::EDFilter::doEvent(), art::EDAnalyzer::doEvent(), art::ResultsProducer::doEvent(), art::OutputModule::doEvent(), pid::Chi2PIDAlg::DoParticleID(), art::ProducingService::doPostReadEvent(), art::BasicOptionsHandler::doProcessOptions(), art::Worker::doWork(), art::OutputModule::doWriteEvent(), evd::CalorPad::Draw(), evd::Ortho3DPad::Draw(), evd::RecoBaseDrawer::DrawTrack2D(), larg4::LArVoxelReadout::DriftIonizationElectrons(), wc::CellTree::DumpMCJSON(), mf::service::ELdestination::ELdestination(), util::LArPropertiesServiceArgoNeuT::Eloss(), detinfo::DetectorPropertiesStandard::Eloss(), fhicl::detail::encode(), lar::details::CollectionExtremes< BeginIter, EndIter >::end(), geo::IteratorBoxBase< Iter >::end(), lar::details::iteratorRange< BITER, EITER >::end(), art::EndPathExecutor::endJob(), art::Worker::endJob(), art::Schedule::endJob(), hit::MagDriftAna::ensureHists(), art::DataViewImpl::ensureUniqueProduct_(), shims::map< Key, T, Compare, Allocator >::erase(), evd::RecoBaseDrawer::Event2D(), evd::RecoBaseDrawer::Event3D(), art::EventRange::EventRange(), art::OutputModule::fileGranularity(), art::Assns< L, R, void >::fill_transients(), art::PathManager::fillAllModules_(), art::RootInputTree::fillAux(), cluster::ClusterMatchAlg::FillMCInfo(), trkf::TrackKalmanFitter::fillResult(), cheat::RecoCheckAna::FillResults(), evd::InfoTransfer::FillStartEndHitCoords(), art::find_config(), cluster::ClusterCrawlerAlg::FindHammerClusters(), pma::PMAlgVertexing::findKinksOnTracks(), trkf::StitchAlg::FirstStitch(), genf::GFKalman::fittingPass(), cmtool::CFAlgoStartPointCompat::Float(), cmtool::CFAlgoStartTimeCompat::Float(), opdet::OpDigiProperties::GenAnalyticalWF(), fhicl::ParameterSet::get_one_(), evd::RecoBaseDrawer::GetBezierTracks(), evd::RecoBaseDrawer::GetClusters(), art::ProcessHistory::getConfigurationForProcess(), nutools::dbi::Table::GetConnection(), art::Ptr< T >::getData_(), evd::RecoBaseDrawer::GetEdges(), evd::RecoBaseDrawer::GetEndPoint2D(), art::input::getEntry(), evd::RecoBaseDrawer::GetEvents(), lar_cluster3d::PrincipalComponentsAlg::getHit2DPocaToAxis(), evd::RecoBaseDrawer::GetHits(), evd::SimulationDrawer::GetMCTruth(), trkf::SurfYZPlane::getMomentum(), trkf::SurfYZLine::getMomentum(), trkf::SurfXYZPlane::getMomentum(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterLLHD(), sim::PhotonVoxelDef::GetNeighboringVoxelIDs(), geo::PlaneGeo::GetNormalAxis(), evd::RecoBaseDrawer::GetOpFlashes(), evd::SimulationDrawer::GetParticle(), evd::RecoBaseDrawer::GetPFParticles(), art::RootDelayedReader::getProduct_(), nnet::TrainingDataAlg::getProjection(), art::detail::InfoDumperInputFile::getRangeSet(), evd::RecoBaseDrawer::GetSeeds(), evd::RecoBaseDrawer::GetShowers(), cluster::DBScanAlg::getSimilarity2(), evd::RecoBaseDrawer::GetSlices(), lar_pandora::PFParticleMonitoring::GetStartAndEndPoints(), evd::RecoBaseDrawer::GetTracks(), evd::RecoBaseDrawer::GetVertices(), evd::RecoBaseDrawer::GetWires(), groupTPCsByDriftDir(), art::Handle< T >::Handle(), art::ProcessHistory::id(), art::RootInputFileSequence::initFile(), hit::DisambigCheater::InitHitToWids(), evgen::MUSUN::initialization(), evgb::GENIEHelper::Initialize(), lar::example::SpacePointIsolationAlg::initialize(), evgb::GENIEHelper::InitializeRockBoxSelection(), art::EventID::inRangeOrInvalid(), genf::GFDaf::invertMatrix(), geo::WireGeo::isHorizontal(), AcceptFindNeighbors::isNear(), geo::WireGeo::isParallelTo(), geo::WireGeo::isVertical(), wc::CellTree::KeepMC(), larg4::LArG4::LArG4(), calo::CalorimetryAlg::LifetimeCorrection(), corner::CornerFinderAlg::line_integral(), main(), art::InputSourceFactory::make(), art::make_tool(), art::detail::ServiceCacheEntry::makeAndCacheService(), lar::util::makeChiSquareAccumulator(), voronoi2d::VoronoiDiagram::makeCircleEvent(), lar::details::makeCollectionExtremes(), art::SourceHelper::makeEventPrincipal(), art::EmptyEvent::makePlugin_(), art::OutputModule::makePlugins_(), trkf::CosmicTrackerAlg::MakeSPT(), lar::example::TotallyCheatTrackingAlg::makeTrack(), art::detail::ModuleFactory::makeWorker(), art::PathsInfo::makeWorker_(), fhicl::detail::MaybeDisplayParent::MaybeDisplayParent(), sim::MCEdep::MCEdep(), evd::SimulationDrawer::MCTruth3D(), MeanExcEnergy_get(), art::MemoryTracker::MemoryTracker(), reco3d::SpacePointSolver::Minimize(), art::detail::ModuleFactory::moduleType(), trkf::InteractPlane::noise(), cheat::PhotonBackTracker::OpDetToTrackSDPs(), art::MixHelper::openAndReadMetaData_(), art::RootInputFileSequence::openSecondaryFile(), art::detail::PrincipalProcessor< DETAIL >::operator()(), fhicl::OptionalSequence< T,-1ull >::operator()(), fhicl::Sequence< T,-1ull >::operator()(), art::detail::IPRHelper< ProdA, ProdB, Data, DATACOLL, EVENT >::operator()(), art::PtrRemapper::operator()(), QuadExpr::operator*=(), QuadExpr::operator+(), QuadExpr::operator-(), operator-(), art::operator<<(), art::DropMetaData::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(), fhicl::ParameterSetID::ParameterSetID(), fhicl::parse_value_string(), geo::part::GridPartition< Data >::part(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_2D(), util::GeometryUtilities::PitchInView(), larg4::MuNuclearSplittingProcessXSecBias::PostStepDoIt(), art::TimeTracker::preEventProcessing(), art::FileIndex::print_event_list(), geo::AuxDetSensitiveGeo::PrintAuxDetInfo(), geo::AuxDetGeo::PrintAuxDetInfo(), evgen::SingleGen::printVecs(), cheat::PhotonBackTrackerService::priv_PrepOpDetBTRs(), cheat::PhotonBackTrackerService::priv_PrepOpFlashToOpHits(), art::Path::process(), art::Schedule::process(), genf::GFKalman::processHit(), art::PathManager::processPathConfigs_(), ProcessSingleFile(), vertex::VertexCheater::produce(), shwf::ShowerCheater::produce(), cluster::ClusterCheater::produce(), caldata::CalWire::produce(), caldata::CalWireT962::produce(), TrackProducerFromPFParticle::produce(), trkf::VertexFitter::produce(), calo::Calorimetry::produce(), shwf::ShowerReco::produce(), trkf::Track3DKalman::produce(), trkf::PMAlgTrajFitter::produce(), trkf::Track3DKalmanSPS::produce(), detsim::SimDriftElectrons::produce(), t0::MCTruthT0Matching::produce(), evgen::LightSource::produce(), trkf::PMAlgTrackMaker::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), shower::EMShowerAlg::Project3DPointOntoPlane(), trkf::TrackStatePropagator::propagateToPlane(), art::thread_safe_registry_via_id< K, M >::put(), fhicl::ParameterSetRegistry::put(), lar::example::ShowerCalibrationGaloreFromPID::readCalibration(), art::MixOp< PROD, OPROD >::readFromFile(), sim::MCShowerRecoAlg::Reconstruct(), showerreco::ShowerRecoManager::Reconstruct(), evdb::ScanFrame::Record(), geo::TPCGeo::ResetDriftDirection(), art::detail::resolve_if_present(), art::Group::resolveProduct(), art::detail::ExceptionCollector::rethrow(), art::RootInputFileSequence::RootInputFileSequence(), art::run_art(), art::run_art_common_(), art::run_art_string_config(), evgen::RadioGen::samplespectrum(), evd::RecoBaseDrawer::Seed2D(), util::Range< T >::Set(), art::EventRange::set_end(), fhicl::extended_value::set_prolog(), sim::MCEnDep::SetEnergy(), MedicalBeam::SetKineticE(), detinfo::LArPropertiesStandard::SetMeanExcitationEnergy(), opdet::SimPhotonCounter::SetQE(), detinfo::LArPropertiesStandard::SetReflectiveSurfaceEnergies(), art::FindOneP< ProdB, void >::setStoredException(), art::FindOne< ProdB, void >::setStoredException(), art::FindMany< ProdB, void >::setStoredException(), art::FindManyP< ProdB, void >::setStoredException(), larg4::VisualizationAction::SetTrackEnergyCutoff(), tca::ShowerEnergy(), cheat::BackTracker::SimIDEsToXYZ(), opdet::SimPhotonCounter::SimPhotonCounter(), cheat::PhotonBackTracker::SimSDPsToXYZ(), art::EventRange::size(), art::RangeSet::split_range(), geo::sqr(), mf::StartMessageFacility(), startWork(), fhicl::ParameterSet::stringify_(), art::detail::supports_key(), art::TFileService::TFileService(), fhicl::extended_value::to_string(), fhicl::ParameterSet::to_string_(), trkf::CosmicTrackerAlg::Track3D(), sim::SimChannel::TrackIDEs(), lar::util::TrackPitchInView(), sim::OpDetBacktrackerRecord::TrackSDPs(), cluster::HoughBaseAlg::Transform(), 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(), trkf::KFTrackState::updateWithHitState(), geo::GeometryCore::ValueInRange(), trkf::Propagator::vec_prop(), cluster::ClusterCrawlerAlg::VtxMatch(), btutil::WireRange_t::WireRange_t(), art::ProvenanceCheckerOutput::write(), art::RootOutputFile::writeOne(), nutools::dbi::Table::WriteToDB(), evgb::GENIEHelper::~GENIEHelper(), filt::LArG4ParticleFilter::~LArG4ParticleFilter(), fhicl::ParameterSetRegistry::~ParameterSetRegistry(), trkf::StitchAlg::~StitchAlg(), and evwgh::WeightManager::~WeightManager().

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

Definition at line 32 of file plot.C.

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

Definition at line 21 of file plot.C.

Int_t ncols = 0

Definition at line 35 of file plot.C.

Int_t nlines = 0

Definition at line 36 of file plot.C.

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

Definition at line 38 of file plot.C.

Float_t pene

Definition at line 34 of file plot.C.

Float_t spene

Definition at line 34 of file plot.C.

Float_t sproj

Definition at line 34 of file plot.C.

Float_t strack

Definition at line 34 of file plot.C.

Float_t track

Definition at line 34 of file plot.C.

Referenced by shower::ReconTrack::AddBackwardTrack(), shower::ReconTrack::AddForwardTrack(), lar_pandora::PFParticleTrackAna::analyze(), lar_pandora::PFParticleAnalysis::analyze(), vertex::AggregateVertexAna::analyze(), opdet::FlashPurityCheckAna::analyze(), RecoProxyUsageExample::analyze(), sim::DumpMCTracks::analyze(), recob::DumpTracks::analyze(), shower::EMShowerAlg::AssociateClustersAndTracks(), 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(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), evgen::MARLEYHelper::fhicl_sequence_to_json(), 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(), 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()(), lar::example::CheatTrack::operator<<(), proxy::TrackCollectionProxyElement< CollProxy >::point(), proxy::TrackPointWrapper< TrackPointData >::position(), mvapid::MVAAlg::PrepareEvent(), lar_pandora::LArPandoraEventDump::PrintParticle(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), opdet::TrackTimeAssoc::produce(), opdet::BeamFlashCompatabilityCheck::produce(), TrackProducerFromTrack::produce(), vertex::AggregateVertex::produce(), CRHitRemoval::produce(), cosmic::TrackPFParticleMatch::produce(), cosmic::CosmicPFParticleTagger::produce(), TrackProducerFromPFParticle::produce(), trkf::CCTrackMaker::produce(), vertex::PrimaryVertexFinder::produce(), ems::EMShower3D::produce(), trkf::Track3DKalman::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), evd::RecoBaseDrawer::Prong2D(), evd::RecoBaseDrawer::Prong3D(), evd::RecoBaseDrawer::ProngOrtho(), ems::EMShower3D::Reoptimize(), calo::TrackCalorimetryAlg::ReserveInternalVectors(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), shower::TrackShowerSeparationAlg::SelectShowerHits(), larg4::MuNuclearSplittingProcessXSecBias::SetIsActive(), and ems::EMShower3D::Validate().