|
ant
A2 ant: class-based analysis framework
|
Namespaces | |
| UncertaintyModels | |
Classes | |
| class | A2SimpleGeometry |
| class | BasicParticleID |
| class | CBTAPSBasicParticleID |
| class | ClusterECorr_simple |
| Corrections to calocluster energies, allows access to True - Rec vs Rec values from an existing TH1 histogram. More... | |
| struct | ClusterTools |
| class | Fitter |
| class | KinFitter |
| struct | matchpair |
| class | MCFakeReconstructed |
| class | MCSmear |
| class | MCWeighting |
| struct | MCWeighting_test |
| class | NchooseK |
| KofNvector class: Generate all combinations when drawing k elements out of a vector. More... | |
| class | NoProtonFitter |
| class | ParticleID |
| struct | ParticleTools |
| struct | ParticleTypeList |
| struct | ParticleVars |
| class | ProtonPermutation |
| struct | ProtonPhotonCombs |
| The ProtonPhotonCombs struct provides convenient management of the proton/photons fitter loop. More... | |
| class | PullsWriter |
| struct | root |
| The root struct. More... | |
| struct | scored_match |
| class | scratch_collicott_CrossSection |
| The CrossSection class This class stores a yield tree... stored as (particle, tagger channel) pair Yield tree has: is MC = marker for MC data = data string, could be decay from MC, or setup, user specified sp_X = kinematics for scattered particle tc_X = parameters for tagger channel missing_mass = missing mass (ignoring recoil) More... | |
| class | scratch_collicott_DetEff |
| The DetEff class. More... | |
| class | SigmaFitter |
| class | SimpleParticleID |
| struct | TaggerBins |
| struct | TimeSmearingHack |
| class | TreeFitter |
| class | TriggerSimulation |
| struct | Uncertainties_t |
| Uncertainties for E, theta, and phi and some CB/TAPS specific values. More... | |
| class | UncertaintyModel |
| Virtual base class for different Uncertainty Models for fitter. Implement at least the GetSigmas() method. More... | |
| struct | ValError |
Typedefs | |
| using | UncertaintyModelPtr = std::shared_ptr< const UncertaintyModel > |
Functions | |
| template<typename T > | |
| NchooseK< T > | makeCombination (const std::vector< T > &data, const unsigned int k) |
| template<class MatchFunction , typename List1 , typename List2 > | |
| std::list< scored_match< typename List1::value_type, typename List2::value_type > > | match1to1 (const List1 &list1, const List2 &list2, MatchFunction f, const ant::IntervalD &score_window=ant::IntervalD(-std::numeric_limits< double >::infinity(), std::numeric_limits< double >::infinity())) |
| Particle Matcher. More... | |
| template<typename T1 , typename T2 > | |
| T2 | FindMatched (const std::list< utils::scored_match< T1, T2 >> &l, const T1 &f) |
| template<typename T1 , typename T2 > | |
| std::vector< T2 > | FindUnmatched (const std::list< utils::scored_match< T1, T2 >> &l, const std::vector< T2 > &f) |
| template<class MatchFunction , typename List1 , typename List2 > | |
| std::vector< matchpair > | match2 (const List1 &list1, const List2 &list2, MatchFunction f) |
Variables | |
| constexpr IntervalD | nocut {-std_ext::inf, std_ext::inf} |
| using ant::analysis::utils::UncertaintyModelPtr = typedef std::shared_ptr<const UncertaintyModel> |
| T2 ant::analysis::utils::FindMatched | ( | const std::list< utils::scored_match< T1, T2 >> & | l, |
| const T1 & | f | ||
| ) |
| std::vector<T2> ant::analysis::utils::FindUnmatched | ( | const std::list< utils::scored_match< T1, T2 >> & | l, |
| const std::vector< T2 > & | f | ||
| ) |
| NchooseK<T> ant::analysis::utils::makeCombination | ( | const std::vector< T > & | data, |
| const unsigned int | k | ||
| ) |
| std::list< scored_match<typename List1::value_type, typename List2::value_type> > ant::analysis::utils::match1to1 | ( | const List1 & | list1, |
| const List2 & | list2, | ||
| MatchFunction | f, | ||
| const ant::IntervalD & | score_window = ant::IntervalD(-std::numeric_limits<double>::infinity(),std::numeric_limits<double>::infinity()) |
||
| ) |
Particle Matcher.
| list1 | vector of elements 1 |
| list2 | vector of elements 2 |
| f | |
| score_window | Matches the elements in list1 and list2 by a score calculated by a MatchFunction. returns a list of best-matching pairs (minimal score), every element of list1,list2 occurs only once in the pair list |
The Matcher Function can be a lambda function
| std::vector<matchpair> ant::analysis::utils::match2 | ( | const List1 & | list1, |
| const List2 & | list2, | ||
| MatchFunction | f | ||
| ) |
| constexpr IntervalD ant::analysis::utils::nocut {-std_ext::inf, std_ext::inf} |