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

Variables

 c1 = new TCanvas ("c1","",60,60,500,500)
 
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)
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",&radius,&E,&s,&ss);
31  if (ncols < 0) break;
32  ntuple->Fill(radius,E,s,ss);
33  nlines++;
34 }
Float_t s
Definition: plot.C:23
Float_t E
Definition: plot.C:23
Float_t ss
Definition: plot.C:23
TNtuple * ntuple
Definition: plot.C:20
FILE * fp
Definition: plot.C:36
Double_t radius
Definition: plot.C:235
Int_t nlines
Definition: plot.C:53
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.

Referenced by mvapid::MVAAlg::_Var_Shape(), evgen::MARLEYHelper::add_marley_particles(), larg4::LArG4Ana::analyze(), genf::GFMaterialEffects::calcBeta(), calo::LinearEnergyAlg::CalculateClusterEnergy(), calo::LinearEnergyAlg::CalculateEnergy(), cluster::ClusterCrawlerAlg::ClusterVertexChi(), lar::example::ShowerCalibrationGaloreFromPID::correction(), lar::example::ShowerCalibrationGaloreFromPID::correctionFactor(), lar_pandora::LArPandoraInput::CreatePandoraMCParticles(), art::RootInputFile::dropOnInput(), genf::GFMaterialEffects::effects(), NestAlg::EnergyDeposition(), genf::GFEnergyLossBrems::energyLoss(), genf::GFEnergyLossBetheBloch::energyLoss(), genf::GFEnergyLossCoulomb::energyLoss(), genf::GFMaterialEffects::energyLossBetheBloch(), trkf::TrajectoryMCSFitter::energyLossBetheBloch(), genf::GFMaterialEffects::energyLossBrems(), genf::RKTrackRep::Extrap(), genf::GeaneTrackRep2::extrapolate(), genf::RKTrackRep::extrapolate(), genf::GeaneTrackRep2::extrapolateToLine(), genf::GeaneTrackRep2::extrapolateToPoint(), trkf::VertexFitAlg::fcnVtxPos(), fhicl::OptionalTuple< ARGS... >::finalize_tuple_elements(), fhicl::Tuple< TYPES >::finalize_tuple_elements(), tca::FindAlongTrans(), pma::Segment3D::GetDist2(), pma::Segment3D::GetProjection(), trkf::TrackMomentumCalculator::GetTrackMomentum(), pma::Segment3D::GetUnconstrainedProj3D(), pma::Node3D::MakeGradient(), ClusteringValidation::ClusterAnalyser::MakeHistograms(), genf::GFMaterialEffects::noiseCoulomb(), art::EventIDMatcher::parse_pattern(), genf::GeaneTrackRep2::pocaLine2Line(), genf::GFKalman::processHit(), genf::GFDaf::processTrack(), evgen::NDKGen::produce(), t0::MCTruthT0Matching::produce(), art::RootInputFileSequence::readIt(), sim::MCTrackRecoAlg::Reconstruct(), sim::MCShowerRecoAlg::Reconstruct(), genf::GFDetPlane::sane(), genf::GFDaf::setProbCut(), pma::Segment3D::SetProjection(), genf::GFMaterialEffects::stepper(), genf::GFDetPlane::straightLineToPlane(), fhicl::OptionalTuple< ARGS... >::visit_element(), and fhicl::Tuple< TYPES >::visit_element().

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

Definition at line 21 of file plot.C.

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

Definition at line 41 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","s","radius:E:s:ss")

Definition at line 27 of file plot.C.

Float_t radius

Definition at line 23 of file plot.C.

Float_t s

Definition at line 23 of file plot.C.

