LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Go to the source code of this file.
Functions | |
c1 | SetGridx () |
c1 | SetGridy () |
c1 | SetLogx () |
c1 | SetLogy () |
for (int i=0;i< n;i++) | |
input_file_1 | cd () |
input_file_1 | ls () |
t1 | SetBranchAddress ("Energy",&energy) |
t1 | SetBranchAddress ("Weight",&weight) |
cout<< t1-> | GetEntries () |
h_2 | SetLineStyle (kDashed) |
h_2 | SetLineColor (kBlue) |
h_2 | Draw () |
h_1 | Draw ("same") |
c1 | Update () |
c1 | Print ("./test35.png") |
input_file_1 | Close () |
Variables | |
TFile * | input_file_2 = new TFile("test35b.root") |
TCanvas * | c1 = new TCanvas("c1", "test35", 200, 10, 700, 500) |
int | n = 41 |
float | bin [41] |
TH1 * | h_1 = new TH1D("unbiased","Source spectrum",40,bin) |
TH1 * | h_2 = new TH1D("biased","Source spectrum",40,bin) |
double | energy |
double | weight |
TTree * | t1 = (TTree *) input_file_1->Get("MyTuple") |
TTree * | t2 = (TTree *) input_file_2->Get("MyTuple") |
input_file_1 cd | ( | ) |
input_file_1 Close | ( | ) |
h_2 Draw | ( | ) |
h_1 Draw | ( | "same" | ) |
for | ( | ) |
Definition at line 16 of file plottest35.C.
cout<<t1-> GetEntries | ( | ) |
Definition at line 29 of file plottest35.C.
input_file_1 ls | ( | ) |
c1 Print | ( | "./test35.png" | ) |
t2 SetBranchAddress | ( | "Energy" | , |
& | energy | ||
) |
t2 SetBranchAddress | ( | "Weight" | , |
& | weight | ||
) |
c1 SetGridx | ( | ) |
c1 SetGridy | ( | ) |
h_2 SetLineColor | ( | kBlue | ) |
h_2 SetLineStyle | ( | kDashed | ) |
Referenced by export_G4VisAttributes().
c1 SetLogx | ( | ) |
c1 SetLogy | ( | ) |
c1 Update | ( | ) |
float bin[41] |
Definition at line 14 of file plottest35.C.
Referenced by lar::example::AnalysisExample::analyze(), caldata::CalWire::beginJob(), caldata::CalWireT962::beginJob(), pmtana::BinnedMaxOccurrence(), hit::RFFHitFitter::CalculateAmplitudes(), ShowerRecoTools::ShowerBayesianTrucatingdEdx::CalculatePosterior(), ShowerRecoTools::ShowerBayesianTrucatingdEdx::CheckPoint(), cluster::ClusterCrawlerAlg::ChkSignal(), cluster::BlurredClusteringAlg::ConvertBinsToRecobHits(), pid::Chi2PIDAlg::DoParticleID(), evdb_tool::DrawWireData::Fill(), ems::EndPoint::FillBins(), ems::DirOfGamma::FillBins(), cluster::BlurredClusteringAlg::FindClusters(), reco_tool::PeakFitterGaussElimination::findPeakParameters(), cluster::BlurredClusteringAlg::GetMinSize(), cluster::ClusterMatchTQ::MatchedClusters(), fhicl::maximally_munched_dss(), hit::RawHitFinder::produce(), caldata::CalWire::produce(), caldata::CalWireT962::produce(), evgb::GENIEHelper::Sample(), cluster::BlurredClusteringAlg::SaveImage(), and shower::EMShowerAlg::ShowerHitRMSGradient_().
TCanvas* c1 = new TCanvas("c1", "test35", 200, 10, 700, 500) |
Definition at line 6 of file plottest35.C.
double energy |
Definition at line 25 of file plottest35.C.
Referenced by sim::LArVoxelData::Add(), sim::SimChannel::AddIonizationElectrons(), larg4::OpDetSensitiveDetector::AddLitePhoton(), sim::OpDetBacktrackerRecord::AddScintillationPhotons(), ShowerQuality::analyze(), NuShowerEff::analyze(), lar::example::AnalysisExample::analyze(), RunAction::BeginOfRunAction(), NestAlg::CalculateIonizationAndScintillation(), cheat::BackTracker::ChannelToTrackIDEs(), cheat::PhotonBackTracker::ChannelToTrackSDPs(), DUNE::NeutrinoShowerEff::checkCNNtrkshw(), ArCaptureGammas::continuum(), nnet::PointIdEffTest::countTruthDep(), larg4::LArVoxelReadout::DriftIonizationElectrons(), sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), sim::OpDetBacktrackerRecord::Energy(), sim::SimChannel::Energy(), evgen::NDKGen::FillHistograms(), evgen::GENIEGen::FillHistograms(), microboone::CosmicRemovalAna::FillMCInfo(), cheat::RecoCheckAna::FillResults(), tca::FindParent(), larg4::OpDetPhotonTable::GetReflectedLitePhotonsForOpChannel(), evgen::GaisserParam::GetThetaAndEnergy(), larg4::OpDetSensitiveDetector::Initialize(), NestAlg::InitMatPropValues(), cheat::PhotonBackTracker::OpDetToTrackSDPs(), larg4::ParticleListActionService::postUserTrackingAction(), larg4::ParticleListAction::PreTrackingAction(), larg4::ParticleListActionService::preUserTrackingAction(), detsim::DriftElectronstoPlane::produce(), detsim::SimDriftElectrons::produce(), evgen::TextFileGen::readNextHepEvt(), lar_content::VisualMonitoringAlgorithm::ReadSettings(), sim::MCShowerRecoAlg::Reconstruct(), evgen::RadioGen::SampleOne(), nnet::TrainingDataAlg::setEventData(), ShowerQuality::SetMaxEnergyCut(), ShowerQuality::SetMinEnergyCut(), sim::MCHit::SetParticleInfo(), shower::TCShowerTemplateMaker::showerProfileTrue(), larg4::ParticleListAction::SteppingAction(), nnet::PointIdEffTest::testCNN(), sim::SimChannel::TrackIDsAndEnergies(), larg4::ParticleListActionService::userSteppingAction(), lar_content::VertexSelectionBaseAlgorithm::VertexHitEnergy(), opdet::OpDetResponseInterface::wavelength(), and showerreco::ShowerCalo::~ShowerCalo().
TH1* h_1 = new TH1D("unbiased","Source spectrum",40,bin) |
Definition at line 20 of file plottest35.C.
TH1* h_2 = new TH1D("biased","Source spectrum",40,bin) |
Definition at line 21 of file plottest35.C.
TFile* input_file_2 = new TFile("test35b.root") |
Definition at line 4 of file plottest35.C.
int n = 41 |
Definition at line 13 of file plottest35.C.
TTree* t1 = (TTree *) input_file_1->Get("MyTuple") |
Definition at line 26 of file plottest35.C.
Referenced by geoalgo::GeoAlgo::_SqDist_(), hit::DPRawHitFinder::AddPeak(), art::detail::CanBeAggregated< std::array< T, N > >::aggregate(), trkf::SpacePointAna::analyze(), NestAlg::CalculateIonizationAndScintillation(), trkf::CCTrackMaker::ChargeNear(), trkf::SpacePointAlg::compatible(), evd::TWQProjectionView::DrawLine(), evd::TWireProjPad::DrawLinesinView(), lartriton::TritonClient::evaluate(), lar_content::CrossedTrackSplittingAlgorithm::FindBestSplitPosition(), evd::TWQMultiTPCProjectionView::FindLineLength(), evd::TWQProjectionView::FindLineLength(), hit::DPRawHitFinder::FindPeakWithMaxDeviation(), nutools::dbi::Table::GetConnection(), nutools::dbi::Table::GetDataFromWebService(), NestAlg::GetLiquidElectronDriftSpeed(), ems::EMShower3D::Link(), ems::EMShower3D::LinkCandidates(), trkf::SpacePointAlg::makeSpacePoints(), cluster::ClusterMatchTQ::MatchedClusters(), evd::SimulationDrawer::MCTruthVectors2D(), bogoblip::BlipMaker::produce(), cosmic::CosmicClusterTagger::produce(), trkf::SpacePts::produce(), trkf::Track3Dreco::produce(), vertex::VertexFinder2D::produce(), evd::GraphCluster::produce(), util::PxLine::pt1(), evgen::RadioGen::RadioGen(), evd::TWQProjectionView::SaveSelection(), evd::TWQProjectionView::SetClusters(), evd::TWQProjectionView::SetMouseZoomRegion(), evd::TWQMultiTPCProjectionView::SetMouseZoomRegion(), hit::DPRawHitFinder::SplitPeak(), pma::Node3D::StepWithGradient(), and pma::PMAlgStitching::StitchTracks().
TTree* t2 = (TTree *) input_file_2->Get("MyTuple") |
Definition at line 36 of file plottest35.C.
Referenced by geoalgo::GeoAlgo::_SqDist_(), hit::DPRawHitFinder::AddPeak(), art::detail::CanBeAggregated< std::array< T, N > >::aggregate(), trkf::SpacePointAna::analyze(), trkf::CCTrackMaker::ChargeNear(), trkf::SpacePointAlg::compatible(), lartriton::TritonClient::evaluate(), genf::SlTrackRep::extrapolateToLine(), lar_content::CrossedTrackSplittingAlgorithm::FindBestSplitPosition(), hit::DPRawHitFinder::FindPeakWithMaxDeviation(), NestAlg::GetLiquidElectronDriftSpeed(), ems::EMShower3D::Link(), ems::EMShower3D::LinkCandidates(), trkf::SpacePointAlg::makeSpacePoints(), evd::SimulationDrawer::MCTruthVectors2D(), art::pointersEqual(), trkf::SpacePts::produce(), trkf::Track3Dreco::produce(), vertex::VertexFinder2D::produce(), hit::DPRawHitFinder::SplitPeak(), pma::Node3D::StepWithGradient(), and pma::PMAlgStitching::StitchTracks().
double weight |
Definition at line 25 of file plottest35.C.
Referenced by lar::util::details::WeightTracker< Data_t >::add(), lar::util::StatCollector2D< T, W >::add(), geo::vect::MiddlePointAccumulatorDim< N >::add(), sim::SimChannel::AddIonizationElectrons(), sim::OpDetBacktrackerRecord::AddScintillationPhotons(), lar_dl_content::DlVertexingAlgorithm::DrawRing(), trkf::SpacePointAlg::fillComplexSpacePoint(), lar_content::ElectronInitialRegionRefinementAlgorithm::FillElectronHitMap(), lar_content::RPhiFeatureTool::FillKernelEstimate(), tca::FitTP3Ds(), cluster::BlurredClusteringAlg::GaussianBlur(), genie::flux::GPowerSpectrumAtmoFlux::GenerateNext(), cluster::ClusterParamsAlg::GetProfileInfo(), evwgh::PPFXMIPPPionWeightCalc::GetWeight(), evwgh::PPFXOtherWeightCalc::GetWeight(), evwgh::PPFXTargAttenWeightCalc::GetWeight(), evwgh::PPFXThinKaonWeightCalc::GetWeight(), evwgh::PPFXThinMesonWeightCalc::GetWeight(), evwgh::PPFXThinNeutronPionWeightCalc::GetWeight(), evwgh::PPFXThinNucAWeightCalc::GetWeight(), evwgh::PPFXThinPionWeightCalc::GetWeight(), evwgh::PPFXTotAbsorpWeightCalc::GetWeight(), evwgh::PPFXWeightCalc::GetWeight(), evwgh::PPFXThinNucWeightCalc::GetWeight(), evwgh::PPFXCVWeightCalc::GetWeight(), evwgh::PPFXMIPPKaonWeightCalc::GetWeight(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_content::AsymmetryFeatureBaseTool::IncrementAsymmetryParameters(), evgb::GENIEHelper::InitializeFluxDriver(), lar_content::CheatingPfoCharacterisationAlgorithm::IsClearTrack(), trkf::LinFitAlg::LinFit(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet(), lar_cluster3d::PrincipalComponentsAlg::PCAAnalysis_3D(), larg4::MuNuclearSplittingProcess::PostStepDoIt(), lar_content::LArPcaHelper::RunPca(), lar_content::LArMuonLeadingHelper::SelectCaloHits(), lar_content::LArMCParticleHelper::SelectGoodCaloHits(), lar_content::CheatingSliceSelectionTool::SelectSlices(), pma::Node3D::SetMargin(), lcvn::TDNuInfo::SetTruthInfo(), shower::EMShowerAlg::ShowerDirection_(), shower::EMShowerAlg::ShowerHitRMSGradient_(), cheat::BackTracker::SimIDEsToXYZ(), cheat::PhotonBackTracker::SimSDPsToXYZ(), sim::OpDetBacktrackerRecord::TrackIDsAndEnergies(), and sim::SimChannel::TrackIDsAndEnergies().