gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
Cascades.cpp File Reference

GAMBIT side of Cascade decay codes. More...

Include dependency graph for Cascades.cpp:

Go to the source code of this file.


 TODO: see if we can use this one:


enum  Gambit::DarkBit::cascadeMC_SpecialEvents { Gambit::DarkBit::MC_INIT =-1, Gambit::DarkBit::MC_NEXT_STATE =-2, Gambit::DarkBit::MC_FINALIZE =-3 }
 Special events for event loop. More...


void Gambit::DarkBit::cascadeMC_FinalStates (std::vector< std::string > &list)
 Function for retrieving list of final states for cascade decays. More...
void Gambit::DarkBit::cascadeMC_DecayTable (DarkBit::DecayChain::DecayTable &table)
 Function setting up the decay table used in decay chains. More...
void Gambit::DarkBit::cascadeMC_LoopManager ()
 Loop manager for cascade decays. More...
void Gambit::DarkBit::cascadeMC_InitialState (std::string &pID)
 Function selecting initial state for decay chain. More...
void Gambit::DarkBit::cascadeMC_EventCount (std::map< std::string, int > &counts)
 Event counter for cascade decays. More...
void Gambit::DarkBit::cascadeMC_GenerateChain (DarkBit::DecayChain::ChainContainer &chain)
 Function for generating decay chains. More...
void Gambit::DarkBit::cascadeMC_sampleSimYield (const SimYieldTable &table, const DarkBit::DecayChain::ChainParticle *endpoint, std::string finalState, const TH_ProcessCatalog &catalog, std::map< std::string, std::map< std::string, SimpleHist > > &histList, std::string initialState, double weight, int cMC_numSpecSamples)
 Function for sampling SimYieldTables (tabulated spectra). More...
void Gambit::DarkBit::cascadeMC_Histograms (std::map< std::string, std::map< std::string, SimpleHist > > &result)
 Function responsible for histogramming, and evaluating end conditions for event loop. More...
void Gambit::DarkBit::cascadeMC_fetchSpectra (std::map< std::string, daFunk::Funk > &spectra, std::string finalState, const std::vector< std::string > &ini, const std::vector< std::string > &fin, const std::map< std::string, std::map< std::string, SimpleHist > > &h, const std::map< std::string, int > &eventCounts)
 Convenience function for getting a daFunk::Funk object of a given spectrum. More...
void Gambit::DarkBit::cascadeMC_gammaSpectra (std::map< std::string, daFunk::Funk > &spectra)
 Function requesting and returning gamma ray spectra from cascade decays. More...

Detailed Description

GAMBIT side of Cascade decay codes.

Authors (add name and date if you modify):

Christoph Weniger (
2013 Jul - 2015 May
Lars A. Dal (
2014 Mar, Jul, Sep, Oct

Definition in file Cascades.cpp.