FairRoot/PandaRoot
|
#include <PndSimpleCombiner.h>
Public Member Functions | |
PndSimpleCombiner (PndAnalysis *fAna, TString decay, TString params="", double Ecm=0) | |
~PndSimpleCombiner () | |
void | SetVerbose (int verb=1) |
void | Combine () |
void | Print () |
void | SetPid (TString crit="", TString algo="") |
void | SetPidElectron (TString crit="", TString algo="") |
void | SetPidMuon (TString crit="", TString algo="") |
void | SetPidPion (TString crit="", TString algo="") |
void | SetPidKaon (TString crit="", TString algo="") |
void | SetPidProton (TString crit="", TString algo="") |
int | GetNLists () |
bool | GetList (RhoCandList &l, TString comp) |
bool | GetList (RhoCandList &l, int pdg) |
bool | GetListN (RhoCandList &l, int idx) |
Private Member Functions | |
void | InitDecayInfo (SCDecayInfo &info, int pdg, int idx) |
void | FillGenericLists () |
int | CombineList (RhoCandList &l, int mpdg, std::vector< int > &idx) |
int | SplitString (TString s, TString delim, StringList &toks) |
bool | ParseDecay (TString decay) |
bool | ParseParams (TString params) |
bool | CCInvariant (std::vector< int > &vpdg) |
bool | CCInvariant (int pdg) |
int | AntiPdg (int pdg) |
Private Attributes | |
PndAnalysis * | fAnalysis |
TString | fDecay |
TString | fGlobParams |
int | fNLists |
RhoCandList | fList [MAXLISTS] |
int | fVerbose |
double | fEmin |
double | fPmin |
double | fEcm |
RhoEnergyParticleSelector * | fESel |
RhoMomentumParticleSelector * | fPSel |
std::map< int, int > | fPdgIdxMap |
std::map< int, int > | fIdxPdgMap |
std::map< int, TString > | fIdxListNameMap |
std::map< int, TString > | fIdxPidCritMap |
std::map< int, TString > | fIdxPidAlgoMap |
std::vector< SCDecayInfo > | fDecayInfoArray |
Definition at line 59 of file PndSimpleCombiner.h.
PndSimpleCombiner::PndSimpleCombiner | ( | PndAnalysis * | fAna, |
TString | decay, | ||
TString | params = "" , |
||
double | Ecm = 0 |
||
) |
Definition at line 55 of file PndSimpleCombiner.cxx.
References fEcm, fIdxListNameMap, fIdxPdgMap, fPdgIdxMap, i, ParseDecay(), ParseParams(), SetPid(), and TString.
PndSimpleCombiner::~PndSimpleCombiner | ( | ) |
Definition at line 84 of file PndSimpleCombiner.cxx.
References fDecayInfoArray, fESel, fPSel, and i.
|
private |
Definition at line 475 of file PndSimpleCombiner.cxx.
Referenced by CCInvariant(), Combine(), FillGenericLists(), and ParseDecay().
|
private |
Definition at line 457 of file PndSimpleCombiner.cxx.
References i.
Referenced by ParseDecay().
|
inlineprivate |
void PndSimpleCombiner::Combine | ( | ) |
Definition at line 524 of file PndSimpleCombiner.cxx.
References AntiPdg(), RhoCandList::Append(), CombineList(), SCDecayInfo::daucc, SCDecayInfo::didx, SCDecayInfo::dpdg, fDecayInfoArray, FillGenericLists(), fList, fPdgIdxMap, i, SCDecayInfo::midx, SCDecayInfo::mpdg, SCDecayInfo::msel, n, and RhoCandList::Select().
Referenced by PndSimpleCombinerTask::Exec().
|
private |
Definition at line 559 of file PndSimpleCombiner.cxx.
References RhoCandList::Cleanup(), RhoCandList::Combine(), fList, and RhoCandList::GetLength().
Referenced by Combine().
|
private |
Definition at line 409 of file PndSimpleCombiner.cxx.
References AntiPdg(), SCDecayInfo::didx, SCDecayInfo::dpdg, fAnalysis, fDecayInfoArray, fESel, fIdxListNameMap, fIdxPdgMap, fIdxPidAlgoMap, fIdxPidCritMap, PndAnalysis::FillList(), fList, fPdgIdxMap, fPSel, fVerbose, RhoCandList::GetLength(), i, n, SCDecayInfo::ndaug, and RhoCandList::Select().
Referenced by Combine().
bool PndSimpleCombiner::GetList | ( | RhoCandList & | l, |
TString | comp | ||
) |
Definition at line 585 of file PndSimpleCombiner.cxx.
Referenced by PndSimpleCombinerTask::Exec().
bool PndSimpleCombiner::GetList | ( | RhoCandList & | l, |
int | pdg | ||
) |
Definition at line 594 of file PndSimpleCombiner.cxx.
References RhoCandList::Cleanup(), fList, and fPdgIdxMap.
bool PndSimpleCombiner::GetListN | ( | RhoCandList & | l, |
int | idx | ||
) |
Definition at line 606 of file PndSimpleCombiner.cxx.
References RhoCandList::Cleanup(), fList, and GetNLists().
|
inline |
|
private |
Definition at line 114 of file PndSimpleCombiner.cxx.
References SCDecayInfo::daucc, SCDecayInfo::didx, SCDecayInfo::dpdg, idx, SCDecayInfo::midx, SCDecayInfo::mpdg, SCDecayInfo::msel, SCDecayInfo::mwin, SCDecayInfo::mwinhi, and SCDecayInfo::mwinlo.
Referenced by ParseDecay().
|
private |
Definition at line 129 of file PndSimpleCombiner.cxx.
References AntiPdg(), CCInvariant(), SCDecayInfo::didx, SCDecayInfo::dpdg, fDecayInfoArray, fIdxPdgMap, fNLists, fPdgIdxMap, i, InitDecayInfo(), SCDecayInfo::midx, SCDecayInfo::mpdg, SCDecayInfo::ndaug, SplitString(), and TString.
Referenced by PndSimpleCombiner().
|
private |
Definition at line 229 of file PndSimpleCombiner.cxx.
References fDecayInfoArray, fEcm, fEmin, fESel, fIdxListNameMap, fPdgIdxMap, fPmin, fPSel, i, mean, SCDecayInfo::mpdg, SCDecayInfo::msel, SCDecayInfo::mwin, SCDecayInfo::mwinhi, SCDecayInfo::mwinlo, SetPid(), SetPidElectron(), SetPidKaon(), SetPidMuon(), SetPidPion(), SetPidProton(), SplitString(), and TString.
Referenced by PndSimpleCombiner().
void PndSimpleCombiner::Print | ( | ) |
Definition at line 488 of file PndSimpleCombiner.cxx.
References SCDecayInfo::daucc, SCDecayInfo::didx, SCDecayInfo::dpdg, fDecayInfoArray, fEcm, fEmin, fIdxListNameMap, fIdxPidAlgoMap, fIdxPidCritMap, fPmin, i, SCDecayInfo::midx, SCDecayInfo::mpdg, SCDecayInfo::mwin, SCDecayInfo::mwinhi, SCDecayInfo::mwinlo, n, and printf().
Referenced by PndSimpleCombinerTask::Init().
Definition at line 362 of file PndSimpleCombiner.cxx.
References fIdxPidAlgoMap, fIdxPidCritMap, SetPidElectron(), SetPidKaon(), SetPidMuon(), SetPidPion(), and SetPidProton().
Referenced by ParseParams(), and PndSimpleCombiner().
Definition at line 376 of file PndSimpleCombiner.cxx.
References fIdxPidAlgoMap, and fIdxPidCritMap.
Referenced by ParseParams(), and SetPid().
Definition at line 394 of file PndSimpleCombiner.cxx.
References fIdxPidAlgoMap, and fIdxPidCritMap.
Referenced by ParseParams(), and SetPid().
Definition at line 382 of file PndSimpleCombiner.cxx.
References fIdxPidAlgoMap, and fIdxPidCritMap.
Referenced by ParseParams(), and SetPid().
Definition at line 388 of file PndSimpleCombiner.cxx.
References fIdxPidAlgoMap, and fIdxPidCritMap.
Referenced by ParseParams(), and SetPid().
Definition at line 400 of file PndSimpleCombiner.cxx.
References fIdxPidAlgoMap, and fIdxPidCritMap.
Referenced by ParseParams(), and SetPid().
|
inline |
Definition at line 69 of file PndSimpleCombiner.h.
References fVerbose.
Referenced by PndSimpleCombinerTask::Init().
|
private |
|
private |
Definition at line 95 of file PndSimpleCombiner.h.
Referenced by FillGenericLists().
|
private |
Definition at line 96 of file PndSimpleCombiner.h.
|
private |
Definition at line 115 of file PndSimpleCombiner.h.
Referenced by Combine(), FillGenericLists(), ParseDecay(), ParseParams(), Print(), and ~PndSimpleCombiner().
|
private |
Definition at line 103 of file PndSimpleCombiner.h.
Referenced by ParseParams(), PndSimpleCombiner(), and Print().
|
private |
Definition at line 101 of file PndSimpleCombiner.h.
Referenced by ParseParams(), and Print().
|
private |
Definition at line 105 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), ParseParams(), and ~PndSimpleCombiner().
|
private |
Definition at line 97 of file PndSimpleCombiner.h.
Definition at line 111 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), ParseParams(), PndSimpleCombiner(), and Print().
|
private |
Definition at line 109 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), ParseDecay(), and PndSimpleCombiner().
Definition at line 113 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), Print(), SetPid(), SetPidElectron(), SetPidKaon(), SetPidMuon(), SetPidPion(), and SetPidProton().
Definition at line 112 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), Print(), SetPid(), SetPidElectron(), SetPidKaon(), SetPidMuon(), SetPidPion(), and SetPidProton().
|
private |
Definition at line 99 of file PndSimpleCombiner.h.
Referenced by Combine(), CombineList(), FillGenericLists(), GetList(), and GetListN().
|
private |
Definition at line 98 of file PndSimpleCombiner.h.
Referenced by GetNLists(), and ParseDecay().
|
private |
Definition at line 108 of file PndSimpleCombiner.h.
Referenced by Combine(), FillGenericLists(), GetList(), ParseDecay(), ParseParams(), and PndSimpleCombiner().
|
private |
Definition at line 102 of file PndSimpleCombiner.h.
Referenced by ParseParams(), and Print().
|
private |
Definition at line 106 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), ParseParams(), and ~PndSimpleCombiner().
|
private |
Definition at line 100 of file PndSimpleCombiner.h.
Referenced by FillGenericLists(), and SetVerbose().