Classes | |
| class | Chi2Sensitivity |
| class | Covariance |
| class | NueSelection |
| Electron neutrino event selection. More... | |
| class | NumuSelection |
| Electron neutrino event selection. More... | |
| struct | VisibleEnergyCalculator |
| class | AuxDetSimChannelPrinter |
| Electron neutrino event selection. More... | |
| class | CaloPrinter |
| Electron neutrino event selection. More... | |
| class | CosmicArrivalTimes |
| Electron neutrino event selection. More... | |
| class | CRTHitTiming |
| Electron neutrino event selection. More... | |
| class | CRTSimHitViewer |
| Electron neutrino event selection. More... | |
| class | GetFV |
| Electron neutrino event selection. More... | |
| class | MCParticleTreePrinter |
| Electron neutrino event selection. More... | |
| class | OpDetBackTrackerPrinter |
| Electron neutrino event selection. More... | |
| class | OpDetWaveformMaker |
| Electron neutrino event selection. More... | |
| class | OpSimHitPrinter |
| Electron neutrino event selection. More... | |
| class | PandoraIDPrinter |
| Electron neutrino event selection. More... | |
| class | PandoraMetadataPrinter |
| Electron neutrino event selection. More... | |
| class | SimPhotonPrinter |
| Electron neutrino event selection. More... | |
| struct | CosmicHistos |
| struct | CRTHistos |
| class | HistoList |
| struct | InteractionHistos |
| struct | TrackProfiles |
| struct | TrackHistos |
| class | Cuts |
| class | Flatten |
| struct | Histograms |
| class | Normalize |
| struct | ROC |
| class | Selection |
| class | NumuReco |
| Electron neutrino event selection. More... | |
Functions | |
| double | osc_factor_L_integrated (double energy, double l_min, double l_max, double dm2) |
| double | numu_to_numu (double x, double sin, double dm2) |
| double | numu_to_nue (double x, double sin, double dm2) |
| double | NumuOscillate (ROOT::Math::IntegratorOneDim &integrator, double l_min, double l_max, double e_min, double e_max, double dm2, double sinth) |
| std::vector< float > | GetUniWeights (const std::map< std::string, std::vector< float > > &weights, const std::vector< std::string > &keys, int n_unis, int uni_offset) |
| double | aaBoxesMin (const std::vector< geoalgo::AABox > &boxes, unsigned dim) |
| double | aaBoxesMax (const std::vector< geoalgo::AABox > &boxes, unsigned dim) |
| geoalgo::AABox | shaveVolume (const geoalgo::AABox &select_volume, double delta) |
| void | hello () |
| event::Interaction | TruthReco (const simb::MCTruth &mctruth) |
| double | ECCQE (const TVector3 &l_momentum, double l_energy, double energy_distortion, double angle_distortion) |
| double | NuMuOscillation (double numu_energy, double numu_dist, double osc_dm2, double osc_angle) |
| double | containedLength (const TVector3 &v0, const TVector3 &v1, const std::vector< geoalgo::AABox > &boxes) |
| double | visibleEnergyProposalMCParticles (TRandom &rand, const simb::MCTruth &mctruth, const std::vector< sim::MCTrack > mctrack_list, const VisibleEnergyCalculator &calculator) |
| double | visibleEnergyProposal (TRandom &rand, const simb::MCTruth &mctruth, const std::vector< sim::MCTrack > &mctrack_list, const VisibleEnergyCalculator &calculator) |
| double | visibleEnergy (TRandom &rand, const simb::MCTruth &mctruth, const std::vector< sim::MCTrack > &mctrack_list, const std::vector< sim::MCShower > &mcshower_list, const VisibleEnergyCalculator &calculator, bool include_showers) |
| double | smearLeptonEnergy (TRandom &rand, const sim::MCTrack &mct, const VisibleEnergyCalculator &calculator) |
| static const TDatabasePDG * | PDGTable (new TDatabasePDG) |
| double | PDGMass (int pdg) |
| double | PDGCharge (int pdg) |
| bool | isFromNuVertex (const simb::MCTruth &mc, const simb::MCParticle &mcp, float distance) |
| bool | isFromNuVertex (const simb::MCTruth &mc, const sim::MCShower &show, float distance) |
| bool | isFromNuVertex (const simb::MCTruth &mc, const sim::MCTrack &track, float distance) |
| double | closestDistance (const TVector3 &line0, const TVector3 &line1, const TVector3 &p) |
| double | closestDistanceDim (const TVector3 &line0, const TVector3 &line1, const TVector3 &p, int dim) |
| template<typename T , std::size_t N1, std::size_t N2> | |
| constexpr std::array< T, N1+N2 > | concat (std::array< T, N1 > lhs, std::array< T, N2 > rhs) |
| void | SetEvent (numu::RecoEvent &event, const event::Event &core, const ana::SBNOsc::Cuts &cuts, numu::MCType file_type, bool use_calorimetry=true) |
| void | DumpTrueStart (const gallery::Event &ev, int mcparticle_id) |
| numu::Wall | GetWallCross (const geo::BoxBoundedGeo &volume, const TVector3 p0, const TVector3 p1) |
| sbn::crt::CRTHit | ICARUS2SBNDCrtHit (const sbn::crt::CRTHit &inp) |
| double | RecoTrackLength (const art::Ptr< recob::Track > &track) |
Variables | |
| static const TVector3 | InvalidTVector3 = TVector3(-999, -999, -999) |
| double ana::SBNOsc::aaBoxesMax | ( | const std::vector< geoalgo::AABox > & | boxes, |
| unsigned | dim | ||
| ) |
Definition at line 65 of file NumuSelection.cxx.
| double ana::SBNOsc::aaBoxesMin | ( | const std::vector< geoalgo::AABox > & | boxes, |
| unsigned | dim | ||
| ) |
Definition at line 61 of file NumuSelection.cxx.
| double ana::SBNOsc::closestDistance | ( | const TVector3 & | line0, |
| const TVector3 & | line1, | ||
| const TVector3 & | p | ||
| ) |
Definition at line 490 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::closestDistanceDim | ( | const TVector3 & | line0, |
| const TVector3 & | line1, | ||
| const TVector3 & | p, | ||
| int | dim | ||
| ) |
Definition at line 504 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| constexpr std::array<T, N1+N2> ana::SBNOsc::concat | ( | std::array< T, N1 > | lhs, |
| std::array< T, N2 > | rhs | ||
| ) |
Definition at line 28 of file Histograms.h.
| double ana::SBNOsc::containedLength | ( | const TVector3 & | v0, |
| const TVector3 & | v1, | ||
| const std::vector< geoalgo::AABox > & | boxes | ||
| ) |
Finds length of line segment contained inside AABox. Make sure that AABox and TVector's use the same units.
| v0 | the first point of the line segment |
| v1 | the second point of the line segment |
| boxes | a list of fiducial volumes instantiated as AABoxes |
Definition at line 92 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| void ana::SBNOsc::DumpTrueStart | ( | const gallery::Event & | ev, |
| int | mcparticle_id | ||
| ) |
Definition at line 67 of file NumuReco.cxx.
| double ana::SBNOsc::ECCQE | ( | const TVector3 & | l_momentum, |
| double | l_energy, | ||
| double | energy_distortion = 0., |
||
| double | angle_distortion = 0. |
||
| ) |
Calculate CCQE energy from associated lepton information (and optional distortion). Energy in GeV.
| l_momentum | Lepton momentum (in any units – used only to get angle info) |
| l_energy | Lepton energy in GeV |
| energy_distortion | Optional energy distortion in GeV |
| angle_distortion | Optiona langle distortion |
Definition at line 59 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| std::vector<float> ana::SBNOsc::GetUniWeights | ( | const std::map< std::string, std::vector< float > > & | weights, |
| const std::vector< std::string > & | keys, | ||
| int | n_unis, | ||
| int | uni_offset | ||
| ) |
Definition at line 61 of file Covariance.cxx.
| numu::Wall ana::SBNOsc::GetWallCross | ( | const geo::BoxBoundedGeo & | volume, |
| const TVector3 | p0, | ||
| const TVector3 | p1 | ||
| ) |
Definition at line 79 of file NumuReco.cxx.
| void ana::SBNOsc::hello | ( | ) |
A function that says hello.
Definition at line 21 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| sbn::crt::CRTHit ana::SBNOsc::ICARUS2SBNDCrtHit | ( | const sbn::crt::CRTHit & | inp | ) |
Definition at line 138 of file NumuReco.cxx.
| bool ana::SBNOsc::isFromNuVertex | ( | const simb::MCTruth & | mc, |
| const simb::MCParticle & | mcp, | ||
| float | distance | ||
| ) |
Definition at line 468 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| bool ana::SBNOsc::isFromNuVertex | ( | const simb::MCTruth & | mc, |
| const sim::MCShower & | show, | ||
| float | distance = 5.0 |
||
| ) |
Returns whether track/shower object is from the neutrino vertex
| mc | MCTruth corresponding to neutrino interaction |
| show | The object to be matched |
| distance | between shower start and interaction vertex |
Definition at line 474 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| bool ana::SBNOsc::isFromNuVertex | ( | const simb::MCTruth & | mc, |
| const sim::MCTrack & | track, | ||
| float | distance = 5.0 |
||
| ) |
Returns whether track/shower object is from the neutrino vertex
| mc | MCTruth corresponding to neutrino interaction |
| track | The object to be matched |
| distance | between track start and interaction vertex |
Definition at line 482 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::numu_to_nue | ( | double | x, |
| double | sin, | ||
| double | dm2 | ||
| ) |
Definition at line 42 of file Chi2Sensitivity.cxx.
| double ana::SBNOsc::numu_to_numu | ( | double | x, |
| double | sin, | ||
| double | dm2 | ||
| ) |
Definition at line 36 of file Chi2Sensitivity.cxx.
| double ana::SBNOsc::NumuOscillate | ( | ROOT::Math::IntegratorOneDim & | integrator, |
| double | l_min, | ||
| double | l_max, | ||
| double | e_min, | ||
| double | e_max, | ||
| double | dm2, | ||
| double | sinth | ||
| ) |
Definition at line 48 of file Chi2Sensitivity.cxx.
| double ana::SBNOsc::NuMuOscillation | ( | double | numu_energy, |
| double | numu_dis, | ||
| double | osc_dm2, | ||
| double | osc_angle | ||
| ) |
Get oscillation probability of muon neutrino in a 3+1 model. I.e. probability that the numu will stay a numu.
| numu_energy | Energy of incident muon neutrino in GeV |
| numu_dist | Distance travelled by muon neutrino in km |
| osc_dm2 | dm^2 of sterile netrino in eV^2 |
| osc_angle | Sterile neutrino mixing angle |
Definition at line 84 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::osc_factor_L_integrated | ( | double | energy, |
| double | l_min, | ||
| double | l_max, | ||
| double | dm2 | ||
| ) |
Definition at line 30 of file Chi2Sensitivity.cxx.
| double ana::SBNOsc::PDGCharge | ( | int | pdg | ) |
Get charge from PDGID of particle in |e|/3.
| pdg | The Particle Data Group ID of the particle (as returned by i.e. an MCTruth object) |
Definition at line 455 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::PDGMass | ( | int | pdg | ) |
Get mass from PDGID of particle in MeV/c^2.
| pdg | The Particle Data Group ID of the particle (as returned by i.e. an MCTruth object) |
Definition at line 438 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
|
static |
| double ana::SBNOsc::RecoTrackLength | ( | const art::Ptr< recob::Track > & | track | ) |
Definition at line 537 of file NumuReco.cxx.
| void ana::SBNOsc::SetEvent | ( | numu::RecoEvent & | event, |
| const event::Event & | core, | ||
| const ana::SBNOsc::Cuts & | cuts, | ||
| numu::MCType | file_type, | ||
| bool | use_calorimetry = true |
||
| ) |
Definition at line 5 of file SetEvent.cc.
| geoalgo::AABox ana::SBNOsc::shaveVolume | ( | const geoalgo::AABox & | select_volume, |
| double | delta | ||
| ) |
Definition at line 69 of file NumuSelection.cxx.
| double ana::SBNOsc::smearLeptonEnergy | ( | TRandom & | rand, |
| const sim::MCTrack & | mct, | ||
| const VisibleEnergyCalculator & | calculator = VisibleEnergyCalculator() |
||
| ) |
Get the smeared energy from a lepton.
| mctrack | The MCTrack object corresponding to the lepton |
| calculator | Struct containing values to be used in energy calculation |
Definition at line 407 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| event::Interaction ana::SBNOsc::TruthReco | ( | const simb::MCTruth & | mctruth | ) |
Extract truth information to approximate reconstruction.
Definition at line 26 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::visibleEnergy | ( | TRandom & | rand, |
| const simb::MCTruth & | mctruth, | ||
| const std::vector< sim::MCTrack > & | mctrack_list, | ||
| const std::vector< sim::MCShower > & | mcshower_list, | ||
| const VisibleEnergyCalculator & | calculator = VisibleEnergyCalculator(), |
||
| bool | include_showers = true |
||
| ) |
Get the "visible" energy from a neutrino interaction. Is equal to sum of non-neutral hadronic kinetic energies and lepton total energies.
| ev | The gallery event. |
| mctruth | The MCTruth object corresponding to the interaction. |
| mctrack_list | Vector of MCTrack objects in the gallery event. |
| mcshower_list | Vector of MCShower objects in the gallery event. |
| calculator | Struct containing values to be used in energy calculation |
| smeared_lepton_energy | lepton energy to be used in calculation – will default to smearLeptonEnergy(mctruth, calculator) if not set |
Definition at line 330 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::visibleEnergyProposal | ( | TRandom & | rand, |
| const simb::MCTruth & | mctruth, | ||
| const std::vector< sim::MCTrack > & | mctrack_list, | ||
| const VisibleEnergyCalculator & | calculator | ||
| ) |
Definition at line 262 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
| double ana::SBNOsc::visibleEnergyProposalMCParticles | ( | TRandom & | rand, |
| const simb::MCTruth & | mctruth, | ||
| const std::vector< sim::MCTrack > | mctrack_list, | ||
| const VisibleEnergyCalculator & | calculator | ||
| ) |
Definition at line 196 of file sbnana/sbnanalysis/ana/SBNOsc/Utilities.cxx.
|
static |
Definition at line 65 of file NumuReco.cxx.
1.8.5