Referenced by geoalgo::GeoAlgo::_SqDist_(), evdb::Printable::AddToListOfPrintables(), larg4::MuNuclearSplittingProcessXSecBias::AlongStepDoIt(), larg4::LArG4Ana::analyze(), opdet::FlashPurityCheckAna::analyze(), ems::MultiEMShowers::analyze(), sim::MCTrack::AncestorEnd(), sim::MCShower::AncestorEnd(), sim::MCTrack::AncestorStart(), sim::MCShower::AncestorStart(), evdb::ServiceTable::ApplyEdits(), evdb::ParameterSetEditRow::AsFHICL(), evdb::ParameterSetEditFrame::AsFHICL(), pma::Track3D::AverageDist2(), art::BasicOptionsHandler::BasicOptionsHandler(), art::Worker::beginJob(), NestAlg::CalculateIonizationAndScintillation(), pma::Track3D::CanFlip(), art::MemoryTracker::checkMallocConfig_(), trkf::InteractPlane::clone(), trkf::InteractGeneral::clone(), geo::ClosestApproach(), evd::RecoBaseDrawer::Cluster2D(), art::detail::columnWidth(), trkf::SpacePointAlg::compatible(), pma::VtxCandidate::Compute(), mf::MFConfig::Config::Config(), evwgh::GenieWeightCalc::Configure(), trkf::SeedFinderAlgorithm::ConsolidateSeed(), lar::sparse_vector< T >::count(), evgen::details::TimeInUnitsBase< Clock, Unit >::currentOffsetFromEpoch(), anab::FVectorWriter< N >::dataTypeRegistered(), art::DebugOptionsHandler::DebugOptionsHandler(), sim::MCTrack::dEdx(), sim::MCShower::DetProfile(), pma::Track3D::Dist2(), genf::GFDetPlane::distance(), trkf::TrackStatePropagator::distancePairToPlane(), trkf::TrackStatePropagator::distanceToPlane(), art::BasicOutputOptionsHandler::doCheckOptions(), art::BasicOptionsHandler::doCheckOptions(), art::DebugOptionsHandler::doProcessOptions(), art::Worker::doWork(), sim::MCTrack::dQdx(), evd::RecoBaseDrawer::DrawSpacePoint3D(), evd::RecoBaseDrawer::DrawSpacePointOrtho(), evd::RecoBaseDrawer::DrawTrackOrtho(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), mf::service::ELdestination::ELdestination(), mf::service::ELdestination::emitToken(), sim::MCTrack::End(), sim::MCShower::End(), art::Worker::endJob(), fhicl::detail::PrintAllowedConfiguration::enter_sequence(), fhicl::intermediate_table::erase(), evd::RecoBaseDrawer::Event3D(), rndm::details::PerEventPolicy< SEED >::EventTimestamp_v1(), fhicl::intermediate_table::exists(), trkf::SpacePointAlg::fillComplexSpacePoint(), mf::service::ELdestination::fillPrefix(), cheat::RecoCheckAna::FillResults(), trkf::SpacePointAlg::fillSpacePoint(), trkf::BezierTrack::FillTrackVectors(), mf::service::ELdestination::fillUsrMsg(), simfilter::FilterPrimaryPDG::filter(), fhicl::intermediate_table::find(), trkf::KalmanFilterAlg::fitMomentumMS(), opdet::FlashHypothesis::FlashHypothesis(), pma::Track3D::Flip(), cmtool::CFAlgoVolumeOverlap::Float(), cmtool::CFAlgoWireOverlap::Float(), mf::service::ELdestination::flush(), mf::service::ELdestination::formSummary(), art::EventRange::forSubRun(), evd::Style::FromPDG(), trkf::BezierCurveHelper::GetBezierPointCubic(), trkf::BezierCurveHelper::GetBezierPointQuartic(), trkf::BezierTrack::GetCalorimetryObject(), pma::Track3D::GetDirection3D(), art::detail::getFilePath(), trkf::Propagator::getInteractor(), opdet::FlashClusterMatch::GetLightHypothesis(), NestAlg::GetLiquidElectronDriftSpeed(), opdet::TrackTimeAssoc::GetMIPHypotheses(), opdet::BeamFlashCompatabilityCheck::GetMIPHypotheses(), pma::Track3D::GetMse(), genf::RKTrackRep::getPos(), art::RootDelayedReader::getProduct_(), pma::Track3D::GetRawdEdxSequence(), trkf::SeedFinderAlgorithm::GetSpacePointAlg(), trkf::Interactor::getTcut(), art::detail::getType< suffix_type::module >(), art::detail::getType< suffix_type::plugin >(), art::detail::getType< suffix_type::tool >(), tf::Graph::Graph(), cluster::fuzzyClusterAlg::HoughLineIntersect(), evdb::ColorScale::HSVtoRGB(), evdb::ServiceTable::Instance(), pma::Track3D::InternalFlip(), geoalgo::GeoAlgo::Intersection(), art::is_assns(), util::DetectorPropertiesServiceArgoNeuT::isDetectorPropertiesServiceArgoNeuT(), detinfo::DetectorPropertiesServiceStandard::isDetectorPropertiesServiceStandard(), detinfo::DetectorClocksStandard::IsRightConfig(), lar_content::UndershootTracksTool::IsThreeDKink(), corner::CornerFinderAlg::line_integrals(), nutools::dbi::Table::LoadFromCSV(), art::detail::CachedProducts::loadTriggerResults(), fhicl::intermediate_table::locate_(), art::TimeTracker::logToDestination_(), main(), art::detail::ServiceCacheEntry::makeAndCacheService(), pma::Track3D::MakeFastProjection(), evdb::ColorScale::MakeHSVScale(), pma::Track3D::MakeProjection(), pma::PMAlgVertexing::makeVertices(), art::EventSelector::maskTriggerResults(), vertex::AggregateVertex::MatchV2T(), pma::PMAlgTracker::maxCluster(), art::MFSU_0_ARG_UPDATER_DEFN(), art::MFSU_1_ARG_UPDATER_DEFN(), art::MFSU_2_ARG_UPDATER_DEFN(), fhicl::detail::Indentation::modify_top(), sim::MCTrack::MotherEnd(), sim::MCShower::MotherEnd(), sim::MCTrack::MotherStart(), sim::MCShower::MotherStart(), mf::service::ELdestination::MsgFormatSettings::MsgFormatSettings(), art::name_of_assns_base(), art::name_of_assns_partner(), art::name_of_unwrapped_product(), evdb::WindowMenu::NoImpl(), evdb::HelpMenu::NoImpl(), evdb::ButtonBar::NoImpl(), evdb::FileMenu::NoImpl(), lar::debug::CallInfo_t::operator!(), lar::dump::operator+(), mf::MaybeLogger_< SEV, VERBATIM >::operator<<(), mf::ErrorObj::opltlt(), evdb::ServiceTable::OverrideCategory(), fhicl::parse_value_string(), evdb::ParameterSetEditRow::ParseGUItag(), lar::debug::CallInfo_t::ParseString(), genf::GeaneTrackRep2::pocaLine2Line(), art::Tracer::postCloseOutputFile(), art::TimeTracker::postEndJob(), larg4::MuNuclearSplittingProcessXSecBias::PostStepDoIt(), art::TrivialFileDelivery::prependFileDesignation(), trkf::KGTrack::Print(), vertex::VertexCheater::produce(), shwf::ShowerCheater::produce(), tss::TrackShowerHits::produce(), trkf::SpacePts::produce(), cosmic::CosmicClusterTagger::produce(), trkf::CosmicTracker::produce(), evd::RecoBaseDrawer::Prong2D(), evd::RecoBaseDrawer::Prong3D(), evd::RecoBaseDrawer::ProngOrtho(), trkf::TrackStatePropagator::propagateToPlane(), genf::GeaneTrackRep2::prototype(), trkf::KGTrack::recalibrate(), evgen::MarleyTimeGen::reconfigure(), evdb::ServiceTable::RegisterService(), trkf::FeatureTracker::RemoveDuplicatePaths(), art::detail::replace_type(), geoalgo::Vector::RotateX(), geoalgo::Vector::RotateY(), geoalgo::Vector::RotateZ(), trkf::Track3DKalmanSPS::rotationCov(), tf::Graph::run(), nnet::TfModelInterface::Run(), evd::HitSelector::SaveSeedLines(), opdet::TrackTimeAssoc::ScanMIPHypotheses(), evgen::SingleGen::selectOption(), pma::Track3D::SelectRndHits(), trkf::SpacePointAlg::separation(), util::Range< T >::Set(), detinfo::LArPropertiesStandard::SetAbsLengthEnergies(), detinfo::LArPropertiesStandard::SetAbsLengthSpectrum(), lar::debug::CallInfo_t::setAll(), evdb::ColorScale::SetBounds(), mf::ErrorObj::setContext(), simb::MCParticle::SetEndProcess(), detinfo::LArPropertiesStandard::SetFastScintEnergies(), detinfo::LArPropertiesStandard::SetFastScintSpectrum(), mf::ErrorObj::setIteration(), cluster::ClusterParamsAlg::setNeuralNetPath(), detinfo::LArPropertiesStandard::SetRayleighEnergies(), detinfo::LArPropertiesStandard::SetRayleighSpectrum(), detinfo::LArPropertiesStandard::SetRIndexEnergies(), detinfo::LArPropertiesStandard::SetRIndexSpectrum(), nutools::dbi::Table::SetSchema(), detinfo::LArPropertiesStandard::SetScintPreScale(), detinfo::LArPropertiesStandard::SetSlowScintEnergies(), detinfo::LArPropertiesStandard::SetSlowScintSpectrum(), raw::DAQHeader::SetSpareWord(), nutools::dbi::Table::SetTag(), detinfo::LArPropertiesStandard::SetTpbAbsorptionEnergies(), detinfo::LArPropertiesStandard::SetTpbAbsorptionSpectrum(), detinfo::LArPropertiesStandard::SetTpbEmmisionEnergies(), detinfo::LArPropertiesStandard::SetTpbEmmisionSpectrum(), trkf::KFTrackState::setTrackState(), trkf::PropXYZPlane::short_vec_prop(), trkf::PropYZPlane::short_vec_prop(), trkf::PropYZLine::short_vec_prop(), opdet::SimPhotonCounter::SimPhotonCounter(), art::RootSizeOnDisk::Record::size(), geoalgo::Sphere::Sphere(), pma::Track3D::Split(), art::RangeSet::split_range(), sim::MCTrack::Start(), sim::MCShower::Start(), mf::StartMessageFacility(), art::HLTGlobalStatus::state_on_demand(), genf::GFBookkeeping::Streamer(), simb::gtruthaux::stringifyTLorentzVector(), mf::service::ELdestination::summary(), evdb::ParameterSetEditDialog::TabName(), art::TimeTracker::TimeTracker(), art::RangeSet::to_compact_string(), fhicl::ParameterSetID::to_string(), fhicl::extended_value::to_string(), tca::TrajIntersection(), raw::UncompressHuffman(), art::uniform_type_name(), UnivScreenFunc(), MarshaledG4String::unmarshal1(), evdb::ParameterSetEditRow::UnpackParameter(), pma::Track3D::UpdateProjection(), trkf::Propagator::vec_prop(), evd::RecoBaseDrawer::Vertex2D(), evd::RecoBaseDrawer::Vertex3D(), fhicl::ParameterSet::walk(), fhicl::detail::ParameterWalker< C >::walk_over(), art::detail::CachedProducts::wantEvent(), trkf::BezierTrack::WhichSegment(), btutil::WireRange_t::WireRange_t(), evgb::CRYHelper::WorldBox(), and geo::GeometryCore::WorldBox().

