#include <gtk/gtk.h>
#include <vector>
#include <algorithm>
#include <stdint.h>
#include "event.h"
#include "drawing.h"
#include "geo.h"
#include "status.h"
Go to the source code of this file.
Functions | |
static bool | by_charge (const hit &a, const hit &b) |
__attribute__ ((unused)) static bool by_time(const hit &a | |
static void | colorhit (const int32_t adc, float &red, float &green, float &blue, const bool active) |
void | draw_hit (cairo_t *cr, const hit &thishit, GtkWidget **edarea) |
void | draw_hits (cairo_t **cr, const DRAWPARS *const drawpars, GtkWidget **edarea) |
Variables | |
std::vector< noeevent > | theevents |
int | gevi |
int | pixx |
int | pixy |
int | active_plane |
int | active_cell |
const hit & | b |
__attribute__ | ( | (unused) | ) | const |
Referenced by by_charge().
|
static |
Definition at line 28 of file hits.cxx.
References rootlogon::blue, rootlogon::green, art::left(), and red().
Referenced by draw_hit().
Definition at line 58 of file hits.cxx.
References active_cell, active_plane, hit::adc, rootlogon::blue, hit::cell, colorhit(), det_to_screen_x(), det_to_screen_y(), rootlogon::green, kX, kY, pixx, pixy, hit::plane, red(), and scintpix_from_pixx().
Referenced by change_highlighted_cell(), and draw_hits().
Definition at line 116 of file hits.cxx.
References by_charge(), draw_hit(), DRAWPARS::firsttick, gevi, hits(), MECModelEnuComparisons::i, kX, kXorY, kY, DRAWPARS::lasttick, hit::plane, set_eventn_status_progress(), hit::tdc, and theevents.
Referenced by draw_event().
int active_cell |
Definition at line 78 of file main.cxx.
Referenced by draw_hit().
int active_plane |
Definition at line 78 of file main.cxx.
Referenced by draw_hit().
const hit& b |
Definition at line 21 of file hits.cxx.
Referenced by AddBin(), evdb::View2D::AddBox(), daqdataformats::VERSION_NAMESPACE::RawDataBlock::addMicroBlock4(), ana::KrigeKernel::AddPoint(), tbana::DetectorRateShutOff::analyze(), air::AirKalmanAna::analyze(), novaddt::HotMapMaker::AppendCold(), novaddt::HotMapMaker::AppendHot(), novaddt::HotMapMaker::AppendRate(), genie::KNOHadronization::AverageChMult(), art::RangeSet::back(), stan::math::beta_rng(), bin_composition_pie_chart(), genie::utils::nuclear::BindEnergy(), by_charge(), vdt::Segment::CalcChi2Line0(), Calculate2DChi2(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), beamlinereco::WCTrackAlg::calculateTheMomentum(), stan::math::categorical_logit_rng(), stan::math::categorical_rng(), earms::GridSearch::ChooseBestProngDir(), geo::ClosestApproach(), genie::utils::kinematics::CohQ2Lim(), ana::CombineExposures(), boost::python::map_indexing_suite< Container, NoProxy, final_map_derived_policies< Container, NoProxy > >::compare_index(), boost::python::vector_indexing_suite< Container, NoProxy, final_vector_derived_policies< Container, NoProxy > >::compare_index(), compareEvents(), genie::RSHelicityAmplModelCC::Compute(), genie::RSHelicityAmplModelNCn::Compute(), genie::RSHelicityAmplModelNCp::Compute(), stan::math::LDLT_factor< var, R, C >::compute(), genie::alvarezruso::AREikonalSolution::Con(), CLHEP::MixMaxRng::convert1double(), genie::geometry::PlaneParam::ConvertMaster2Top(), ana::CountingExperimentPValue(), ana::CountingExperimentPValueByLL(), genie::utils::nuclear::DensityGaus(), genie::mueloss::gsl::KokoulinPetrukhinIntegrand::DoEval(), genie::mueloss::gsl::PetrukhinShestakovIntegrand::DoEval(), genie::utils::gsl::dXSec_Log_Wrapper::DoEval(), evd::TQPad::Draw(), draw_event(), evd::GeometryDrawer::DrawCells2D(), evd::GeometryDrawer::DrawDCMBoxes(), evd::GeometryDrawer::DrawHighlightCell(), evd::RecoBaseDrawer::DrawHoughResults2D(), ana::CovMxSurface::DrawSurfacePoint(), DrawSurfacePoint(), stan::mcmc::softabs_metric< Model, BaseRNG >::dtau_dq(), calib::SystematicUncertaintyScaleAna::endJob(), dt::Cand::EstimateStraightLine(), osc::_PMNS< T >::EvalEqn11(), osc::_PMNS< T >::EvalEqn2(), fiducial_mass(), flat::FileListBranchPolicy::FileListBranchPolicy(), cmf::ChiSqrCalculator::FillChiSqrHistograms(), cmf::ChiSqrCalculator::FillCovarianceMatrix(), art::RootInputTree::fillGroups(), cmf::CovarianceBinUtility::FillOffsetAndBinMaps(), cmf::CovarianceMatrixMaker::FillSpectrum(), cmf::SpectrumPredictionMaker::FindOscillationPoints(), fit_thresh_corrs(), fit_thresh_corrs_fb(), trk::WindowTrackingAlg::FitWindow(), stan::math::fmax(), genie::utils::nuclear::FmI2(), stan::math::fmin(), sn::SNBackgroundRejection::FOM(), FOMCalc(), g4lbneCrossChecks(), g4minervaCrossChecks(), GammaFit(), genie::BBA03ELFormFactorsModel::Gen(), numusand::NumuSandFxs::getAveTrackdEdxLast4Cells(), numusand::NumuSandFxs::getAveTrackdEdxLast6Cells(), numusand::NumuSandFxs::getAveTrackdEdxLast8Cells(), trackinfo::TrackInfoFxs::getAveTrackdEdxLastCells(), DrawUtils::GetBestYRange(), ana::covmx::CovarianceMatrix::GetBinning(), ana::LabelsAndBins::GetBins1D(), ana::covmx::CovarianceMatrix::GetFullBinning(), genie::alvarezruso::AlvarezRusoCOHPiPDXSec::GetLeptonMass(), evg::MCTruthToDk2NuHackItr::GetMCTruthPtr(), novaddt::MichelETrigger::GetSmartPrescale(), LSTME::Png3dVars::getSortedIndices(), SliceLID::Png3dVars::getSortedIndices(), Grid(), gsDefaultInterp(), gt(), cheat::BackTracker::HitCollectionEfficiency(), stan::math::hypergeometric_log(), stan::math::hypergeometric_lpmf(), stan::math::inc_beta_dda(), stan::math::inc_beta_ddb(), genie::utils::kinematics::InelYLim_X(), genie::utils::kinematics::electromagnetic::InelYLim_X(), cet::map_vector< Value >::insert(), rb::Track::InterpolateDir(), rb::Track::InterpolateXY(), stan::math::inv_Phi(), stan::math::LDLT_factor< T, R, C >::inverse(), util::ipow(), isCloseEnough(), genie::geometry::PlaneParam::IsValid(), hdf5::Join(), hough::IslandsTH2::LabelIslands(), art::left(), lin_solve(), novaddt::TrackFit::LinFit(), novaddt::NNFastMMTrigger::LinFit(), zcl::FmmTrackerValidation::LinFit(), novaddt::UpMuTrigger::LinFit(), zcl::FastMMStudy::LinFit(), novaddt::UpMuAna::LinFit(), upmuana::UpMuAnalysis::LinFit(), upmuana::UpMuRecoAna::LinFit(), geo::LinFit(), novaddt::UpMuTrigger::LinFitLLR(), novaddt::UpMuAna::LinFitLLR(), upmuana::LlrUpmu::LLR(), upmuana::UpMuAnalysis::LLR(), upmuana::UpMuRecoAna::LLR(), genie::NievesQELCCPXSec::LmunuAnumu(), dbutils::RunHistory::Load(), nerd::NERDEval::load_anchors(), nova::dbi::RunHistory::LoadDAQRunHistory(), g4n::LoadNeutronFates(), lsqr_fprime(), lt(), geo::ltKey(), cmf::CovarianceFitHelper::Make1DSpectra(), make_extrap_figure(), make_pi0_xcheck(), nerd::NERDProng::MakeCluster(), MakeCovMx(), cmf::PlotUtilities::MakeEnergySpectraFromBins(), cmf::SpectrumPredictionMaker::MakeHiddenParameterHistograms(), evdb::ColorScale::MakeHSVScale(), novaddt::HotMapMaker::MakeMask(), evtsum::EventSummary::MakeOutput(), cmf::PlotUtilities::MakeSpectrumHistogram(), MakeTestStandPlots_AllRuns(), MakeTestStandPlots_NewRuns(), cmf::RandomUniverseUtility::MakeUniverseHistograms(), stan::math::matrix_exp_2x2(), Eigen::matrix_exp_pade13(), Eigen::matrix_exp_pade3(), Eigen::matrix_exp_pade5(), Eigen::matrix_exp_pade7(), Eigen::matrix_exp_pade9(), std::max(), MAX(), stan::math::mdivide_left(), stan::math::mdivide_left_ldlt(), stan::math::mdivide_left_spd(), stan::math::mdivide_left_tri(), stan::math::mdivide_left_tri_low(), stan::math::mdivide_right(), stan::math::mdivide_right_tri_low(), nl::TimeSeriesData::MeanValue(), mec_tuning(), mec_tuning_fitter_2020(), dt::DiscreteTracker::MergeParasiteTracks(), min(), std::min(), evd::RawDrawingOptions::ModuleList(), evd::RecoDrawingOptions::ModuleList(), hough::MultiHough2P::MultiMap(), genie::geometry::PlaneParam::Normalize(), cmf::PlotUtilities::NormalizeBinContents(), nus17_fiducial_mass(), art::operator!=(), stan::math::operator!=(), cet::operator!=(), CLHEP::operator!=(), art::operator&&(), ana::_Cut< T >::operator&&(), order_cuts::operator()(), order_chns::operator()(), ana::_Var< T >::operator*(), stan::math::operator*(), ana::_Var< T >::operator+(), stan::math::operator+(), cmf::OscParamPoint::operator+=(), ana::_Var< T >::operator-(), stan::math::var::operator->(), ana::_Var< T >::operator/(), art::operator<(), stan::math::operator<(), lem::LiteHit::operator<(), nova::database::Column::operator<(), nutools::dbi::Column::operator<(), nova::dbi::Column::operator<(), caf::operator<(), CLHEP::operator<(), art::operator<<(), CLHEP::operator<<(), nova::dbi::operator<<(), nova::database::operator<<(), genie::flux::operator<<(), stan::math::operator<=(), nova::database::Column::operator<=(), nutools::dbi::Column::operator<=(), nova::dbi::Column::operator<=(), CLHEP::operator<=(), art::BoolCache::operator=(), stan::math::operator==(), nova::database::Column::operator==(), CLHEP::operator==(), stan::math::operator>(), nova::database::Column::operator>(), nutools::dbi::Column::operator>(), nova::dbi::Column::operator>(), CLHEP::operator>(), stan::math::operator>=(), nova::database::Column::operator>=(), nutools::dbi::Column::operator>=(), nova::dbi::Column::operator>=(), CLHEP::operator>=(), ana::_Cut< T >::operator||(), art::operator||(), overlayFBplots(), overlayFBplotsH(), evdb::ParamFrame::ParamFrame(), genie::geometry::PlaneParam::PlaneParam(), plot_3NDvsFD(), plot_3NDvsFD_FHC(), plot_3NDvsFD_RHC(), plot_abstree(), plot_datamc_ND_numu(), plot_datamc_ND_numu_REW(), plot_ND_numu_NOMvsREW(), plot_NDvsFD_REW(), plot_NDvsFD_weights(), plot_NDvsFD_weights_FHC(), plot_NDvsFD_weights_RHC(), plot_pi0_xcheck(), art::DataViewImpl::PMValue::PMValue(), sim::PhotonSignal::PoissonLambda(), cmf::RandomUniverseUtility::PoissonSpectrumBinByBin(), calib::Calibrator::postBeginRun(), g4n::NeutronSubstitutionProcess::PostStepDoIt(), ana::_Cut< caf::SRProxy >::POT(), pots(), genie::P33PaschosLalakulichPXSec::PPiStar(), ana::Kriger::Predict(), caf::SRBranchRegistry::Print(), genie::geometry::PlaneParam::Print(), PrintTableFourBins(), cvntf::CVNCosmicTFFilt::produce(), cvn::CVNCosmicMapper::produce(), fhicl::ParameterSetRegistry::put(), cet::registry_via_id< K, V >::put(), genie::SmithMonizUtils::Q2lim1_SM(), genie::SmithMonizUtils::Q2lim2_SM(), evdb::ScanFrame::RadioButton(), evdb::ParameterSetEditRow::RadioButtonClicked(), art::MixOp< PROD, OPROD >::readFromFile(), ana::RefineSeeds(), HepGeom::Reflect3D::Reflect3D(), refresh(), resolutionplotterbias(), hough::MultiHough2P::ReweightHits(), RunCalibration(), stan::model::rvalue(), BrightnessModelPlots::SchedulePlots(), evdb::ColorScale::SetBounds(), genie::utils::gsl::d5XSecAR::SetFlip(), HepGeom::Transform3D::setIdentity(), nova::dbi::RunHistory::SetIsBad(), evdb::ParameterSetEditRow::SetupCheckButton(), evdb::ParameterSetEditRow::SetupRadioButtons(), calib::DriftCache::SetUseEpochs(), calib::AbsCache::SetUseEpochs(), calib::AttenCache::SetUseEpochs(), show_potential(), slid::ShowerLID::ShowerLID(), ana::SimpleFOM(), hough::Hough2P::SmoothMap(), hough::MultiHough2P::SmoothMap(), solve(), osc::analytic::SolveCubic(), ana::MCMCSamples::SortedLLs(), evd::RawDataDrawer::StickFigure(), cet::map_vector< Value >::swap(), art::ValidHandle< T >::swap(), systematics_summary_from_pred_interp(), ana::systsQ3Q0(), TEST(), calib::ThresholdCorrMap::ThresholdCorrAt(), art::detail::throw_if_invalid(), time_wide_plot(), caf::SRBranchRegistry::ToFile(), ana::BayesianMarginal::ToHistogram(), train_dectree_caf(), lem::dec::Forest::TrainSingle(), rb::Track::Trajectory(), ncid::NCNNKeras::TransMomFraction(), earms::ElasticArms::UpdateVia(), uptime(), cmf::SelectionUtility::UsesDetAndBeam(), cmf::SelectionUtility::UsesDetBeamAndSel(), osc::VacuumHamiltonian(), ana::Var2D(), ana::Var3D(), VarContainer::VarContainer(), genie::geometry::PlaneParam::Vd(), genie::geometry::PlaneParam::Vn(), genie::SmithMonizUtils::vQES_SM_lim(), cmf::RandomUniverses::writeResults(), genie::ReinDFRPXSec::XSec(), genie::BergerSehgalFMCOHPiPXSec2015::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), zheevq3(), rb::Track::ZipWith(), and calib::ThresholdCorrMap::~ThresholdCorrMap().
int gevi |
Definition at line 76 of file main.cxx.
Referenced by draw_hits().
int pixx |
Definition at line 24 of file geo.cxx.
Referenced by draw_hit().
int pixy |
Definition at line 24 of file geo.cxx.
Referenced by draw_hit().
std::vector<noeevent> theevents |
Definition at line 28 of file noe_module.cc.
Referenced by draw_hits().