Float_t ss

Definition at line 23 of file plot.C.

Referenced by tca::AddLooseHits(), tca::AddPFP(), phot::PhotonLibraryAnalyzer::beginJob(), tca::ChkAssns(), tca::CompleteIncompleteShower(), tca::CreateSS(), db_size_hr(), art::BasicOptionsHandler::doCheckOptions(), tca::DumpShowerPts(), tca::FindParent(), tca::FindShowers3D(), tca::FindShowerStart(), tca::FindStartChg(), tca::Finish3DShowers(), nutools::dbi::Table::Folder(), tca::GetAssns(), nutools::dbi::Table::GetDataFromWebService(), tca::InShowerProb(), mf::MessageFacilityMsg::line(), tca::MCParticleListUtils::MakeCheatShower(), tca::MakeShowerObsolete(), tca::Match2DShowers(), pmtana::PMTPedestalBase::Mean(), tca::MergeNearby2DShowers(), tca::MergeShowers(), tca::MergeSubShowers(), tca::MergeSubShowersTj(), tca::ParentFOM(), tca::Print2DShowers(), tca::PrintShowers(), tca::PrintTrajectory(), opdet::BoDataFrameInput::produce(), tca::Reconcile3D(), pmtana::PulseRecoManager::Reconstruct(), tca::RemovePFP(), tca::ReverseShower(), evgen::MUSUN::SampleOne(), tca::SaveAllCots(), evd::TWQProjectionView::SaveSelection(), evd::LandedSocket::sendEvent(), evd::LandedSocket::sendGeometry(), evd::LandedSocket::sendHit(), evd::LandedSocket::sendVertex(), tca::SetParent(), evd::TWQProjectionView::SetSeeds(), pmtana::PMTPedestalBase::Sigma(), util::DatabaseUtil::split(), tca::StartChgVec(), tca::StoreShower(), tca::TruthMatcher::StudyShowerParents(), tca::TransferTjHits(), sim::MergeSimSourcesUtility::UpdateG4TrackIDRange(), tca::UpdateShower(), nutools::dbi::Table::Write(), and nutools::dbi::Table::WriteToCSV().